packages: libv4l/libv4l.spec - just make install and we have 2 more needed ...

cactus cactus at pld-linux.org
Sun Jun 14 16:46:31 CEST 2009


Author: cactus                       Date: Sun Jun 14 14:46:31 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- just make install and we have 2 more needed libs
- TODO: add LD_PRELOAD=%{_libdir}/libv4l/v4l1compat.so to skype etc. or sf

---- Files affected:
packages/libv4l:
   libv4l.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/libv4l/libv4l.spec
diff -u packages/libv4l/libv4l.spec:1.3 packages/libv4l/libv4l.spec:1.4
--- packages/libv4l/libv4l.spec:1.3	Sat Jun 13 20:33:33 2009
+++ packages/libv4l/libv4l.spec	Sun Jun 14 16:46:26 2009
@@ -33,12 +33,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
-install -d $RPM_BUILD_ROOT%{_libdir}
-install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
-install include/* $RPM_BUILD_ROOT%{_includedir}/
-install libv4l*/lib*.so* $RPM_BUILD_ROOT%{_libdir}
-install libv4l*/*.pc $RPM_BUILD_ROOT%{_pkgconfigdir}
+
+%{__make} install \
+    PREFIX=%{_prefix} \
+    LIBDIR=%{_libdir} \
+    DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -50,6 +49,8 @@
 %defattr(644,root,root,755)
 %doc ChangeLog README TODO
 %attr(755,root,root) %{_libdir}/lib*.so.*
+%dir %{_libdir}/libv4l
+%attr(755,root,root) %{_libdir}/libv4l/v4l*.so
 
 %files devel
 %defattr(644,root,root,755)
@@ -63,6 +64,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2009/06/14 14:46:26  cactus
+- just make install and we have 2 more needed libs
+- TODO: add LD_PRELOAD=%{_libdir}/libv4l/v4l1compat.so to skype etc. or sf
+
 Revision 1.3  2009/06/13 18:33:33  cactus
 - up to 0.5.99
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libv4l/libv4l.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list