rpms/qsynth/devel qsynth.spec,1.6,1.7

Michel Alexandre Salim salimma at fedoraproject.org
Sat Sep 6 03:57:02 UTC 2008


Author: salimma

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

Modified Files:
	qsynth.spec 
Log Message:
- Fix desktop file and AUTHORS; commit to F-9 branch




Index: qsynth.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qsynth/devel/qsynth.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- qsynth.spec	6 Sep 2008 01:47:45 -0000	1.6
+++ qsynth.spec	6 Sep 2008 03:56:32 -0000	1.7
@@ -27,23 +27,29 @@
 %prep
 %setup -q
 %patch0 -p1 -b .qt4
+iconv --from=ISO88591 --to=UTF8 AUTHORS -o AUTHORS
+
 
 %build
 %configure
 %{__make} %{?_smp_mflags}
 
+
 %install
 %{__rm} -rf %{buildroot}
 %{__make} DESTDIR=%{buildroot} install
 
 # desktop file categories
-#BASE="X-Fedora Application AudioVideo"
-#XTRA="X-Jack X-Synthesis"
+INCORRECT="Applications Multimedia MIDI JACK ALSA"
+BASE="Audio"
+XTRA="X-MIDI X-Jack X-Alsa X-Synthesis"
 
 %{__mkdir} -p %{buildroot}%{_datadir}/applications
 desktop-file-install --vendor %{desktop_vendor} \
-  --delete-original		     
+  --delete-original \
   --dir %{buildroot}%{_datadir}/applications    \
+  `for c in ${INCORRECT} ; do echo "--remove-category $c " ; done` \
+  `for c in ${BASE} ${XTRA} ; do echo "--add-category $c " ; done` \
   %{buildroot}%{_datadir}/applications/qsynth.desktop
 
 




More information about the fedora-extras-commits mailing list