- fix Requires
- disable static libs end remove *.la in devel
This commit is contained in:
parent
0b16df5865
commit
2b1fe13610
23
recode.spec
23
recode.spec
@ -1,16 +1,21 @@
|
|||||||
Summary: Conversion between character sets and surfaces
|
Summary: Conversion between character sets and surfaces
|
||||||
Name: recode
|
Name: recode
|
||||||
Version: 3.6
|
Version: 3.6
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
Source: http://recode.progiciels-bpi.ca/archives/recode-%{version}.tar.gz
|
Source: http://recode.progiciels-bpi.ca/archives/recode-%{version}.tar.gz
|
||||||
Patch0: recode.patch
|
Patch0: recode.patch
|
||||||
Patch1: recode-3.6-getcwd.patch
|
Patch1: recode-3.6-getcwd.patch
|
||||||
Url: http://recode.progiciels-bpi.ca/
|
Url: http://recode.progiciels-bpi.ca/
|
||||||
Requires: /sbin/install-info /sbin/ldconfig
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(post): /sbin/ldconfig
|
||||||
|
Requires(preun): /sbin/install-info
|
||||||
|
Requires(postun): /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The `recode' converts files between character sets and usages.
|
The `recode' converts files between character sets and usages.
|
||||||
It recognises or produces nearly 150 different character sets
|
It recognises or produces nearly 150 different character sets
|
||||||
@ -22,7 +27,7 @@ are supported.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Header files and static libraries for development using recode
|
Summary: Header files and static libraries for development using recode
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The `recode' library converts files between character sets and usages.
|
The `recode' library converts files between character sets and usages.
|
||||||
@ -38,7 +43,7 @@ are supported.
|
|||||||
%patch1 -p1 -b .getcwd
|
%patch1 -p1 -b .getcwd
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -50,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
# remove unpackaged file from the buildroot
|
# remove unpackaged file from the buildroot
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||||
|
|
||||||
|
# remove libtool archives
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/sbin/install-info %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode). Conversion between character sets and surfaces."
|
/sbin/install-info %{_infodir}/recode.info.gz %{_infodir}/dir --entry="* recode: (recode). Conversion between character sets and surfaces."
|
||||||
@ -75,12 +84,14 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*.a
|
|
||||||
%{_libdir}/*.la
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 26 2005 Zoltan Kota <z.kota[AT]gmx.net> 3.6-19
|
||||||
|
- fix requires
|
||||||
|
- disable static libs and remove libtool archives
|
||||||
|
|
||||||
* Fri Aug 26 2005 Zoltan Kota <z.kota[AT]gmx.net> 3.6-18
|
* Fri Aug 26 2005 Zoltan Kota <z.kota[AT]gmx.net> 3.6-18
|
||||||
- add dist tag
|
- add dist tag
|
||||||
- specfile cleanup
|
- specfile cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user