- incorporate package review feedback

This commit is contained in:
Ivana Varekova 2007-02-15 14:46:45 +00:00
parent b16bcea0a6
commit 48782013d5

View File

@ -1,16 +1,15 @@
Summary: A file compression utility Summary: A file compression utility
Name: bzip2 Name: bzip2
Version: 1.0.4 Version: 1.0.4
Release: 4%{?dist} Release: 5%{?dist}
License: 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/v102/bzip2-%{version}.tar.gz Source: http://www.bzip.org/%{version}/bzip2-%{version}.tar.gz
Patch0: bzip2-1.0.4-saneso.patch Patch0: bzip2-1.0.4-saneso.patch
Patch5: bzip2-1.0.4-cflags.patch Patch5: bzip2-1.0.4-cflags.patch
Patch6: bzip2-1.0.4-bzip2recover.patch Patch6: bzip2-1.0.4-bzip2recover.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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,9 +23,9 @@ and compression capability.
Install bzip2 if you need a compression utility. 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}, bzip2-libs = %{version} Requires: bzip2 = %{version}-%{release}, bzip2-libs = %{version}-%{release}
%description devel %description devel
@ -61,13 +60,13 @@ make CC=%{__cc} AR=%{__ar} RANLIB=%{__ranlib} \
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
chmod 644 bzlib.h
mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,%{_libdir},%{_includedir}} mkdir -p $RPM_BUILD_ROOT/{%{_bindir},%{_mandir}/man1,%{_libdir},%{_includedir}}
install -m 755 bzlib.h $RPM_BUILD_ROOT/%{_includedir} cp -p bzlib.h $RPM_BUILD_ROOT/%{_includedir}
install -m 755 libbz2.so.%{version} $RPM_BUILD_ROOT/%{_libdir} install -p libbz2.so.%{version} $RPM_BUILD_ROOT/%{_libdir}
install -m 755 libbz2.a $RPM_BUILD_ROOT/%{_libdir} install -p bzip2-shared $RPM_BUILD_ROOT/%{_bindir}/bzip2
install -m 755 bzip2-shared $RPM_BUILD_ROOT/%{_bindir}/bzip2 install -p bzip2recover bzgrep bzdiff bzmore $RPM_BUILD_ROOT/%{_bindir}/
install -m 755 bzip2recover bzgrep bzdiff bzmore $RPM_BUILD_ROOT/%{_bindir}/ install -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
install -m 644 bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 $RPM_BUILD_ROOT/%{_mandir}/man1/
ln -s bzip2 $RPM_BUILD_ROOT/%{_bindir}/bunzip2 ln -s bzip2 $RPM_BUILD_ROOT/%{_bindir}/bunzip2
ln -s bzip2 $RPM_BUILD_ROOT/%{_bindir}/bzcat ln -s bzip2 $RPM_BUILD_ROOT/%{_bindir}/bzcat
ln -s bzdiff $RPM_BUILD_ROOT/%{_bindir}/bzcmp ln -s bzdiff $RPM_BUILD_ROOT/%{_bindir}/bzcmp
@ -90,7 +89,7 @@ rm -rf ${RPM_BUILD_ROOT}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc LICENSE CHANGES README README.COMPILATION.PROBLEMS %doc LICENSE CHANGES README
%{_bindir}/* %{_bindir}/*
%{_mandir}/*/* %{_mandir}/*/*
@ -100,11 +99,14 @@ rm -rf ${RPM_BUILD_ROOT}
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc manual.html manual.pdf
%{_includedir}/* %{_includedir}/*
%{_libdir}/*.a
%{_libdir}/*so %{_libdir}/*so
%changelog %changelog
* Thu Feb 15 2007 Ivana Varekova <varekova@redhat.com> 1.0.4-5
- incorporate package review feedback
* Tue Feb 6 2007 Ivana Varekova <varekova@redhat.com> 1.0.4-4 * Tue Feb 6 2007 Ivana Varekova <varekova@redhat.com> 1.0.4-4
- fix bzip2recover patch - fix bzip2recover patch