[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/xsane/devel xsane.spec,1.34,1.35



Author: nphilipp

Update of /cvs/dist/rpms/xsane/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv8758

Modified Files:
	xsane.spec 
Log Message:
fix desktop file installation



Index: xsane.spec
===================================================================
RCS file: /cvs/dist/rpms/xsane/devel/xsane.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- xsane.spec	8 Jun 2006 13:51:30 -0000	1.34
+++ xsane.spec	8 Jun 2006 15:18:47 -0000	1.35
@@ -1,3 +1,5 @@
+%define desktop_vendor fedora
+
 Name: xsane
 Summary: An X Window System front-end for the SANE scanner interface.
 Version: 0.99
@@ -68,9 +70,10 @@
 install -m 0755 %SOURCE1 %{buildroot}%{_sbindir}/xsane-install-gimp-plugin
 
 mkdir %{buildroot}%{_datadir}/applications
-desktop-file-install --vendor net --delete-original     \
+desktop-file-install --vendor %{desktop_vendor}         \
     --dir %{buildroot}%{_datadir}/applications          \
     --add-category X-Red-Hat-Base                       \
+    --add-category X-Fedora                             \
     --add-category Graphics                             \
     --add-category Application                          \
     %{SOURCE2}
@@ -88,7 +91,7 @@
 %{_mandir}/man1/*
 %{_datadir}/sane
 %dir %{_datadir}/applications
-%{_datadir}/applications/xsane.desktop
+%{_datadir}/applications/%{desktop_vendor}-xsane.desktop
 
 %files gimp
 %defattr(-,root,root)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]