don't include *.la files
This commit is contained in:
parent
4d4a3675b1
commit
c0c347b149
@ -4,7 +4,7 @@
|
||||
Summary: Scanner access software
|
||||
Name: sane-backends
|
||||
Version: 1.0.17
|
||||
Release: 6
|
||||
Release: 7
|
||||
License: GPL (programs), relaxed LGPL (libraries), and public domain (docs)
|
||||
Group: System Environment/Libraries
|
||||
Source0: ftp://ftp.sane-project.org/pub/sane/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
@ -94,13 +94,12 @@ make
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
%{makeinstall} docdir=%{buildroot}/%{_docdir}/%{name}-%{version}
|
||||
perl -pi -e "s/installed.*/installed=yes/g" $RPM_BUILD_ROOT%{_libdir}/libsane.la
|
||||
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_libdir}/sane
|
||||
|
||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
||||
install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps
|
||||
rm -f %{buildroot}%{_bindir}/gamma4scanimage
|
||||
rm -f %{buildroot}%{_libdir}/sane/*.a %{buildroot}%{_libdir}/*.a
|
||||
rm -f %{buildroot}%{_libdir}/libsane*.la %{buildroot}%{_libdir}/sane/*.la
|
||||
mkdir -p %{buildroot}/%{_sysconfdir}/udev/rules.d/
|
||||
|
||||
sh tools/udev/convert-usermap.sh tools/hotplug/libsane.usermap
|
||||
@ -141,9 +140,7 @@ rm -rf %{buildroot}
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/sane-config
|
||||
%{_includedir}/sane
|
||||
%{_libdir}/libsane*.la
|
||||
%{_libdir}/libsane*.so
|
||||
%{_libdir}/sane/*.la
|
||||
%{_libdir}/sane/*.so
|
||||
|
||||
%files docs
|
||||
@ -156,6 +153,9 @@ rm -rf %{buildroot}
|
||||
%{_docdir}/%{name}-%{version}/sane.ps
|
||||
|
||||
%changelog
|
||||
* Fri Mar 24 2006 Nils Philippsen <nphilipp@redhat.com> 1.0.17-7
|
||||
- don't include *.la files
|
||||
|
||||
* Thu Mar 23 2006 Than Ngo <than@redhat.com> 1.0.17-6
|
||||
- rebuild against gphoto2 to get rid of gphoto2.la
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user