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