From fe75b2f80acdb77febd6a92058e98a56e86a6821 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 19 May 2008 16:26:53 +0000 Subject: [PATCH 1/5] Initialize branch F-7 for ucview --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..c48525c --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-7 From 17a66d0ff3a558670a2d26db6415a31e59b59eb7 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 19 May 2008 19:18:56 +0000 Subject: [PATCH 2/5] Initial import of ucview --- .cvsignore | 2 ++ sources | 2 ++ ucview.spec | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 ucview.spec diff --git a/.cvsignore b/.cvsignore index e69de29..0893b27 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,2 @@ +ucview-0.17.tar.gz +ucview.desktop diff --git a/sources b/sources index e69de29..266aa33 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +e241951a418db9bd66d8da612af15328 ucview-0.17.tar.gz +6a9ab0f416ba59bc3aea70011271ba57 ucview.desktop diff --git a/ucview.spec b/ucview.spec new file mode 100644 index 0000000..cb164e9 --- /dev/null +++ b/ucview.spec @@ -0,0 +1,96 @@ +Summary: Image and video capture application using unicap toolkit +Name: ucview +Version: 0.17 +Release: 1%{?dist} +License: GPLv2+ +Group: Applications/Multimedia +URL: http://www.unicap-imaging.org/ +Source0: http://www.unicap-imaging.org/downloads/%{name}-%{version}.tar.gz +Source1: %{name}.desktop +BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext +BuildRequires: unicap-devel >= 0.2.2, gtk2-devel >= 2.8.0, libglade2-devel +BuildRequires: dbus-glib-devel, glib2-devel, GConf2-devel, libXv-devel +BuildRequires: libtheora-devel, libvorbis-devel, desktop-file-utils +Requires: hicolor-icon-theme +Requires(pre): GConf2 +Requires(post): GConf2, scrollkeeper +Requires(preun): GConf2 +Requires(postun): scrollkeeper +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +UCView is a video image capture application using the unicap toolkit. +It provides a simple way to parametrise the video device, can capture +still images from the video stream or record the stream as mpeg file. +By using unicap, it can access many different video capture devices +like webcams, video grabber boards, IEEE-1394 (FireWire) cameras and +others. + +%prep +%setup -q + +%build +%configure --disable-schemas-install +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 +make DESTDIR=$RPM_BUILD_ROOT install +unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL + +# Install a working ucview.desktop file +desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} + +# Don't install header files for ucview +rm -rf $RPM_BUILD_ROOT%{_includedir} + +%find_lang %{name} + +%pre +if [ $1 -gt 1 ]; then + export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null 2>&1 || : +fi + +%post +scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : +export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) +gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null 2>&1 || : + +touch --no-create %{_datadir}/icons/hicolor +if [ -x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache -q %{_datadir}/icons/hicolor +fi + +%preun +if [ $1 -eq 0 ]; then + export GCONF_CONFIG_SOURCE=$(gconftool-2 --get-default-source) + gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null 2>&1 || : +fi + +%postun +scrollkeeper-update -q || : + +touch --no-create %{_datadir}/icons/hicolor +if [ -x /usr/bin/gtk-update-icon-cache ]; then + gtk-update-icon-cache -q %{_datadir}/icons/hicolor +fi + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f %{name}.lang +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog +%{_sysconfdir}/gconf/schemas/%{name}.schemas +%{_bindir}/%{name} +%{_datadir}/%{name} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/dbus-1/services/*.service +%{_datadir}/icons/hicolor/*/apps/%{name}.png + +%changelog +* Sun May 18 2008 Robert Scheck 0.17-1 +- Upgrade to 0.17 +- Initial spec file for Fedora and Red Hat Enterprise Linux From 628d00c154ba982bde352fa245d3d267da2fad22 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Mon, 19 May 2008 21:02:15 +0000 Subject: [PATCH 3/5] Upgrade to 0.20.1 --- .cvsignore | 2 +- sources | 2 +- ucview.spec | 11 +++++++---- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.cvsignore b/.cvsignore index 0893b27..a61d8be 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,2 @@ -ucview-0.17.tar.gz +ucview-0.20.1.tar.gz ucview.desktop diff --git a/sources b/sources index 266aa33..dbda6d8 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -e241951a418db9bd66d8da612af15328 ucview-0.17.tar.gz +8979216d7f60109d08d6a039ef7ef1d2 ucview-0.20.1.tar.gz 6a9ab0f416ba59bc3aea70011271ba57 ucview.desktop diff --git a/ucview.spec b/ucview.spec index cb164e9..eab563a 100644 --- a/ucview.spec +++ b/ucview.spec @@ -1,6 +1,6 @@ Summary: Image and video capture application using unicap toolkit Name: ucview -Version: 0.17 +Version: 0.20.1 Release: 1%{?dist} License: GPLv2+ Group: Applications/Multimedia @@ -9,8 +9,8 @@ Source0: http://www.unicap-imaging.org/downloads/%{name}-%{version}.tar Source1: %{name}.desktop BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext BuildRequires: unicap-devel >= 0.2.2, gtk2-devel >= 2.8.0, libglade2-devel -BuildRequires: dbus-glib-devel, glib2-devel, GConf2-devel, libXv-devel -BuildRequires: libtheora-devel, libvorbis-devel, desktop-file-utils +BuildRequires: glib2-devel, GConf2-devel, libXv-devel, desktop-file-utils +BuildRequires: libtheora-devel, libvorbis-devel, dbus-glib-devel >= 0.73 Requires: hicolor-icon-theme Requires(pre): GConf2 Requires(post): GConf2, scrollkeeper @@ -40,7 +40,7 @@ make DESTDIR=$RPM_BUILD_ROOT install unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL # Install a working ucview.desktop file -desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} +desktop-file-install --vendor "" --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} # Don't install header files for ucview rm -rf $RPM_BUILD_ROOT%{_includedir} @@ -91,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/icons/hicolor/*/apps/%{name}.png %changelog +* Mon May 19 2008 Robert Scheck 0.20.1-1 +- Upgrade to 0.20.1 + * Sun May 18 2008 Robert Scheck 0.17-1 - Upgrade to 0.17 - Initial spec file for Fedora and Red Hat Enterprise Linux From 784f213292995ca8adc27e58c21be19c06b81751 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:13:33 +0000 Subject: [PATCH 4/5] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fdfb55d..5feec0a 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := ucview SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 11fc12daca57f18f63e19f21e50905501150e7f4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:36:51 +0000 Subject: [PATCH 5/5] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 5feec0a..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: ucview -# $Id$ -NAME := ucview -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index c48525c..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-7