include pkgconfig stuff in file list

This commit is contained in:
Nils Philippsen 2006-05-17 07:52:22 +00:00
parent 184035e78a
commit fae0ed6d32

View File

@ -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