Sophie

Sophie

distrib > Arklinux > devel > i586 > by-pkgid > ce2b8182e3a65e19efb39f8bbe52e35e > files > 2

recode-3.6-7ark.src.rpm

Summary: Conversion between character sets and surfaces.
Name: recode
Version: 3.6
Release: 7ark
License: GPL
Group: Applications/File
Source: http://recode.progiciels-bpi.ca/archives/recode-%{version}.tar.bz2
Url: http://recode.progiciels-bpi.ca/
Prereq: /sbin/install-info /sbin/ldconfig
BuildRoot: %{_tmppath}/%{name}-root

%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
Summary: Header files and static libraries for development using recode.
Group: Development/Libraries
Requires: %{name} = %{version}

%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
libtoolize --force

%build
%configure --disable-shared

%install
rm -rf $RPM_BUILD_ROOT

make install DESTDIR="$RPM_BUILD_ROOT"
%find_lang %{name}

%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/recode.info.bz2 %{_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.bz2 %{_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}/*

%files devel
%defattr(-,root,root)
%{_libdir}/*.a
%{_libdir}/*.la
%{_includedir}/*

%changelog
* Fri Jan  6 2006 Bernhard Rosenkraenzer <bero@arklinux.org> 3.6-7ark
- Fix build on x86_64

* Tue Dec  9 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 3.6-6ark
- Don't gzip info pages
- Update URL and download location

* Mon Aug 26 2002 Ark Linux Team <arklinux@arklinux.org> 3.6-5ark
- 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