SPECS: hpoj.spec - fixed cups and sane backend paths - BR: libusb-...

qboosh qboosh at pld-linux.org
Fri Mar 10 11:08:10 CET 2006


Author: qboosh                       Date: Fri Mar 10 10:08:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed cups and sane backend paths
- BR: libusb-devel (used for USB devices support)

---- Files affected:
SPECS:
   hpoj.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/hpoj.spec
diff -u SPECS/hpoj.spec:1.11 SPECS/hpoj.spec:1.12
--- SPECS/hpoj.spec:1.11	Thu Mar  9 15:42:33 2006
+++ SPECS/hpoj.spec	Fri Mar 10 11:08:04 2006
@@ -14,6 +14,7 @@
 Patch3:		%{name}-snmp.patch
 URL:		http://hpoj.sourceforge.net/
 BuildRequires:	autoconf
+BuildRequires:	libusb-devel
 BuildRequires:	net-snmp-devel
 BuildRequires:	qt-devel
 Requires(post,preun):	/sbin/chkconfig
@@ -119,7 +120,7 @@
 %{__autoconf}
 %configure \
 	--with-cups-backend=/usr/lib/cups/backend \
-	--with-sane-backend=/usr/lib/sane \
+	--with-sane-backend=/usr/%{_lib}/sane \
 	--with-sane-etc=/etc/sane.d
 
 # -D... is a workaround for /usr/include/net-snmp/library/getopt.h
@@ -129,7 +130,7 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_initrddir},/var/run/ptal-{mlcd,printd}}
+install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/run/ptal-{mlcd,printd}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -164,7 +165,7 @@
 %attr(755,root,root) %{_sbindir}/ptal-printd
 %attr(755,root,root) %{_libdir}/libhpojip.so.*.*
 %attr(755,root,root) %{_libdir}/libptal.so.*.*
-%attr(754,root,root) %{_initrddir}/ptal-init
+%attr(754,root,root) /etc/rc.d/init.d/ptal-init
 %dir /var/run/ptal-printd
 %dir /var/run/ptal-mlcd
 
@@ -182,11 +183,11 @@
 %files -n cups-backend-hpoj
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/ptal-cups
-%attr(755,root,root) %{_libdir}/cups/backend/ptal
+%attr(755,root,root) /usr/lib/cups/backend/ptal
 
 %files -n sane-backend-hpoj
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/sane/libsane-hpoj.so.*
+%attr(755,root,root) /usr/%{_lib}/sane/libsane-hpoj.so.*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -194,6 +195,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2006/03/10 10:08:04  qboosh
+- fixed cups and sane backend paths
+- BR: libusb-devel (used for USB devices support)
+
 Revision 1.11  2006/03/09 14:42:33  qboosh
 - strict internal deps, no PreReq
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/hpoj.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list