fix "Name" (#293871) and "Category" entries in desktop file

This commit is contained in:
Nils Philippsen 2007-09-27 12:28:03 +00:00
parent 03977d1023
commit b0e2d5677f
2 changed files with 6 additions and 7 deletions

View File

@ -2,13 +2,12 @@
Version=1.0 Version=1.0
Encoding=UTF-8 Encoding=UTF-8
Type=Application Type=Application
#Name=XSane Name=XSane
Name=Scanner Tool
GenericName=Scanner Tool GenericName=Scanner Tool
Comment=Scan images to view, copy, fax or email them Comment=Scan images to view, copy, fax or email them
Exec=xsane Exec=xsane
TryExec=xsane TryExec=xsane
Icon=/usr/share/sane/xsane/xsane-logo.xpm Icon=/usr/share/sane/xsane/xsane-logo.xpm
Terminal=false Terminal=false
Categories=Application;Graphics;2DGraphics;RasterGraphics;GTK; Categories=Graphics;2DGraphics;RasterGraphics;Scanning;GTK;
StartupNotify=true StartupNotify=true

View File

@ -3,7 +3,7 @@
Name: xsane Name: xsane
Summary: X Window System front-end for the SANE scanner interface Summary: X Window System front-end for the SANE scanner interface
Version: 0.994 Version: 0.994
Release: 3%{?dist} Release: 4%{?dist}
Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz Source0: http://www.xsane.org/download/%{name}-%{version}.tar.gz
Source1: xsane.desktop Source1: xsane.desktop
Source2: xsane.conf.in Source2: xsane.conf.in
@ -72,9 +72,6 @@ install src/xsane-gimp %{buildroot}%{_bindir}
mkdir %{buildroot}%{_datadir}/applications mkdir %{buildroot}%{_datadir}/applications
desktop-file-install --vendor %{desktop_vendor} \ desktop-file-install --vendor %{desktop_vendor} \
--dir %{buildroot}%{_datadir}/applications \ --dir %{buildroot}%{_datadir}/applications \
--add-category X-Red-Hat-Base \
--add-category X-Fedora \
--add-category Graphics \
%{SOURCE1} %{SOURCE1}
%find_lang %{name} XSANE.lang %find_lang %{name} XSANE.lang
@ -118,6 +115,9 @@ fi
%changelog %changelog
* Wed Sep 05 2007 Nils Philippsen <nphilipp@redhat.com> - 0.994-4 * Wed Sep 05 2007 Nils Philippsen <nphilipp@redhat.com> - 0.994-4
- fix "Name" (#293871) and "Category" entries in desktop file
* Wed Sep 05 2007 Nils Philippsen <nphilipp@redhat.com>
- change license to GPLv2+ - change license to GPLv2+
* Tue Apr 24 2007 Nils Philippsen <nphilipp@redhat.com> - 0.994-3 * Tue Apr 24 2007 Nils Philippsen <nphilipp@redhat.com> - 0.994-3