From 37dd373d8140304ff83491734359c5f290990fb5 Mon Sep 17 00:00:00 2001 From: Orcan Ogetbil Date: Aug 06 2009 04:03:47 +0000 Subject: - Update the .desktop file --- diff --git a/mscore.spec b/mscore.spec index ff9d96c..03c3240 100644 --- a/mscore.spec +++ b/mscore.spec @@ -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, %%zd|' %{name}/%{name}/importxml.cpp # 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/hicolor &>/dev/null || : %endif %changelog +* Wed Aug 05 2009 Orcan Ogetbil 0.9.4-6 +- Update the .desktop file + * Sat Jul 25 2009 Fedora Release Engineering - 0.9.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild