auto-import bzip2-1.0.1-4.1 from bzip2-1.0.1-4.1.src.rpm
This commit is contained in:
parent
fdb1391406
commit
dbb26724ac
26
bzip2.spec
26
bzip2.spec
@ -1,14 +1,15 @@
|
|||||||
Summary: A file compression utility.
|
Summary: A file compression utility.
|
||||||
Name: bzip2
|
Name: bzip2
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 4
|
Release: 4.1
|
||||||
Copyright: BSD
|
License: BSD
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
URL: http://sources.redhat.com/bzip2/
|
URL: http://sources.redhat.com/bzip2/
|
||||||
Source: ftp://sources.redhat.com/pub/bzip2/v100/bzip2-%{version}.tar.gz
|
Source: ftp://sources.redhat.com/pub/bzip2/v100/bzip2-%{version}.tar.gz
|
||||||
Patch0: bzip2-1.0.1-autoconflibtoolize.patch.gz
|
Patch0: bzip2-1.0.1-autoconflibtoolize.patch.gz
|
||||||
Source1: bzgrep
|
Source1: bzgrep
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
Requires: bzip2-libs = %{version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bzip2 is a freely available, patent-free, high quality data compressor.
|
Bzip2 is a freely available, patent-free, high quality data compressor.
|
||||||
@ -24,13 +25,21 @@ Install bzip2 if you need a compression utility.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Header files and libraries for developing apps which will use bzip2.
|
Summary: Header files and libraries for developing apps which will use bzip2.
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: bzip2 = %{version}
|
Requires: bzip2 = %{version}, bzip2-libs = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
|
|
||||||
Header files and a static library of bzip2 functions, for developing apps
|
Header files and a static library of bzip2 functions, for developing apps
|
||||||
which will use the library.
|
which will use the library.
|
||||||
|
|
||||||
|
%package libs
|
||||||
|
Summary: Libraries for applications using bzip2
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
|
%description libs
|
||||||
|
|
||||||
|
Libraries for applications using the bzip2 compression format.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -59,9 +68,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
cp %SOURCE1 ${RPM_BUILD_ROOT}%{_bindir}
|
cp %SOURCE1 ${RPM_BUILD_ROOT}%{_bindir}
|
||||||
chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/bzgrep
|
chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/bzgrep
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun libs -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
@ -71,6 +80,9 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%doc AUTHORS COPYING README README.COMPILATION.PROBLEMS Y2K_INFO NEWS ChangeLog
|
%doc AUTHORS COPYING README README.COMPILATION.PROBLEMS Y2K_INFO NEWS ChangeLog
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
|
%files libs
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/*so.*
|
%{_libdir}/*so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -80,6 +92,10 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/*so
|
%{_libdir}/*so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 30 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
|
- use "License" instead of "Copyright"
|
||||||
|
- split out libs
|
||||||
|
|
||||||
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
* Fri Jul 21 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
||||||
- new URL and source location
|
- new URL and source location
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user