rpms/openshot/devel .cvsignore, 1.4, 1.5 openshot.spec, 1.3, 1.4 sources, 1.4, 1.5

Richard Shaw hobbes1069 at rpmfusion.org
Mon Feb 6 15:09:16 CET 2012


Author: hobbes1069

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

Modified Files:
	.cvsignore openshot.spec sources 
Log Message:
* Mon Feb 06 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.4.2-1
- Update to latest release.



Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/openshot/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	25 Sep 2011 17:44:53 -0000	1.4
+++ .cvsignore	6 Feb 2012 14:09:16 -0000	1.5
@@ -1 +1 @@
-openshot-1.4.0.tar.gz
+openshot-1.4.2.tar.gz


Index: openshot.spec
===================================================================
RCS file: /cvs/free/rpms/openshot/devel/openshot.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- openshot.spec	25 Sep 2011 17:44:56 -0000	1.3
+++ openshot.spec	6 Feb 2012 14:09:16 -0000	1.4
@@ -1,5 +1,5 @@
 Name:           openshot
-Version:        1.4.0
+Version:        1.4.2
 Release:        1%{?dist}
 Summary:        A GTK based non-linear video editor 
 
@@ -19,6 +19,8 @@
 #BuildRequires: gettext
 BuildRequires: desktop-file-utils
 BuildRequires: python2-devel
+# Resize icon
+BuildRequires: ImageMagick
 
 Requires:      mlt
 Requires:      mlt-python
@@ -34,6 +36,8 @@
 Requires:      librsvg2
 Requires:      frei0r-plugins
 Requires:      fontconfig
+# Needed because it owns icon directories
+Requires:      hicolor-icon-theme
 
 
 %description
@@ -56,7 +60,7 @@
 
 
 %install
-%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT 
+%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
 
 # Remove unnecessary .po files
 rm %{buildroot}%{python_sitelib}/%{name}/locale/*/*/*.po
@@ -76,6 +80,15 @@
 # Validate desktop file
 desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
 
+# Move icon files to the preferred location
+mkdir -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ \
+         %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
+mv %{buildroot}%{_datadir}/pixmaps/%{name}.svg \
+   %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/
+convert -resize 48x48 \
+	%{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg \
+	%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
+
 # modify find-lang.sh to deal with gettext .mo files under
 # openshot/locale
 %{__sed} -e 's|/share/locale/|/%{name}/locale/|' \
@@ -105,7 +118,7 @@
 %{_datadir}/omf/openshot/
 %{_bindir}/*
 %{_datadir}/applications/%{name}.desktop
-%{_datadir}/pixmaps/*
+%{_datadir}/icons/hicolor/*/apps/*
 %{_datadir}/mime/packages/*
 %dir %{python_sitelib}/%{name}
 %{python_sitelib}/%{name}/*.py*
@@ -126,6 +139,12 @@
 
 
 %changelog
+* Mon Feb 06 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.4.2-1
+- Update to latest release.
+
+* Mon Jan 30 2012 Richard Shaw <hobbes1069 at gmail.com> - 1.4.1-1
+- Update to latest release.
+
 * Fri Sep 23 2011 Richard Shaw <hobbes1069 at gmail.com> - 1.4.0-1
 - New release.
 


Index: sources
===================================================================
RCS file: /cvs/free/rpms/openshot/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	25 Sep 2011 17:44:56 -0000	1.4
+++ sources	6 Feb 2012 14:09:16 -0000	1.5
@@ -1 +1 @@
-3061a49af6d1cbd9b1558b9f2b0ba8e2  openshot-1.4.0.tar.gz
+16fea75be6b1fc9d31c6a30a81f85a38  openshot-1.4.2.tar.gz



More information about the rpmfusion-commits mailing list