rpms/ucview/F-7 ucview.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Robert Scheck (robert) fedora-extras-commits at redhat.com
Mon May 19 19:20:46 UTC 2008


Author: robert

Update of /cvs/pkgs/rpms/ucview/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1165/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	ucview.spec 
Log Message:
Initial import of ucview


--- NEW FILE ucview.spec ---
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 <robert at fedoraproject.org> 0.17-1
- Upgrade to 0.17
- Initial spec file for Fedora and Red Hat Enterprise Linux


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ucview/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 May 2008 16:26:29 -0000	1.1
+++ .cvsignore	19 May 2008 19:18:56 -0000	1.2
@@ -0,0 +1,2 @@
+ucview-0.17.tar.gz
+ucview.desktop


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ucview/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 May 2008 16:26:29 -0000	1.1
+++ sources	19 May 2008 19:18:56 -0000	1.2
@@ -0,0 +1,2 @@
+e241951a418db9bd66d8da612af15328  ucview-0.17.tar.gz
+6a9ab0f416ba59bc3aea70011271ba57  ucview.desktop




More information about the fedora-extras-commits mailing list