- moved libraries from /lib to /usr/lib
This commit is contained in:
parent
de5c2d5839
commit
b150d031a4
17
bzip2.spec
17
bzip2.spec
@ -3,7 +3,7 @@
|
|||||||
Summary: A file compression utility
|
Summary: A file compression utility
|
||||||
Name: bzip2
|
Name: bzip2
|
||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
URL: http://www.bzip.org/
|
URL: http://www.bzip.org/
|
||||||
@ -61,9 +61,9 @@ make CC="%{__cc}" AR="%{__ar}" RANLIB="%{__ranlib}" \
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
chmod 644 bzlib.h
|
chmod 644 bzlib.h
|
||||||
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,/%{_lib},%{_libdir},%{_includedir}}
|
mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_libdir},%{_includedir}}
|
||||||
cp -p bzlib.h $RPM_BUILD_ROOT%{_includedir}
|
cp -p bzlib.h $RPM_BUILD_ROOT%{_includedir}
|
||||||
install -m 755 libbz2.so.%{library_version} $RPM_BUILD_ROOT/%{_lib}
|
install -m 755 libbz2.so.%{library_version} $RPM_BUILD_ROOT%{_libdir}
|
||||||
install -m 755 bzip2-shared $RPM_BUILD_ROOT%{_bindir}/bzip2
|
install -m 755 bzip2-shared $RPM_BUILD_ROOT%{_bindir}/bzip2
|
||||||
install -m 755 bzip2recover bzgrep bzdiff bzmore $RPM_BUILD_ROOT%{_bindir}/
|
install -m 755 bzip2recover bzgrep bzdiff bzmore $RPM_BUILD_ROOT%{_bindir}/
|
||||||
cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
cp -p bzip2.1 bzdiff.1 bzgrep.1 bzmore.1 $RPM_BUILD_ROOT%{_mandir}/man1/
|
||||||
@ -71,8 +71,8 @@ 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
|
||||||
ln -s bzmore $RPM_BUILD_ROOT%{_bindir}/bzless
|
ln -s bzmore $RPM_BUILD_ROOT%{_bindir}/bzless
|
||||||
ln -s libbz2.so.%{library_version} $RPM_BUILD_ROOT/%{_lib}/libbz2.so.1
|
ln -s libbz2.so.%{library_version} $RPM_BUILD_ROOT%{_libdir}/libbz2.so.1
|
||||||
ln -s ../../%{_lib}/libbz2.so.1 $RPM_BUILD_ROOT/%{_libdir}/libbz2.so
|
ln -s libbz2.so.1 $RPM_BUILD_ROOT%{_libdir}/libbz2.so
|
||||||
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzip2recover.1
|
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzip2recover.1
|
||||||
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bunzip2.1
|
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bunzip2.1
|
||||||
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzcat.1
|
ln -s bzip2.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzcat.1
|
||||||
@ -90,14 +90,17 @@ ln -s bzmore.1 $RPM_BUILD_ROOT%{_mandir}/man1/bzless.1
|
|||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
/%{_lib}/*so.*
|
%{_libdir}/libbz2.so.1*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc manual.html manual.pdf
|
%doc manual.html manual.pdf
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
/%{_libdir}/*so
|
%{_libdir}/*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 26 2012 Peter Schiffer <pschiffe@redhat.com> - 1.0.6-7
|
||||||
|
- moved libraries from /lib to /usr/lib
|
||||||
|
|
||||||
* Fri Oct 26 2012 Peter Schiffer <pschiffe@redhat.com> - 1.0.6-6
|
* Fri Oct 26 2012 Peter Schiffer <pschiffe@redhat.com> - 1.0.6-6
|
||||||
- .spec file cleanup
|
- .spec file cleanup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user