[gtk-v4l/f16] New upstream release

Huzaifa Sidhpurwala huzaifas at fedoraproject.org
Fri Jan 20 10:24:22 UTC 2012


commit 529192b7ce309ed30f1768923c9a434b25431cbe
Author: Huzaifa Sidhpurwala <huzaifas at redhat.com>
Date:   Fri Jan 20 15:54:09 2012 +0530

    New upstream release

 .gitignore                               |    1 +
 0001-Don-t-reset-inactive-controls.patch |   26 ----------------------
 gtk-v4l.spec                             |   34 +++++++++++++++++++++++------
 sources                                  |    2 +-
 4 files changed, 29 insertions(+), 34 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0bd9767..e3c1018 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 gtk-v4l-0.3.tar.gz
+/gtk-v4l-0.4.tar.gz
diff --git a/gtk-v4l.spec b/gtk-v4l.spec
index 2aa2603..2e92375 100644
--- a/gtk-v4l.spec
+++ b/gtk-v4l.spec
@@ -1,50 +1,70 @@
 Name:		gtk-v4l
-Version:	0.3
-Release:	4%{?dist}
+Version:	0.4
+Release:	1%{?dist}
 Summary:	Video4Linux Device Preferences
 Group:		Applications/Multimedia
 License:	GPLv2
 URL:		http://fedorahosted.org/gtk-v4l
 Source0:	https://fedorahosted.org/releases/g/t/%{name}/%{name}-%{version}.tar.gz
-Patch0:         0001-Don-t-reset-inactive-controls.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	scrollkeeper
 BuildRequires:	libv4l-devel >= 0.6
-BuildRequires:	gtk2-devel >= 2.18
+BuildRequires:	gtk3-devel >= 3.0
 BuildRequires:	libgudev1-devel >= 151
 
 
 %description
 gtk-v4l is a Video4Linux Web camera control app
 
+%package devel
+Summary:        Development files for gtk-v4l
+Group:          Applications/Multimedia
+Requires:       %{name} = %{version}-%{release}
+
+%description devel
+Contains library and header files for gtk-v4l
+
 %prep
 %setup -q
-%patch0 -p1
 
 
 %build
-%configure
-make %{?_smp_mflags}
+%configure --disable-static
+make CFLAGS="$RPM_OPT_FLAGS"  %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root,-)
 %doc COPYING AUTHORS ChangeLog README
 %{_bindir}/gtk-v4l
 %{_datadir}/applications/gtk-v4l.desktop
+%{_libdir}/libgtkv4l.so.0.0.0
+%{_libdir}/libgtkv4l.so.0
 
+%files devel
+%defattr(-,root,root,-)
+%doc COPYING
+%{_includedir}/gtk-v4l-widget.h
+%{_includedir}/gtk-v4l-device-list.h
+%{_libdir}/libgtkv4l.so
 
 
 %changelog
+* Fri Jan 20 2012 Huzaifa Sidhpurwala <huzaifas at redhat.com> - 0.4
+- New upstream release
+
 * Sat Mar 12 2011 Hans de Goede <hdegoede at redhat.com> - 0.3-4
 - Don't try to reset inactive controls (avoids error dialogs)
 
diff --git a/sources b/sources
index dc947ea..238a316 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-680417d78dcd48a0cffb4a63433aa89d  gtk-v4l-0.3.tar.gz
+9e7380d58830957661e38d59e3b0ad4d  gtk-v4l-0.4.tar.gz


More information about the scm-commits mailing list