mirror of
https://abf.rosa.ru/djam/bzip2.git
synced 2025-02-23 19:02:54 +00:00
LOG Spec cleanup, drop .la files
This commit is contained in:
parent
f591f5b502
commit
0a59b2668c
1 changed files with 11 additions and 28 deletions
39
bzip2.spec
39
bzip2.spec
|
@ -7,7 +7,7 @@
|
||||||
Summary: Extremely powerful file compression utility
|
Summary: Extremely powerful file compression utility
|
||||||
Name: bzip2
|
Name: bzip2
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: %mkrel 4
|
Release: 5
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Archiving/Compression
|
Group: Archiving/Compression
|
||||||
URL: http://www.bzip.org/index.html
|
URL: http://www.bzip.org/index.html
|
||||||
|
@ -18,13 +18,12 @@ Source3: bzme.1
|
||||||
Patch0: bzip2-1.0.6-makefile.diff
|
Patch0: bzip2-1.0.6-makefile.diff
|
||||||
Requires: mktemp
|
Requires: mktemp
|
||||||
Requires: %{libname} = %{version}-%{release}
|
Requires: %{libname} = %{version}-%{release}
|
||||||
%if %buildpdf
|
%if %{buildpdf}
|
||||||
BuildRequires: tetex-dvips
|
BuildRequires: tetex-dvips
|
||||||
BuildRequires: tetex-latex
|
BuildRequires: tetex-latex
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bzip2 compresses files using the Burrows-Wheeler block-sorting text
|
Bzip2 compresses files using the Burrows-Wheeler block-sorting text
|
||||||
|
@ -51,14 +50,12 @@ Requires: %{libname} = %{version}-%{release}
|
||||||
Provides: lib%{name}-devel = %{version}-%{release}
|
Provides: lib%{name}-devel = %{version}-%{release}
|
||||||
Provides: %{name}-devel = %{version}-%{release}
|
Provides: %{name}-devel = %{version}-%{release}
|
||||||
Obsoletes: %{mklibname bzip2_ 1 -d} < 1.0.5-3
|
Obsoletes: %{mklibname bzip2_ 1 -d} < 1.0.5-3
|
||||||
Provides: %{mklibname bzip2_ 1 -d}
|
|
||||||
|
|
||||||
%description -n %{develname}
|
%description -n %{develname}
|
||||||
Header files and static library of bzip2 functions, for developing apps which
|
Header files and static library of bzip2 functions, for developing apps which
|
||||||
will use the bzip2 library (aka libz2).
|
will use the bzip2 library (aka libz2).
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .makefile
|
%patch0 -p1 -b .makefile
|
||||||
|
|
||||||
|
@ -74,13 +71,11 @@ cp %{SOURCE3} bzme.1
|
||||||
%make -f Makefile-libbz2_so
|
%make -f Makefile-libbz2_so
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%if %buildpdf
|
%if %{buildpdf}
|
||||||
texi2dvi --pdf manual.texi
|
texi2dvi --pdf manual.texi
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%makeinstall_std
|
%makeinstall_std
|
||||||
|
|
||||||
install -m0755 bzme %{buildroot}%{_bindir}/
|
install -m0755 bzme %{buildroot}%{_bindir}/
|
||||||
|
@ -94,45 +89,33 @@ EOF
|
||||||
chmod 755 %{buildroot}%{_bindir}/bzless
|
chmod 755 %{buildroot}%{_bindir}/bzless
|
||||||
install -m 644 %{SOURCE3} %{buildroot}%{_mandir}/man1/
|
install -m 644 %{SOURCE3} %{buildroot}%{_mandir}/man1/
|
||||||
|
|
||||||
%if %mdkversion < 200900
|
# cleanup
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
rm -f %{buildroot}%{_libdir}/*.a
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %mdkversion < 200900
|
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc README LICENSE CHANGES
|
%doc README LICENSE CHANGES
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_libdir}/libbz2.so.%{major}*
|
%{_libdir}/libbz2.so.%{major}*
|
||||||
|
|
||||||
%files -n %{develname}
|
%files -n %{develname}
|
||||||
%defattr(-,root,root,755)
|
|
||||||
%doc *.html LICENSE
|
%doc *.html LICENSE
|
||||||
%if %buildpdf
|
%if %{buildpdf}
|
||||||
%doc manual.pdf
|
%doc manual.pdf
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/libbz2.a
|
|
||||||
%{_libdir}/libbz2.la
|
|
||||||
%{_libdir}/libbz2.so
|
%{_libdir}/libbz2.so
|
||||||
%{_includedir}/*.h
|
%{_includedir}/*.h
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 22 2012 abf
|
* Sat Feb 11 2012 Oden Eriksson <oeriksson@mandriva.com> 1.0.6-4
|
||||||
- The release updated by ABF
|
+ Revision: 773295
|
||||||
|
- various cleanups
|
||||||
|
|
||||||
* Tue May 03 2011 Oden Eriksson <oeriksson@mandriva.com> 1.0.6-3mdv2011.0
|
* Tue May 03 2011 Oden Eriksson <oeriksson@mandriva.com> 1.0.6-3
|
||||||
+ Revision: 663345
|
+ Revision: 663345
|
||||||
- mass rebuild
|
- mass rebuild
|
||||||
|
|
||||||
|
@ -186,7 +169,7 @@ rm -rf %{buildroot}
|
||||||
- rebuild
|
- rebuild
|
||||||
- kill re-definition of %%buildroot on Pixel's request
|
- kill re-definition of %%buildroot on Pixel's request
|
||||||
|
|
||||||
+ Olivier Blin <oblin@mandriva.com>
|
+ Olivier Blin <blino@mandriva.org>
|
||||||
- restore BuildRoot
|
- restore BuildRoot
|
||||||
|
|
||||||
* Thu Aug 16 2007 Thierry Vignaud <tv@mandriva.org> 1.0.4-2mdv2008.0
|
* Thu Aug 16 2007 Thierry Vignaud <tv@mandriva.org> 1.0.4-2mdv2008.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue