Changes of Revision 2
wxcam.spec
Changed
x
1
2
+# vim: set ts=4 sw=4 et:
3
# Copyright (c) 2007 Herbert Graeber
4
# Copyright (c) 2010 Axel Koellhofer
5
# This file and all modifications and additions to the pristine
6
7
#
8
# Please submit bugfixes or comments to herbert@links2linux.de or axel@links2linux.de
9
10
-# norootforbuild
11
-
12
%define CImg_version 139
13
14
-Name: wxcam
15
-Version: 1.0.7
16
-Release: 0
17
-Summary: A webcam application for linux
18
-License: GPL
19
-Group: Productivity/Graphics/Other
20
-URL: http://wxcam.sourceforge.net
21
-Source0: http://downloads.sourceforge.net/wxcam/wxcam-%{version}.tar.bz2
22
+Name: wxcam
23
+Version: 1.0.7
24
+Release: 0
25
+Summary: Webcam application for linux
26
+License: GNU General Public License version 2 or later (GPLv2 or later)
27
+Group: Productivity/Graphics/Other
28
+URL: http://wxcam.sourceforge.net
29
+Source0: http://downloads.sourceforge.net/wxcam/wxcam-%{version}.tar.bz2
30
# Header Cimg.h taken from version 1.3.9 of the CImg-library
31
# This file is licensed under the "CeCILL free software license"
32
# See http://cimg.sourceforge.net/ for more information
33
-Source1: CImg-%{CImg_version}.h.bz2
34
-Source2: Licence_CeCILL_V2-en.txt
35
-Source100: %{name}.changes
36
-Patch0: wxcam-CImg.h.diff
37
-Patch1: %{name}-%{version}-fix_no_return_in_nonvoid_function.patch
38
-Buildrequires: gcc-c++ pkg-config perl-XML-Parser update-desktop-files
39
-BuildRequires: gtk2-devel libglade2-devel libtiff-devel libjpeg-devel
40
-Buildrequires: xvid-devel mjpegtools-devel intltool
41
-#%if 0%{?suse_version} >= 1130
42
-#BuildRequires: wxGTK-devel wxGTK-gl wxGTK-compat
43
-#%else
44
-BuildRequires: wxWidgets-devel
45
-#%endif
46
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
47
+Source1: CImg-%{CImg_version}.h.bz2
48
+Source2: Licence_CeCILL_V2-en.txt
49
+Source100: %{name}.changes
50
+Patch0: wxcam-CImg.h.diff
51
+Patch1: %{name}-%{version}-fix_no_return_in_nonvoid_function.patch
52
+Buildrequires: gcc-c++ pkg-config perl-XML-Parser update-desktop-files
53
+BuildRequires: gtk2-devel libglade2-devel libtiff-devel libjpeg-devel
54
+Buildrequires: xvid-devel mjpegtools-devel intltool
55
+%if 0%{?suse_version} > 1130
56
+BuildRequires: wxWidgets-devel
57
+%else
58
+BuildRequires: wxGTK-devel
59
+#wxGTK-gl wxGTK-compat
60
+%endif
61
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
62
63
%description
64
wxCam is a webcam application for linux. It supports video recording (in an
65
66
It supports video4linux 1 drivers, so it should work on a very large number
67
of devices.
68
69
-
70
-
71
%prep
72
%setup -q
73
74
75
chmod 0644 COPYING
76
77
%build
78
-%configure --docdir=%{_defaultdocdir} \
79
+%configure --docdir=%{_defaultdocdir}
80
81
-make %{?_smp_mflags}
82
+%__make %{?_smp_mflags} V=1
83
84
%install
85
%makeinstall
86
-%{__rm} -r %{buildroot}/usr/doc
87
+%__rm -r "%{buildroot}/usr/doc"
88
89
%suse_update_desktop_file -i -r -N "Webcam Application" -G "Webcam Application" %{name} Graphics Photography GTK
90
91