Blame SPECS/desktop-file-utils.spec

0687f1
%global pkg desktop-file-utils
0687f1
%global pkgname desktop-file-utils
0687f1
0687f1
Summary: Utilities for manipulating .desktop files
0687f1
Name: desktop-file-utils
0687f1
Version: 0.23
0687f1
Release: 2%{?dist}
0687f1
URL: https://www.freedesktop.org/software/desktop-file-utils
0687f1
Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
0687f1
Source1: desktop-entry-mode-init.el
0687f1
# Add Pantheon to the list of desktop environments (#1333550, fdo#97385)
0687f1
# upstream patch by David Faure
0687f1
# https://cgit.freedesktop.org/xdg/desktop-file-utils/commit/?id=5b88c95c45e91781aed441c446210c6979350c3f
0687f1
Patch0: desktop-file-utils-0.23-add-pantheon.patch
0687f1
# Add 'font' as a valid media type (#1564650, fdo#105785)
0687f1
# patch from Matthias Clasen
0687f1
Patch1: desktop-file-utils-0.23-font-media.patch
0687f1
License: GPLv2+
0687f1
Group: Development/Tools
0687f1
0687f1
BuildRequires: glib2-devel
0687f1
BuildRequires: emacs
0687f1
Requires: emacs-filesystem
0687f1
Provides: emacs-%{pkg} = %{version}-%{release}
0687f1
Provides: emacs-%{pkg}-el = %{version}-%{release}
0687f1
Obsoletes: emacs-%{pkg} < 0.20-3
0687f1
Obsoletes: emacs-%{pkg}-el < 0.20-3
0687f1
0687f1
%description
0687f1
.desktop files are used to describe an application for inclusion in
0687f1
GNOME or KDE menus.  This package contains desktop-file-validate which
0687f1
checks whether a .desktop file complies with the specification at
0687f1
http://www.freedesktop.org/standards/, and desktop-file-install
0687f1
which installs a desktop file to the standard directory, optionally
0687f1
fixing it up in the process.
0687f1
0687f1
0687f1
%prep
0687f1
%autosetup -p1
0687f1
0687f1
%build
0687f1
%configure
0687f1
make %{?_smp_mflags}
0687f1
0687f1
%install
0687f1
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
0687f1
0687f1
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
0687f1
mv $RPM_BUILD_ROOT%{_emacs_sitelispdir}/*.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{pkg}
0687f1
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.el
0687f1
touch $RPM_BUILD_ROOT%{_emacs_sitestartdir}/desktop-entry-mode-init.elc
0687f1
0687f1
%files
0687f1
%doc AUTHORS COPYING README NEWS
0687f1
%{_bindir}/*
0687f1
%{_mandir}/man1/desktop-file-install.1.gz
0687f1
%{_mandir}/man1/desktop-file-validate.1.gz
0687f1
%{_mandir}/man1/update-desktop-database.1.gz
0687f1
%{_mandir}/man1/desktop-file-edit.1.gz
0687f1
%{_emacs_sitestartdir}/desktop-entry-mode-init.el
0687f1
%ghost %{_emacs_sitestartdir}/desktop-entry-mode-init.elc
0687f1
%{_emacs_sitelispdir}/%{pkg}
0687f1
0687f1
%changelog
0687f1
* Fri Mar 01 2019 Ray Strode <rstrode@redhat.com> - 0.23-2
0687f1
- Add font as valid media type
0687f1
  Resolves: #1649233
0687f1
0687f1
* Thu Nov 24 2016 Kalev Lember <klember@redhat.com> - 0.23-1
0687f1
- Update to 0.23
0687f1
- Resolves: #1386844
0687f1
0687f1
* Thu Apr 30 2015 Ray Strode <rstrode@redhat.com> 0.22-1
0687f1
- Update to 0.22
0687f1
  Resolves: #1217519
0687f1
0687f1
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.21-4
0687f1
- Mass rebuild 2014-01-24
0687f1
0687f1
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.21-3
0687f1
- Mass rebuild 2013-12-27
0687f1
0687f1
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
0687f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0687f1
0687f1
* Fri Oct 19 2012 Kalev Lember <kalevlember@gmail.com> - 0.21-1
0687f1
- Update to 0.21
0687f1
0687f1
* Thu Sep 06 2012 Dan Mashal <dan.mashal@fedoraproject.org> 0.20-4
0687f1
- Update F17 to 0.20 (#847097).
0687f1
0687f1
* Sat Aug 11 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.20-3
0687f1
- Fold emacs-* subpackages into main (#690264).
0687f1
0687f1
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
0687f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
0687f1
0687f1
* Fri May 18 2012 Matthias Clasen <mclasen@redhat.com> - 0.20-1
0687f1
- Update to 0.20
0687f1
0687f1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-6
0687f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
0687f1
0687f1
* Fri Dec 23 2011 Matthias Clasen <mclasen@redhat.com> - 0.19-5
0687f1
- Fix up locale lists just like other lists
0687f1
0687f1
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 0.19-1
0687f1
- Update to 0.19: support for Unity as desktop env, and support
0687f1
  for Keywords
0687f1
0687f1
* Mon Jul 04 2011 Adam Williamson <awilliam@redhat.com> - 0.18-4
0687f1
- add unity.patch from upstream: add Unity to list of registered
0687f1
  environments
0687f1
0687f1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-3
0687f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
0687f1
0687f1
* Sun Jan 30 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.18-2
0687f1
- Add desktop-entry-mode-init.el, fix emacs site-start dir ownership.
0687f1
0687f1
* Thu Jan 13 2011 Matthias Clasen <mclasen@redhat.com> - 0.18-1
0687f1
- Update to 0.18
0687f1
0687f1
* Fri Nov  5 2010 Matthias Clasen <mclasen@redhat.com> - 0.16-3
0687f1
- Don't warn about x-scheme-handler pseudo-mime-types
0687f1
0687f1
* Sat Sep 25 2010 Parag Nemade <paragn AT fedoraproject.org> - 0.16-2
0687f1
- Merge-review cleanup (#225681)
0687f1
0687f1
* Thu Apr  1 2010 Matthias Clasen <mclasen@redhat.com> 0.16-1
0687f1
- Update to 0.16
0687f1
0687f1
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-8
0687f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0687f1
0687f1
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-7
0687f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0687f1
0687f1
* Wed Feb 04 2009 Richard Hughes <rhughes@redhat.com> - 0.15-6
0687f1
- Panu seems to be shipping the prov file in rpmbuild. Remove it here until we
0687f1
  work out where it belongs.
0687f1
0687f1
* Wed Feb 04 2009 Richard Hughes <rhughes@redhat.com> - 0.15-5
0687f1
- Panu merged the rpm bits for this feature, but we've got a new provides
0687f1
  filename. Respin this package with the new name.
0687f1
0687f1
* Thu Jan 22 2009 Richard Hughes <rhughes@redhat.com> - 0.15-4
0687f1
- Rename desktop-mime-type.prov to desktop_mime_type.prov and add the tiny
0687f1
  macros.desktop_mime_type file so that we can trivially patch rpm to enable
0687f1
  this new functionality.
0687f1
0687f1
* Fri May 02 2008 Richard Hughes <rhughes@redhat.com> - 0.15-3
0687f1
- Add desktop-mime-type.prov so that we can automatically
0687f1
  generate mimetype provides for packages at build time.
0687f1
  This lets us do some cool things with PackageKit in the future.
0687f1
0687f1
* Wed Mar 19 2008 Ray Strode <rstrode@redhat.com> - 0.15-2
0687f1
- Drop old unneeded obsoletes on desktop-file-validator
0687f1
(bug 225681)
0687f1
0687f1
* Tue Mar  4 2008 Matthias Clasen <mclasen@redhat.com> - 0.15-1
0687f1
- Update to 0.15
0687f1
- Drop upstreamed patch
0687f1
0687f1
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.14-3
0687f1
- Autorebuild for GCC 4.3
0687f1
0687f1
* Thu Dec  6 2007 Ray Strode <rstrode@redhat.com> 0.14-2
0687f1
- make icon extension a warning not an error
0687f1
0687f1
* Fri Nov 30 2007 Christopher Stone <chris.stone@gmail.com> 0.14-1
0687f1
- Upstream sync
0687f1
- Remove no longer needed short option patch
0687f1
0687f1
* Wed Aug 15 2007 Matthias Clasen <mclasen@redhat.com> - 0.13-3
0687f1
- Make the -m option work (#232761)
0687f1
0687f1
* Mon Aug  6 2007 Matthias Clasen <mclasen@redhat.com> - 0.13-2
0687f1
- Update license field
0687f1
0687f1
* Tue Jun  5 2007 Matthias Clasen <mclasen@redhat.com> - 0.13-1
0687f1
- Update to 0.13, which features a completely rewritten validator
0687f1
0687f1
* Thu Mar 08 2007 Florian La Roche <laroche@redhat.com> - 0.12-4
0687f1
- remove empty post/preun scripts completely
0687f1
0687f1
* Tue Nov 28 2006 Ray Strode <rstrode@redhat.com> - 0.12-3
0687f1
- drop some rm -f cruft
0687f1
- don't call update-desktop-database from %%post or %%postun
0687f1
0687f1
* Tue Nov 28 2006 Ray Strode <rstrode@redhat.com> - 0.12-2
0687f1
- make --vendor optional
0687f1
0687f1
* Tue Nov 28 2006 Ray Strode <rstrode@redhat.com> - 0.12-1
0687f1
- Update to 0.12
0687f1
0687f1
* Fri Oct 27 2006 Ray Strode <rstrode@redhat.com> - 0.11-4
0687f1
- commit the fix attempted in 0.11-2 and 0.11-3 to the right
0687f1
  function...
0687f1
0687f1
* Fri Oct 27 2006 Ray Strode <rstrode@redhat.com> - 0.11-3
0687f1
- actually apply the patch written in 0.11-2
0687f1
0687f1
* Thu Oct 26 2006 Ray Strode <rstrode@redhat.com> - 0.11-2
0687f1
- make desktop file validation non-fatal until we
0687f1
  add support for categories beginning with X- and clean up
0687f1
  our menu system to not require invalid categories
0687f1
  (bug 212048)
0687f1
0687f1
* Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.11-1
0687f1
- Update to 0.11
0687f1
0687f1
* Wed Jul 26 2006 Jesse Keating <jkeating@redhat.com> - 0.10-7
0687f1
- rebuild
0687f1
0687f1
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.10-6.1
0687f1
- bump again for double-long bug on ppc(64)
0687f1
0687f1
* Fri Feb 10 2006 Ray Strode <rstrode@redhat.com> - 0.10-6
0687f1
- call update-desktop-database in %%preun (bug 180898)
0687f1
- don't fail if update-desktop-database fails
0687f1
- don't use %%makeinstall
0687f1
0687f1
* Fri Feb 10 2006 Ray Strode <rstrode@redhat.com> - 0.10-5
0687f1
- call update-desktop-database in %%post (bug 180898)
0687f1
0687f1
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.10-4.1
0687f1
- rebuilt for new gcc4.1 snapshot and glibc changes
0687f1
0687f1
* Sun Jan 22 2006 Ray Strode <rstrode@redhat.com> - 0.10-4
0687f1
- don't use uninitialized memory (bug 178591)
0687f1
0687f1
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
0687f1
- rebuilt
0687f1
0687f1
* Wed Aug 31 2005 Ray Strode <rstrode@redhat.com> - 0.10-3
0687f1
- bump build requires for glib to 2.2.0 (bug #146585).
0687f1
0687f1
* Thu May 12 2005 Ray Strode <rstrode@redhat.com> - 0.10-2
0687f1
- Add build requires for emacs (bug #141297).
0687f1
0687f1
* Wed Jan 26 2005 Matthias Clasen <mclasen@redhat.com> - 0.10-1
0687f1
- Update to 0.10
0687f1
0687f1
* Mon Oct 18 2004 Miloslav Trmac <mitr@redhat.com> - 0.9-2
0687f1
- Output error message instead of assertion failure (#134934)
0687f1
0687f1
* Tue Sep 28 2004 Mark McLoughlin <markmc@redhat.com> 0.9-1
0687f1
- Update to 0.9, remove upstreamed patches
0687f1
0687f1
* Mon Sep 27 2004 Ray Strode <rstrode@redhat.com> 0.8-6
0687f1
- Swap if and else in egg_desktop_entries_get_locale_encoding
0687f1
  to prevent allocating massive amounts of unneeded ram.
0687f1
0687f1
* Mon Sep 27 2004 Ray Strode <rstrode@redhat.com> 0.8-5
0687f1
- Swap if and else in egg_desktop_entries_get_locale_country
0687f1
  to prevent allocating massive amounts of unneeded ram.
0687f1
0687f1
* Thu Sep 23 2004 Ray Strode <rstrode@redhat.com> 0.8-4
0687f1
- Fix the fix for --remove-show-in option
0687f1
0687f1
* Thu Sep 23 2004 Ray Strode <rstrode@redhat.com> 0.8-3
0687f1
- Fix --remove-show-in option
0687f1
0687f1
* Mon Sep 13 2004 Dan Williams <dcbw@redhat.com> 0.8-2
0687f1
- Fix RH #131983 (annoying log message about "entries != NULL")
0687f1
0687f1
* Fri Sep  3 2004 Mark McLoughlin <markmc@redhat.com> 0.8-1
0687f1
- Update to 0.8
0687f1
0687f1
* Sat Jul 31 2004 Dan Williams <dcbw@redhat.com> 0.7-1
0687f1
- Update to 0.7
0687f1
0687f1
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
0687f1
- rebuilt
0687f1
0687f1
* Mon Mar  1 2004 Dan Williams <dcbw@redhat.com> 0.4-2
0687f1
- Fix RH #117201, initial comment fails validation
0687f1
- Add in, but do not use, Frederic Crozat's freedesktop.org
0687f1
    menu-spec 0.8 patch
0687f1
0687f1
* Thu Feb 19 2004 Mark McLoughlin <markmc@redhat.com> 0.4-1
0687f1
- Update to 0.4
0687f1
0687f1
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
0687f1
- rebuilt
0687f1
0687f1
* Wed Sep  3 2003 Havoc Pennington <hp@redhat.com> 0.3-10
0687f1
- fix for #103276 (int/size_t issue) from twoerner
0687f1
0687f1
* Mon Jul  7 2003 Alexander Larsson <alexl@redhat.com> 0.3-9
0687f1
- Rebuild
0687f1
0687f1
* Mon Jun 23 2003 Havoc Pennington <hp@redhat.com> 0.3-8
0687f1
- rebuild
0687f1
0687f1
* Thu Jun  5 2003 Jonathan Blandford <jrb@redhat.com> 0.3-6
0687f1
- Backport patch to allow @MODIFIER in locale keys
0687f1
0687f1
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
0687f1
- rebuilt
0687f1
0687f1
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
0687f1
- rebuilt
0687f1
0687f1
* Fri Dec  6 2002 Havoc Pennington <hp@redhat.com>
0687f1
- rebuild
0687f1
0687f1
* Tue Aug  6 2002 Havoc Pennington <hp@redhat.com>
0687f1
- fix more error messages
0687f1
0687f1
* Tue Aug  6 2002 Havoc Pennington <hp@redhat.com>
0687f1
- remove old symlinks before creating new ones, chills out 
0687f1
  a lot of error messages
0687f1
0687f1
* Tue Aug  6 2002 Havoc Pennington <hp@redhat.com>
0687f1
- version 0.3
0687f1
0687f1
* Wed Jul 24 2002 Havoc Pennington <hp@redhat.com>
0687f1
- 0.2.95 cvs snap, should fix OnlyShowIn
0687f1
0687f1
* Mon Jul 22 2002 Havoc Pennington <hp@redhat.com>
0687f1
- 0.2.94 cvs snap, adds --print-available
0687f1
0687f1
* Tue Jul  9 2002 Havoc Pennington <hp@redhat.com>
0687f1
- 0.2.93 cvs snap with a crash fixed, and corrects [KDE Desktop Entry]
0687f1
0687f1
* Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
0687f1
- 0.2.92 cvs snap with --remove-key and checking for OnlyShowIn
0687f1
  and missing trailing semicolons on string lists
0687f1
0687f1
* Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
0687f1
- 0.2.91 cvs snap with --copy-name-to-generic-name and
0687f1
  --copy-generic-name-to-name
0687f1
0687f1
* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
0687f1
- 0.2.90 cvs snap with --delete-original fixed
0687f1
0687f1
* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
0687f1
- rebuild in different environment
0687f1
0687f1
* Wed Jun  5 2002 Havoc Pennington <hp@redhat.com>
0687f1
- 0.2
0687f1
0687f1
* Thu May 23 2002 Tim Powers <timp@redhat.com>
0687f1
- automated rebuild
0687f1
0687f1
* Thu May 09 2002 Havoc Pennington <hp@redhat.com>
0687f1
- rebuild in different environment
0687f1
0687f1
* Thu May  9 2002 Havoc Pennington <hp@redhat.com>
0687f1
- initial build