Projects
Multimedia
wxcam
wxcam.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wxcam.spec of Package wxcam (Revision 5)
Currently displaying revision
5
,
Show latest
# vim: set ts=4 sw=4 et: # Copyright (c) 2007 Herbert Graeber # Copyright (c) 2010 Axel Koellhofer # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments to herbert@links2linux.de or axel@links2linux.de %define CImg_version 139 Name: wxcam Version: 1.0.7 Release: 0 Summary: Webcam application for linux License: GNU General Public License version 2 or later (GPLv2 or later) Group: Productivity/Graphics/Other URL: http://wxcam.sourceforge.net Source0: http://downloads.sourceforge.net/wxcam/wxcam-%{version}.tar.bz2 # Header Cimg.h taken from version 1.3.9 of the CImg-library # This file is licensed under the "CeCILL free software license" # See http://cimg.sourceforge.net/ for more information Source1: CImg-%{CImg_version}.h.bz2 Source2: Licence_CeCILL_V2-en.txt Source100: %{name}.changes Patch0: wxcam-CImg.h.diff Patch1: %{name}-%{version}-fix_no_return_in_nonvoid_function.patch Patch2: wxcam-fix_desktop_file.patch Buildrequires: gcc-c++ pkg-config perl-XML-Parser update-desktop-files BuildRequires: gtk2-devel libglade2-devel libtiff-devel libjpeg-devel Buildrequires: xvid-devel mjpegtools-devel intltool %if 0%{?suse_version} > 1130 BuildRequires: wxWidgets-devel %else BuildRequires: wxGTK-devel #wxGTK-gl wxGTK-compat %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description wxCam is a webcam application for linux. It supports video recording (in an avi uncompressed and Xvid format), snapshot taking, and some special commands for philips webcams, so you can also use the program for astronomy purposes. It supports video4linux 1 drivers, so it should work on a very large number of devices. %prep %setup -q bzcat %{SOURCE1} > src/CImg.h cp %{SOURCE2} License_CImg %patch0 -p0 %patch1 -p0 %patch2 -p0 # set some reasonable permissions for documentation files chmod 0644 COPYING %build %configure --docdir=%{_defaultdocdir} %__make %{?_smp_mflags} V=1 %install %makeinstall %__rm -r "%{buildroot}/usr/doc" %suse_update_desktop_file -i -r -N "Webcam Application" -G "Webcam Application" %{name} Graphics Photography GTK %find_lang %{name} %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -f %{name}.lang %defattr(-,root,root) %doc COPYING License_CImg %{_bindir}/wxcam %{_datadir}/applications/wxcam.desktop %{_datadir}/pixmaps/%{name}.png %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.