rpms/mscore/devel mscore.spec,1.3,1.4

Orcan Ogetbil oget at fedoraproject.org
Thu Aug 6 04:03:47 UTC 2009


Author: oget

Update of /cvs/pkgs/rpms/mscore/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv10430

Modified Files:
	mscore.spec 
Log Message:
* Wed Aug 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 0.9.4-6
- Update the .desktop file



Index: mscore.spec
===================================================================
RCS file: /cvs/pkgs/rpms/mscore/devel/mscore.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- mscore.spec	25 Jul 2009 15:16:25 -0000	1.3
+++ mscore.spec	6 Aug 2009 04:03:47 -0000	1.4
@@ -9,7 +9,7 @@
 Name:          mscore
 Summary:       Music Composition & Notation Software
 Version:       0.9.4
-Release:       5%{?dist}
+Release:       6%{?dist}
 # rtf2html is LGPLv2+
 # paper4.png paper5.png are LGPLv3
 # the rest is GPLv2
@@ -142,6 +142,9 @@ sed -i 's|relStaff %%d, %%d|relStaff %%d
 # Remove preshipped fonts. We will build them from source
 rm -f %{name}/%{name}/fonts/*.ttf
 
+# Fix GenericName
+sed -i 's|GenericName=.*|GenericName=Music Score Typesetter|' %{name}/packaging/mscore.desktop
+
 %build
 # Build the actual program
 mkdir build
@@ -167,7 +170,13 @@ mkdir -p %{buildroot}/%{_fontdir}
 install -pm 644 %{name}/%{name}/fonts/%{fontfamilyname}*.ttf %{buildroot}/%{_fontdir}
 
 # Desktop file
-desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
+desktop-file-install \
+   --dir=%{buildroot}/%{_datadir}/applications \
+   --remove-category="Application" \
+   --add-category="X-Notation" \
+   --remove-category="Sequencer" \
+   --remove-category="AudioVideoEditing" \
+   %{buildroot}/%{_datadir}/applications/%{name}.desktop
 
 # Move images to the freedesktop location
 mkdir -p %{buildroot}/%{_datadir}/icons/hicolor/{32x32,64x64}/apps/
@@ -231,6 +240,9 @@ gtk-update-icon-cache %{_datadir}/icons/
 %endif
 
 %changelog
+* Wed Aug 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 0.9.4-6
+- Update the .desktop file
+
 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 




More information about the scm-commits mailing list