gv4l/gv4l.spec

Name: gv4l
Summary: Video-For-Linux frontend of transcode
Version: 2.2.3
Release: 1
License: GPL
Group: Applications/Multimedia
URL: http://gv4l.sourceforge.net/
Description: Gv4l is a gui frontend for the v4l (Video For Linux) functions of transcode.

CentOS 7 x86_64

The build could not start because the following file is missing: gv4l-2.2.3.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: gv4l-2.2.3.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Todor T. Zviskov <warder$warder,ath,cx>

%define desktop_vendor rpmforge

Summary: Video-For-Linux frontend of transcode
Name: gv4l
Version: 2.2.3
Release: 1%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://gv4l.sourceforge.net/

Source: http://dl.sf.net/gv4l/gv4l-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root


BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: desktop-file-utils
Requires: transcode >= 0.6.7, xawtv

%description
Gv4l is a gui frontend for the v4l (Video For Linux) functions of transcode.

%prep
%setup

### FIXME: The default gv4l desktop file has buildroot in it. (Please fix upstream)
%{__cat} <<EOF >%{name}.desktop
[Desktop Entry]
Name=Gv4l Video Recorder
Comment=Schedule and record from a video4linux device
Icon=gv4l/gv4l.png
Exec=gv4l
Terminal=false
Type=Application
Categories=GNOME;Application;AudioVideo;
EOF

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%makeinstall

desktop-file-install --vendor %{desktop_vendor}    \
	--add-category X-Red-Hat-Base              \
	--dir %{buildroot}%{_datadir}/applications \
	%{name}.desktop

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README TODO
%{_bindir}/*
%{_datadir}/pixmaps/gv4l/
%{_datadir}/applications/*.desktop

%changelog
* Mon Mar 22 2004 Dag Wieers <dag@wieers.com> - 2.2.3-1
- Updated to release 2.2.3.

* Fri Jan 02 2004 Dag Wieers <dag@wieers.com> - 2.2.2-0
- Updated to release 2.2.2.

* Thu Dec 04 2003 Dag Wieers <dag@wieers.com> - 2.1.0-1
- Re-added desktop file. (Alfredo Milani-Comparetti)

* Mon Sep 08 2003 Dag Wieers <dag@wieers.com> - 2.1.0-0
- Updated to release 2.1.0.

* Tue Sep 02 2003 Dag Wieers <dag@wieers.com> - 2.0.2-0
- Updated to release 2.0.2.

* Sun Jul 13 2003 Dag Wieers <dag@wieers.com> - 2.0.1-0
- Updated to release 2.0.1.

* Thu Jul 03 2003 Dag Wieers <dag@wieers.com> - 2.0.0-0
- Updated to release 2.0.0.

* Wed Feb 12 2003 Dag Wieers <dag@wieers.com> - 1.91-1
- Added .desktop file.

* Sun Jan 19 2003 Dag Wieers <dag@wieers.com> - 1.91-0
- Initial package. (using DAR)