rpms/openshot/devel openshot.spec,1.4,1.5

Richard Shaw hobbes1069 at rpmfusion.org
Mon Feb 6 20:30:12 CET 2012


Author: hobbes1069

Update of /cvs/free/rpms/openshot/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv17021

Modified Files:
	openshot.spec 
Log Message:
Spec tweak for icon file.


Index: openshot.spec
===================================================================
RCS file: /cvs/free/rpms/openshot/devel/openshot.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- openshot.spec	6 Feb 2012 14:09:16 -0000	1.4
+++ openshot.spec	6 Feb 2012 19:30:12 -0000	1.5
@@ -1,6 +1,6 @@
 Name:           openshot
 Version:        1.4.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A GTK based non-linear video editor 
 
 Group:          Applications/Multimedia
@@ -18,7 +18,7 @@
 
 #BuildRequires: gettext
 BuildRequires: desktop-file-utils
-BuildRequires: python2-devel
+BuildRequires: python-devel
 # Resize icon
 BuildRequires: ImageMagick
 
@@ -85,9 +85,11 @@
          %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
 mv %{buildroot}%{_datadir}/pixmaps/%{name}.svg \
    %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
-convert -resize 48x48 \
+convert -resize 48x48 -strip \
 	%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg \
 	%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
+# Take more drastic action because -strip doesn't seem to work in F15
+sed -i 's|%{buildroot}||g' %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
 
 # modify find-lang.sh to deal with gettext .mo files under
 # openshot/locale
@@ -139,6 +141,11 @@
 
 
 %changelog
+* Mon Feb 06 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.4.2-2
+- Update to latest release.
+- Fixed small build problem with the buildroot path finding it's way into
+  a packaged file.
+
 * Mon Feb 06 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.4.2-1
 - Update to latest release.
 



More information about the rpmfusion-commits mailing list