SPECS: gspcav1.spec (NEW) - initial release

patrys patrys at pld-linux.org
Tue Apr 17 14:33:28 CEST 2007


Author: patrys                       Date: Tue Apr 17 12:33:28 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial release

---- Files affected:
SPECS:
   gspcav1.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/gspcav1.spec
diff -u /dev/null SPECS/gspcav1.spec:1.1
--- /dev/null	Tue Apr 17 14:33:28 2007
+++ SPECS/gspcav1.spec	Tue Apr 17 14:33:22 2007
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+# Conditional build:
+%bcond_without	dist_kernel	# allow non-distribution kernel
+%bcond_with	verbose		# verbose build (V=1)
+#
+%define		_rel	1
+Summary:	Generic Softwares Package for Camera Adapters
+Name:		gspcav1
+Version:	20070110
+Release:	%{_rel}@%{_kernel_ver_str}
+License:	GPL v2
+Group:		Base/Kernel
+Source0:	http://mxhaard.free.fr/spca50x/Download/gspcav1-20070110.tar.gz
+# Source0-md5:	1e3fa004490a07b7b76de03d70b3e8ea
+URL:		http://mxhaard.free.fr/spca5xx.html
+%{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.7}
+BuildRequires:	rpmbuild(macros) >= 1.330
+Requires(post,postun):	/sbin/depmod
+%{?with_dist_kernel:%requires_releq_kernel}
+Provides:	kernel(gspca)
+BuildRoot:	%{tmpdir}/%{_name}-%{version}-root-%(id -u -n)
+
+%description
+Generic Softwares Package for Camera Adapters
+
+%prep
+%setup -q
+
+%build
+%build_kernel_modules -m gspca
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%install_kernel_modules -m gspca -d kernel/drivers/usb/misc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%depmod %{_kernel_ver}
+
+%files
+%defattr(644,root,root,755)
+/lib/modules/%{_kernel_ver}/kernel/drivers/usb/misc/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/04/17 12:33:22  patrys
+- initial release
+
================================================================


More information about the pld-cvs-commit mailing list