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