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