include pkgconfig stuff in file list
This commit is contained in:
parent
184035e78a
commit
fae0ed6d32
@ -1,4 +1,4 @@
|
||||
# Disable gphoto2 backend by using --without gphoto2
|
||||
# Disable gphoto2 backend by using "--without gphoto2"
|
||||
%define gphoto2_support 0%{!?_without_gphoto2:1}
|
||||
|
||||
Summary: Scanner access software
|
||||
@ -45,6 +45,7 @@ also install the sane-backends-devel package.
|
||||
Summary: The SANE (a universal scanner interface) development toolkit.
|
||||
Group: Development/Libraries
|
||||
Requires: sane-backends = %{version}, libusb-devel, libieee1284-devel
|
||||
Requires: pkgconfig
|
||||
%if %{gphoto2_support}
|
||||
Requires: gphoto2-devel
|
||||
%endif
|
||||
@ -148,6 +149,8 @@ rm -rf %{buildroot}
|
||||
%{_includedir}/sane
|
||||
%{_libdir}/libsane*.so
|
||||
%{_libdir}/sane/*.so
|
||||
%dir %{_libdir}/pkgconfig
|
||||
%{_libdir}/pkgconfig/sane-backends.pc
|
||||
|
||||
%files docs
|
||||
%defattr(-, root, root)
|
||||
@ -159,7 +162,7 @@ rm -rf %{buildroot}
|
||||
%{_docdir}/%{name}-%{version}/sane.ps
|
||||
|
||||
%changelog
|
||||
* Tue May 16 2006 Nils Philippsen <nphilipp@redhat.com> 1.0.17-10
|
||||
* Wed May 17 2006 Nils Philippsen <nphilipp@redhat.com> 1.0.17-10
|
||||
- add pkg-config support, re-write sane-config to use pkg-config to avoid
|
||||
multilib problems with conflicting sane-config scripts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user