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}
|
%define gphoto2_support 0%{!?_without_gphoto2:1}
|
||||||
|
|
||||||
Summary: Scanner access software
|
Summary: Scanner access software
|
||||||
@ -45,6 +45,7 @@ also install the sane-backends-devel package.
|
|||||||
Summary: The SANE (a universal scanner interface) development toolkit.
|
Summary: The SANE (a universal scanner interface) development toolkit.
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: sane-backends = %{version}, libusb-devel, libieee1284-devel
|
Requires: sane-backends = %{version}, libusb-devel, libieee1284-devel
|
||||||
|
Requires: pkgconfig
|
||||||
%if %{gphoto2_support}
|
%if %{gphoto2_support}
|
||||||
Requires: gphoto2-devel
|
Requires: gphoto2-devel
|
||||||
%endif
|
%endif
|
||||||
@ -148,6 +149,8 @@ rm -rf %{buildroot}
|
|||||||
%{_includedir}/sane
|
%{_includedir}/sane
|
||||||
%{_libdir}/libsane*.so
|
%{_libdir}/libsane*.so
|
||||||
%{_libdir}/sane/*.so
|
%{_libdir}/sane/*.so
|
||||||
|
%dir %{_libdir}/pkgconfig
|
||||||
|
%{_libdir}/pkgconfig/sane-backends.pc
|
||||||
|
|
||||||
%files docs
|
%files docs
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
@ -159,7 +162,7 @@ rm -rf %{buildroot}
|
|||||||
%{_docdir}/%{name}-%{version}/sane.ps
|
%{_docdir}/%{name}-%{version}/sane.ps
|
||||||
|
|
||||||
%changelog
|
%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
|
- add pkg-config support, re-write sane-config to use pkg-config to avoid
|
||||||
multilib problems with conflicting sane-config scripts
|
multilib problems with conflicting sane-config scripts
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user