Blame SPECS/recode.spec

fd1b13
Summary: Conversion between character sets and surfaces
fd1b13
Name: recode
fd1b13
Version: 3.6
fd1b13
Release: 36%{?dist}
fd1b13
License: GPLv2+
fd1b13
Group: Applications/File
fd1b13
Source: http://recode.progiciels-bpi.ca/archives/recode-%{version}.tar.gz
fd1b13
Patch0: recode.patch
fd1b13
Patch1: recode-3.6-getcwd.patch
fd1b13
Patch2: recode-bool-bitfield.patch
fd1b13
Patch3: recode-flex-m4.patch
fd1b13
Patch4: recode-automake.patch
fd1b13
Url: http://recode.progiciels-bpi.ca/
fd1b13
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
fd1b13
fd1b13
Requires(post): /sbin/install-info
fd1b13
Requires(post): /sbin/ldconfig
fd1b13
Requires(preun): /sbin/install-info
fd1b13
Requires(postun): /sbin/ldconfig
fd1b13
fd1b13
BuildRequires: libtool
fd1b13
BuildRequires: texinfo
fd1b13
fd1b13
fd1b13
%description
fd1b13
The `recode' converts files between character sets and usages.
fd1b13
It recognises or produces nearly 150 different character sets
fd1b13
and is able to transliterate files between almost any pair. When exact
fd1b13
transliteration are not possible, it may get rid of the offending
fd1b13
characters or fall back on approximations.  Most RFC 1345 character sets
fd1b13
are supported.
fd1b13
fd1b13
%package devel
fd1b13
Summary: Header files for development using recode
fd1b13
Group: Development/Libraries
fd1b13
Requires: %{name} = %{version}-%{release}
fd1b13
fd1b13
%description devel
fd1b13
The `recode' library converts files between character sets and usages.
fd1b13
The library recognises or produces nearly 150 different character sets
fd1b13
and is able to transliterate files between almost any pair. When exact
fd1b13
transliteration are not possible, it may get rid of the offending
fd1b13
characters or fall back on approximations. Most RFC 1345 character sets
fd1b13
are supported.
fd1b13
fd1b13
%prep
fd1b13
%setup -q
fd1b13
%patch0 -p1
fd1b13
%patch1 -p1 -b .getcwd
fd1b13
%patch2 -p0
fd1b13
%patch3 -p1
fd1b13
%patch4 -p1
fd1b13
rm m4/libtool.m4
fd1b13
rm acinclude.m4
fd1b13
fd1b13
%build
fd1b13
autoreconf -fiv
fd1b13
%configure --disable-static
fd1b13
make %{?_smp_mflags}
fd1b13
fd1b13
%check
fd1b13
make check
fd1b13
fd1b13
%install
fd1b13
rm -rf $RPM_BUILD_ROOT
fd1b13
fd1b13
%makeinstall
fd1b13
%find_lang %{name}
fd1b13
fd1b13
# remove unpackaged file from the buildroot
fd1b13
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
fd1b13
fd1b13
# remove libtool archives
fd1b13
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
fd1b13
fd1b13
fd1b13
%post
fd1b13
/sbin/ldconfig
fd1b13
/sbin/install-info %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode).                        Conversion between character sets and surfaces." || :
fd1b13
fd1b13
%preun
fd1b13
if [ $1 = 0 ]; then
fd1b13
  /sbin/install-info --delete %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode).                        Conversion between character sets and surfaces." || :
