Changes of Revision 3

wxcam.changes Changed
x
 
1
@@ -1,4 +1,10 @@
2
 -------------------------------------------------------------------
3
+Fri Apr  1 15:46:56 UTC 2011 - pascal.bleser@opensuse.org
4
+
5
+- add patch to fix Icon attribute in .desktop file; thanks to Stephan Hegel for
6
+  reporting
7
+
8
+-------------------------------------------------------------------
9
 Mon Dec 27 14:06:27 UTC 2010 - packman@links2linux.de -1.0.7
10
 
11
 - updated to 1.0.7
12
wxcam.spec Changed
27
 
1
@@ -24,6 +24,7 @@
2
 Source100:      %{name}.changes
3
 Patch0:         wxcam-CImg.h.diff
4
 Patch1:         %{name}-%{version}-fix_no_return_in_nonvoid_function.patch
5
+Patch2:         wxcam-fix_desktop_file.patch
6
 Buildrequires:  gcc-c++ pkg-config perl-XML-Parser update-desktop-files
7
 BuildRequires:  gtk2-devel libglade2-devel libtiff-devel libjpeg-devel 
8
 Buildrequires:  xvid-devel mjpegtools-devel intltool
9
@@ -50,6 +51,7 @@
10
 
11
 %patch0 -p0
12
 %patch1 -p0
13
+%patch2 -p0
14
 
15
 # set some reasonable permissions for documentation files
16
 chmod 0644 COPYING 
17
@@ -67,6 +69,9 @@
18
 
19
 %find_lang %{name}
20
 
21
+%clean
22
+%{?buildroot:%__rm -rf "%{buildroot}"}
23
+
24
 %files -f %{name}.lang
25
 %defattr(-,root,root)
26
 %doc COPYING License_CImg
27
wxcam-fix_desktop_file.patch Added
13
 
1
@@ -0,0 +1,11 @@
2
+--- wxcam.desktop.orig 2011-04-01 17:45:32.000000000 +0200
3
++++ wxcam.desktop  2011-04-01 17:45:36.000000000 +0200
4
+@@ -2,7 +2,7 @@
5
+ Name=Webcam Application
6
+ Comment=wxCam webcam application
7
+ Exec=wxcam
8
+-Icon=wxcam.png
9
++Icon=wxcam
10
+ Terminal=false
11
+ Type=Application
12
+ Encoding=UTF-8
13