desktop-file-utils/desktop-file-utils.spec

332 lines
11 KiB
RPMSpec
Raw Normal View History

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