fd1b13
fi
fd1b13
fd1b13
%postun -p /sbin/ldconfig
fd1b13
fd1b13
%clean
fd1b13
rm -rf $RPM_BUILD_ROOT
fd1b13
fd1b13
%files -f %{name}.lang
fd1b13
%defattr(-,root,root)
fd1b13
%doc AUTHORS COPYING* ChangeLog NEWS README THANKS TODO
fd1b13
%{_mandir}/*/*
fd1b13
%{_infodir}/recode.info*
fd1b13
%{_bindir}/*
fd1b13
%{_libdir}/*.so.0*
fd1b13
fd1b13
%files devel
fd1b13
%defattr(-,root,root)
fd1b13
%{_libdir}/*.so
fd1b13
%{_includedir}/*
fd1b13
fd1b13
%changelog
fd1b13
* Mon Feb 25 2013 Zoltan Kota <zoltank[AT]gmail.com> 3.6-36
fd1b13
- Fix failed Fedora_19_Mass_Rebuild [bug #914431].
fd1b13
fd1b13
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-35
fd1b13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fd1b13
fd1b13
* Mon Jul 23 2012 Zoltan Kota <zoltank[AT]gmail.com> 3.6-34
fd1b13
- Add patch for fixing build with new automake.
fd1b13
  (Fixes failed Fedora_18_Mass_Rebuild.)
fd1b13
fd1b13
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-33
fd1b13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
fd1b13
fd1b13
* Mon May 21 2012 Zoltan Kota <zoltank[AT]gmail.com> 3.6-32
fd1b13
- Corrected summary of the devel subpackage. Fixing bug #817947.
fd1b13
fd1b13
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-31
fd1b13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
fd1b13
fd1b13
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-30
fd1b13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fd1b13
fd1b13
* Wed Jul 7 2010 Zoltan Kota <z.kota[AT]gmx.net> 3.6-29
fd1b13
- Fix build on x86_64. Run autoreconf to update config files.
fd1b13
  autoconf >= 2.64 needs to patch the flex.m4 file.
fd1b13
  Fixing FTBFS bug #564601.
fd1b13
fd1b13
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-28
fd1b13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fd1b13
fd1b13
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.6-27
fd1b13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fd1b13
fd1b13
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.6-26
fd1b13
- Autorebuild for GCC 4.3
fd1b13
fd1b13
* Wed Jan 16 2008 Zoltan Kota <z.kota[AT]gmx.net> 3.6-25
fd1b13
- add patch for gcc43
fd1b13
fd1b13
* Wed Aug 22 2007 Zoltan Kota <z.kota[AT]gmx.net> 3.6-24
fd1b13
- update license tag
fd1b13
- rebuild
fd1b13
fd1b13
* Tue Apr 03 2007 Zoltan Kota <z.kota[AT]gmx.net> 3.6-23
fd1b13
- rebuild
fd1b13
fd1b13
* Fri Sep 01 2006 Zoltan Kota <z.kota[AT]gmx.net> 3.6-22
fd1b13
- rebuild
fd1b13
fd1b13
* Mon Feb 13 2006 Zoltan Kota <z.kota[AT]gmx.net> 3.6-21
fd1b13
- rebuild
fd1b13
fd1b13
* Thu Dec 22 2005 Zoltan Kota <z.kota[AT]gmx.net> 3.6-20
fd1b13
- rebuild
fd1b13
fd1b13
* Fri Aug 26 2005 Zoltan Kota <z.kota[AT]gmx.net> 3.6-19
fd1b13
- fix requires
fd1b13
- disable static libs and remove libtool archives
fd1b13
- add %%doc
fd1b13
fd1b13
* Fri Aug 26 2005 Zoltan Kota <z.kota[AT]gmx.net> 3.6-18
fd1b13
- add dist tag
fd1b13
- specfile cleanup
fd1b13
fd1b13
* Thu May 26 2005 Bill Nottingham <notting@redhat.com> 3.6-17
fd1b13
- rebuild for Extras
fd1b13
fd1b13
* Mon Mar 07 2005 Than Ngo <than@redhat.com> 3.6-16
fd1b13
- cleanup
fd1b13
fd1b13
* Sat Mar 05 2005 Than Ngo <than@redhat.com> 3.6-15
fd1b13
- rebuilt
fd1b13
fd1b13
* Wed Feb 09 2005 Than Ngo <than@redhat.com> 3.6-14
fd1b13
- rebuilt
fd1b13
fd1b13
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
fd1b13
- rebuilt
fd1b13
fd1b13
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
fd1b13
- rebuilt
fd1b13
fd1b13
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
fd1b13
- rebuilt
fd1b13
fd1b13
* Fri Feb 13 2004 Than Ngo <than@redhat.com> 3.6-11 
fd1b13
- add a patch file from kota@szbk.u-szeged.hu (bug #115524)
fd1b13
fd1b13
* Thu Nov 20 2003 Thomas Woerner <twoerner@redhat.com> 3.6-10
fd1b13
- Fixed RPATH (missing make in %%build)
fd1b13
fd1b13
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
fd1b13
- rebuilt
fd1b13
fd1b13
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
fd1b13
- rebuilt
fd1b13
fd1b13
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 3.6-7
fd1b13
- rebuild on all arches
fd1b13
- remove unpackaged file from the buildroot
fd1b13
fd1b13
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
fd1b13
- automated rebuild
fd1b13
fd1b13
* Thu May 23 2002 Tim Powers <timp@redhat.com>
fd1b13
- automated rebuild
fd1b13
fd1b13
* Mon Apr 15 2002 Bill Nottingham <notting@redhat.com> 3.6-4
fd1b13
- add ldconfig %post/%postun
fd1b13
fd1b13
* Tue Feb 26 2002 Than Ngo <than@redhat.com> 3.6-3
fd1b13
- rebuild
fd1b13
fd1b13
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
fd1b13
- automated rebuild
fd1b13
fd1b13
* Tue Nov 13 2001 Than Ngo <than@redhat.com> 3.6-1
fd1b13
- initial RPM for 8.0