diff --git a/xsane.spec b/xsane.spec index 727a80b..bb453ef 100644 --- a/xsane.spec +++ b/xsane.spec @@ -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 @@ mkdir -p %{buildroot}%{_sbindir} 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 @@ rm -rf %{buildroot} %{_mandir}/man1/* %{_datadir}/sane %dir %{_datadir}/applications -%{_datadir}/applications/xsane.desktop +%{_datadir}/applications/%{desktop_vendor}-xsane.desktop %files gimp %defattr(-,root,root)