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
|
2005-08-26 09:39:20 +00:00
|
|
|
Release: 19%{?dist}
|
2005-05-27 02:52:25 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/File
|
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
|
2005-08-26 07:05:00 +00:00
|
|
|
Url: http://recode.progiciels-bpi.ca/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
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
|
|
|
|
|
|
|
|
|
2005-05-27 02:52:25 +00:00
|
|
|
%description
|
|
|
|
The `recode' converts files between character sets and usages.
|
|
|
|
It recognises or produces nearly 150 different character sets
|
|
|
|
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
|
2005-08-26 07:05:00 +00:00
|
|
|
Summary: Header files and static libraries for development using recode
|
2005-05-27 02:52:25 +00:00
|
|
|
Group: Development/Libraries
|
2005-08-26 09:39:20 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
2005-05-27 02:52:25 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The `recode' library converts files between character sets and usages.
|
|
|
|
The library recognises or produces nearly 150 different character sets
|
|
|
|
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
|
|
|
|
|
|
|
|
%build
|
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
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%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
|
|
|
|
/sbin/install-info %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode). Conversion between character sets and surfaces."
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode). Conversion between character sets and surfaces."
|
|
|
|
fi
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_mandir}/*/*
|
|
|
|
%{_infodir}/recode.info*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/*.so.0*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
|
|
|
|
%changelog
|
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 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
|