]> git.pld-linux.org Git - packages/v4l-utils.git/commitdiff
- initial
authorSÅ‚awomir Paszkiewicz <paszczus@pld-linux.org>
Thu, 28 May 2009 07:13:35 +0000 (07:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    v4l-utils.spec -> 1.1

v4l-utils.spec [new file with mode: 0644]

diff --git a/v4l-utils.spec b/v4l-utils.spec
new file mode 100644 (file)
index 0000000..7b02df6
--- /dev/null
@@ -0,0 +1,54 @@
+Summary:       libv4l
+Name:          libv4l
+Version:       0.1
+Release:       1
+License:       GPL v2
+Group:         Applications
+Source0:       http://people.atrpms.net/~hdegoede/%{name}-%{version}.tar.gz
+# Source0-md5: 3965a3bd8568e9c349e6ae89521db84d
+URL:           http://hansdegoede.livejournal.com/3636.html
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libv4l is a collection of libraries which adds a thin abstraction
+layer on top of video4linux2 devices. The purpose of this (thin) layer
+is to make it easy for application writers to support a wide variety
+of devices without having to write seperate code for different devices
+in the same class.
+
+%package devel
+Summary:       Header files for libv4l library
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for libv4l library.
+
+%prep
+%setup -q
+
+%build
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_includedir}/%{name}
+install -d $RPM_BUILD_ROOT%{_libdir}
+install include/* $RPM_BUILD_ROOT%{_includedir}/%{name}
+install lib/lib*.so* $RPM_BUILD_ROOT%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/lib*.so.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+%{_libdir}/lib*.so
This page took 0.044143 seconds and 4 git commands to generate.