Compare commits

..

6 commits

Author SHA1 Message Date
Fedora Release Engineering
12f2cebad9 dist-git conversion 2010-07-29 14:36:59 +00:00
8bec6ea9a5 Upgrade to 0.31 (#530708) 2010-02-27 00:58:49 +00:00
Bill Nottingham
f323e1afe6 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:13:32 +00:00
c3927df9a6 Readded wrongly removed build requirement to dbus-glib-devel 2009-05-24 02:18:46 +00:00
3bf5a91cde Upgrade to 0.23 2009-05-04 10:16:30 +00:00
Jesse Keating
03941e3487 Initialize branch F-11 for ucview 2009-04-15 05:39:16 +00:00
6 changed files with 174 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
ucview-0.31.tar.gz

View file

@ -1 +0,0 @@
Project unicap-imaging.org is inactive and its code unmaintained for 7+ years

1
sources Normal file
View file

@ -0,0 +1 @@
b36fd5c54cb200f9917abedd5469bb94 ucview-0.31.tar.gz

15
ucview-0.31-include.patch Normal file
View file

@ -0,0 +1,15 @@
Patch by Robert Scheck <robert@fedoraproject.org> for ucview >= 0.31 to fix broken
include. Upstream is aware about the issue - and this should be fixed for the next
release of ucview.
--- ucview-0.31/src/ucview-window.h 2009-12-08 18:25:26.000000000 +0100
+++ ucview-0.31/src/ucview-window.h.include 2010-02-21 18:59:53.000000000 +0100
@@ -12,7 +12,7 @@
#include <time.h>
#include <sys/time.h>
-#include <ucview/ucview.h>
+#include <ucview.h>
#define UCVIEW_GCONF_DIR "/apps/ucview"
#define UCVIEW_PLUGIN_GCONF_DIR "plugins"

12
ucview.desktop Normal file
View file

@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Name=UCView
GenericName=Image Capture Application
Type=Application
Comment=Capture video images
Exec=ucview
TryExec=ucview
Icon=ucview
Terminal=false
Categories=AudioVideo;Video;X-AudioVideoCapture;
StartupNotify=true

145
ucview.spec Normal file
View file

@ -0,0 +1,145 @@
Summary: Image and video capture application using unicap toolkit
Name: ucview
Version: 0.31
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
Patch0: ucview-0.31-include.patch
BuildRequires: intltool, /usr/bin/perl, perl(XML::Parser), gettext, GConf2-devel
BuildRequires: libunicapgtk-devel >= 0.2.23, gtk2-devel >= 2.8.0, libglade2-devel
BuildRequires: desktop-file-utils, dbus-glib-devel >= 0.73
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.
%package devel
Summary: Development files for UCView
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}, pkgconfig
%description devel
The ucview-devel package includes header files necessary for building
and developing programs and plugins which use UCView.
%prep
%setup -q
%patch0 -p1 -b .include
%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 --vendor "" --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
# Create plugin directory for ucview plugins
mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins
%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}
%{_libdir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_mandir}/man1/%{name}.1*
%files devel
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Sat Feb 27 2010 Robert Scheck <robert@fedoraproject.org> 0.31-1
- Upgrade to 0.31 (#530708)
* Sat Oct 24 2009 Robert Scheck <robert@fedoraproject.org> 0.30-1
- Upgrade to 0.30 (#530708)
* Sun Sep 27 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.23-4
- Update desktop file according to F-12 FedoraStudio feature
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.23-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sun May 24 2009 Robert Scheck <robert@fedoraproject.org> 0.23-2
- Readded wrongly removed build requirement to dbus-glib-devel
* Mon May 04 2009 Robert Scheck <robert@fedoraproject.org> 0.23-1
- Upgrade to 0.23
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 0.22-3
- Rebuild against gcc 4.4 and rpm 4.6
* Sun Oct 19 2008 Robert Scheck <robert@fedoraproject.org> 0.22-2
- Rebuild against unicap 0.93
* Mon Oct 13 2008 Robert Scheck <robert@fedoraproject.org> 0.22-1
- Upgrade to 0.22
* Sun Jul 27 2008 Robert Scheck <robert@fedoraproject.org> 0.21-1
- Upgrade to 0.21
* Mon May 19 2008 Robert Scheck <robert@fedoraproject.org> 0.20.1-1
- Upgrade to 0.20.1
* Sun May 18 2008 Robert Scheck <robert@fedoraproject.org> 0.17-1
- Upgrade to 0.17
- Initial spec file for Fedora and Red Hat Enterprise Linux