auto-import changelog data from xsane-0.84-6.src.rpm
Tue Jul 23 2002 Tim Waugh <twaugh@redhat.com> 0.84-7 - Desktop file fixes (bug #69555). Mon Jul 15 2002 Tim Waugh <twaugh@redhat.com> 0.84-6 - Use desktop-file-install.
This commit is contained in:
parent
4b9ea9d098
commit
bdd4844640
26
xsane.spec
26
xsane.spec
@ -1,13 +1,14 @@
|
|||||||
Name: xsane
|
Name: xsane
|
||||||
Summary: An X Window System front-end for the SANE scanner interface.
|
Summary: An X Window System front-end for the SANE scanner interface.
|
||||||
Version: 0.84
|
Version: 0.84
|
||||||
Release: 5
|
Release: 6
|
||||||
Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz
|
Source: http://www.xsane.org/download/%{name}-%{version}.tar.gz
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.xsane.org/
|
URL: http://www.xsane.org/
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
Buildroot: %{_tmppath}/%{name}-buildroot
|
Buildroot: %{_tmppath}/%{name}-buildroot
|
||||||
BuildPrereq: sane-backends-devel gimp-devel libpng-devel libjpeg-devel
|
BuildPrereq: sane-backends-devel gimp-devel libpng-devel libjpeg-devel
|
||||||
|
BuildRequires: desktop-file-utils >= 0.2.92
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -49,16 +50,25 @@ install src/xsane-gimp %{buildroot}%{_bindir}
|
|||||||
|
|
||||||
mkdir -p %{buildroot}/etc/X11/applnk/Graphics
|
mkdir -p %{buildroot}/etc/X11/applnk/Graphics
|
||||||
|
|
||||||
cat > %{buildroot}/etc/X11/applnk/Graphics/xsane.desktop <<EOF
|
cat > xsane.desktop <<EOF
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=XSane
|
Encoding=UTF-8
|
||||||
|
Name=Scanning
|
||||||
Name[sv]=XSane
|
Name[sv]=XSane
|
||||||
|
Comment=XSane
|
||||||
Type=Application
|
Type=Application
|
||||||
Description=A GIMP plugin which provides a scanner interface.
|
Description=A GIMP plugin which provides a scanner interface.
|
||||||
Description[sv]=Ett GIMP-insticksprogram som erbjuder ett bildläsargränssnitt.
|
Description[sv]=Ett GIMP-insticksprogram som erbjuder ett bildläsargränssnitt.
|
||||||
Exec=xsane
|
Exec=xsane
|
||||||
Icon=/usr/share/pixmaps/sane.png
|
Icon=/usr/share/pixmaps/sane.png
|
||||||
EOF
|
EOF
|
||||||
|
mkdir $RPM_BUILD_ROOT%{_datadir}/applications
|
||||||
|
desktop-file-install --vendor net --delete-original \
|
||||||
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
|
--add-category X-Red-Hat-Base \
|
||||||
|
--add-category Graphics \
|
||||||
|
--add-category Application \
|
||||||
|
xsane.desktop
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -67,7 +77,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc xsane.[A-Z]*
|
%doc xsane.[A-Z]*
|
||||||
%config(missingok) /etc/X11/applnk/Graphics/xsane.desktop
|
%{_datadir}/applications/*
|
||||||
%{_bindir}/xsane
|
%{_bindir}/xsane
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_datadir}/sane
|
%{_datadir}/sane
|
||||||
@ -96,7 +106,13 @@ if [ $1 = 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
* Tue Jul 23 2002 Tim Waugh <twaugh@redhat.com> 0.84-7
|
||||||
|
- Desktop file fixes (bug #69555).
|
||||||
|
|
||||||
|
* Mon Jul 15 2002 Tim Waugh <twaugh@redhat.com> 0.84-6
|
||||||
|
- Use desktop-file-install.
|
||||||
|
|
||||||
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com> 0.84-5
|
||||||
- automated rebuild
|
- automated rebuild
|
||||||
|
|
||||||
* Wed Jun 12 2002 Tim Waugh <twaugh@redhat.com> 0.84-4
|
* Wed Jun 12 2002 Tim Waugh <twaugh@redhat.com> 0.84-4
|
||||||
|
Loading…
Reference in New Issue
Block a user