rpms/v4l2ucp/F-9 v4l2ucp.desktop, NONE, 1.1 v4l2ucp.png, NONE, 1.1 v4l2ucp.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Hans de Goede jwrdegoede at fedoraproject.org
Fri Oct 24 09:16:10 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/v4l2ucp/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14230

Modified Files:
	.cvsignore sources 
Added Files:
	v4l2ucp.desktop v4l2ucp.png v4l2ucp.spec 
Log Message:
* Thu Oct 23 2008 Hans de Goede <hdegoede at redhat.com> 1.2-2
- Fix the rpm group
- Add a comment about the source of the icon we're using



--- NEW FILE v4l2ucp.desktop ---
[Desktop Entry]
Name=Video4Linux Control Panel
Comment=Control brightness / contrast / etc. of video input devices
Exec=v4l2ucp
Icon=v4l2ucp
Terminal=false
StartupNotify=false
Type=Application
Categories=AudioVideo;


--- NEW FILE v4l2ucp.spec ---
Name:           v4l2ucp
Version:        1.2
Release:        2%{?dist}
Summary:        Video4linux universal control panel
Group:          Applications/Multimedia
License:        GPLv2+
URL:            http://v4l2ucp.sourceforge.net/
Source0:        http://downloads.sourceforge.net/v4l2ucp/v4l2ucp-%{version}.tar.gz
Source1:        %{name}.desktop
# This image was taken from camorama, which is also licensed GPLv2+
Source2:        %{name}.png
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  qt3-devel libXi-devel libXmu-devel desktop-file-utils
Requires:       hicolor-icon-theme

%description
v4l2 is a control panel for video4linux2 devices, it reads a description of the
controls that the V4L2 device supports from the device, and presents the user
with a graphical means for adjusting those controls. It allows for controlling
multiple devices. Controls can be updated with the device status either
manually, or periodically and there is an easy way to reset one or all the
controls to their default state.


%prep
%setup -q


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# below is the desktop file and icon stuff.
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
desktop-file-install --vendor fedora            \
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  %{SOURCE1}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
install -p -m 644 %{SOURCE2} \
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps


%clean
rm -rf $RPM_BUILD_ROOT


%post
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi

%postun
touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi


%files
%defattr(-,root,root,-)
%doc COPYING README
%{_bindir}/%{name}
%{_datadir}/applications/fedora-%{name}.desktop
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png


%changelog
* Thu Oct 23 2008 Hans de Goede <hdegoede at redhat.com> 1.2-2
- Fix the rpm group
- Add a comment about the source of the icon we're using

* Thu Oct 23 2008 Hans de Goede <hdegoede at redhat.com> 1.2-1
- Initial Fedora package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/v4l2ucp/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Oct 2008 19:59:38 -0000	1.1
+++ .cvsignore	24 Oct 2008 09:15:40 -0000	1.2
@@ -0,0 +1 @@
+v4l2ucp-1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/v4l2ucp/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Oct 2008 19:59:39 -0000	1.1
+++ sources	24 Oct 2008 09:15:40 -0000	1.2
@@ -0,0 +1 @@
+d2b82fc666c285274fd849bf28dca206  v4l2ucp-1.2.tar.gz




More information about the fedora-extras-commits mailing list