Blame SPECS/desktop-file-utils.spec

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