Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > ee0a0e3e9ef7d8614f9b134d378895e9 > files > 3

desktop-file-utils-0.22-8.mga5.src.rpm

Summary:	Utilities for working with desktop entries
Name:		desktop-file-utils
Version:	0.22
Release:	%mkrel 8
License:	GPLv2+
Group:		Graphical desktop/Other
Url: 		http://freedesktop.org/Software/desktop-file-utils
Source0:	http://freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
# Adds OPENBOX, Cinnamon and LXQt to the registered categories list
Patch0:		desktop-file-utils-0.22-registered-categories.patch
BuildRequires:	popt-devel
BuildRequires:	glib2-devel
BuildRequires:	emacs-bin

%description
desktop-file-utils contains a couple of command line utilities for working
with desktop entries. It requires GLib and popt to compile, because the
implementation requires Unicode utilities and such.

Right now the only documentation is "desktop-file-install --help".
desktop-file-validate takes a single argument, the file to validate.

%prep
%setup -q
%apply_patches

%build
%configure2_5x
%make

%install
%makeinstall_std

mkdir -p %{buildroot}%{_sysconfdir}/emacs/site-start.d/
cat > %{buildroot}%{_sysconfdir}/emacs/site-start.d/%{name}.el << EOF
(autoload 'desktop-entry-mode "desktop-entry-mode" "Desktop Entry mode" t)
(add-to-list 'auto-mode-alist
'("\\\\.desktop\\\\(\\\\.in\\\\)?$" . desktop-entry-mode))
(add-hook 'desktop-entry-mode-hook 'font-lock-mode)
EOF

# automatic cache update on rpm installs/removals
# (see http://wiki.mandriva.com/en/Rpm_filetriggers)
install -d %buildroot%{_var}/lib/rpm/filetriggers
cat > %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.filter << EOF
^./usr/share/applications/.*\.desktop$
EOF
cat > %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.script << EOF
#!/bin/sh
/usr/bin/update-desktop-database /usr/share/applications > /dev/null 2> /dev/null
EOF
chmod 755 %buildroot%{_var}/lib/rpm/filetriggers/update-desktop-database.script

%files
%doc AUTHORS NEWS README ChangeLog
%config(noreplace) %{_sysconfdir}/emacs/site-start.d/%{name}.el
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/emacs/site-lisp/desktop-entry-mode.el*
%{_var}/lib/rpm/filetriggers/update-desktop-database.*


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 0.22-8.mga5
+ Revision: 742969
- Second Mageia 5 Mass Rebuild

* Tue Oct 14 2014 doktor5000 <doktor5000> 0.22-7.mga5
+ Revision: 738758
- added LXQt to registered categories fully

* Tue Sep 16 2014 umeabot <umeabot> 0.22-6.mga5
+ Revision: 678715
- Mageia 5 Mass Rebuild

* Fri May 09 2014 wally <wally> 0.22-5.mga5
+ Revision: 621526
- add Cinnamon to registered categories

* Fri May 09 2014 wally <wally> 0.22-4.mga5
+ Revision: 621521
- add LXQt to registered categories

* Fri Jan 10 2014 wally <wally> 0.22-3.mga4
+ Revision: 566163
- add patch to add OPENBOX to registered categories

* Sat Oct 19 2013 umeabot <umeabot> 0.22-2.mga4
+ Revision: 533469
- Mageia 4 Mass Rebuild

* Fri Aug 30 2013 wally <wally> 0.22-1.mga4
+ Revision: 473537
- new version 0.22
- drop patches from upstream
- drop unneeded buildrequires

* Tue Aug 20 2013 fwang <fwang> 0.21-3.mga4
+ Revision: 468046
- allow DBusActivatable

* Fri Jan 11 2013 umeabot <umeabot> 0.21-2.mga3
+ Revision: 348726
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Oct 13 2012 ovitters <ovitters> 0.21-1.mga3
+ Revision: 305232
- drop upstream patch
- new version 0.21

* Mon May 28 2012 wally <wally> 0.20-2.mga3
+ Revision: 248339
- add P0 from upstream to add XFCE to registered categories
- clean .spec a bit

* Wed Mar 07 2012 anssi <anssi> 0.20-1.mga2
+ Revision: 221308
- new version 0.20

* Fri Dec 30 2011 fwang <fwang> 0.19-1.mga2
+ Revision: 188839
- new version 0.19

* Fri Mar 11 2011 mikala <mikala> 0.18-1.mga1
+ Revision: 68319
- Update tarball to 0.18
- Remove buildroot

* Mon Jan 10 2011 blino <blino> 0.17-1.mga1
+ Revision: 5293
- imported package desktop-file-utils


* Thu Sep 30 2010 Götz Waschk <waschk@mandriva.org> 0.17-1mdv2011.0
+ Revision: 582144
- new version
- add man pages

* Mon Apr 12 2010 Götz Waschk <waschk@mandriva.org> 0.16-2mdv2010.1
+ Revision: 533661
- don't print desktop entry validation warnings anymore
- update license
- remove KDE3 file trigger

* Thu Mar 11 2010 Frederic Crozat <fcrozat@mandriva.com> 0.16-1mdv2010.1
+ Revision: 518039
- Release 0.16
- Remove patch0, merged upstream

* Sun Aug 09 2009 Oden Eriksson <oeriksson@mandriva.com> 0.15-6mdv2010.0
+ Revision: 413348
- rebuild

* Sat Mar 07 2009 Nicolas Lécureuil <nlecureuil@mandriva.com> 0.15-5mdv2009.1
+ Revision: 350876
- Fix format string
- Fix format string

  + Antoine Ginies <aginies@mandriva.com>
    - rebuild

* Wed Aug 06 2008 Thierry Vignaud <tv@mandriva.org> 0.15-3mdv2009.0
+ Revision: 264401
- rebuild early 2009.0 package (before pixel changes)

* Tue Jun 10 2008 Pixel <pixel@mandriva.com> 0.15-2mdv2009.0
+ Revision: 217390
- add rpm filetrigger running update-desktop-database when rpm install/remove .desktop files

* Thu Mar 06 2008 Götz Waschk <waschk@mandriva.org> 0.15-1mdv2008.1
+ Revision: 180329
- new version

* Fri Jan 11 2008 Thierry Vignaud <tv@mandriva.org> 0.14-2mdv2008.1
+ Revision: 149168
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Sun Sep 02 2007 Funda Wang <fwang@mandriva.org> 0.14-1mdv2008.0
+ Revision: 78127
- New version 0.14

* Sun Jun 17 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.13-1mdv2008.0
+ Revision: 40471
- drop patch 0
- spec file clean
- new version


* Mon Nov 27 2006 Götz Waschk <waschk@mandriva.org> 0.12-2mdv2007.0
+ Revision: 87395
- bot rebuild
- Import desktop-file-utils

* Mon Nov 27 2006 Götz Waschk <waschk@mandriva.org> 0.12-1mdv2007.1
- unpack patch
- drop patches 0,1
- fix source URL
- New version 0.12

* Tue Aug 01 2006 Frederic Crozat <fcrozat@mandriva.com> 0.11-5mdv2007.0
- Patch2: Encoding is deprecated

* Thu Jun 22 2006 Frederic Crozat <fcrozat@mandriva.com> 0.11-4mdv2007.0
- Patch1: fix typo in valid categories

* Sat Jun 10 2006 Götz Waschk <waschk@mandriva.org> 0.11-3mdv2007.0
- update the patch

* Sat Jun 10 2006 Götz Waschk <waschk@mandriva.org> 0.11-2mdv2007.0
- fix check for valid categories

* Fri Jun 09 2006 Götz Waschk <waschk@mandriva.org> 0.11-1mdv2007.0
- New release 0.11

* Thu Nov 25 2004 Götz Waschk <waschk@linux-mandrake.com> 0.10-2mdk
- fix buildrequires

* Wed Nov 24 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 0.10-1mdk
- Release 0.10
- Remove patch1 (no longer needed)

* Fri Oct 29 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.9-1mdk
- 0.9

* Wed Aug 18 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7-4mdk
- fix emascs site-start script once and for all

* Wed Jul 28 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7-3mdk
- another fix for the site-start script

* Wed Jul 28 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7-2mdk
- arrgh, fix emacs sitestart script

* Wed Jul 28 2004 Götz Waschk <waschk@linux-mandrake.com> 0.7-1mdk
- add emacs lisp files
- buildrequires emacs
- New release 0.7

* Sat Jul 17 2004 Götz Waschk <waschk@linux-mandrake.com> 0.6-1mdk
- reenable libtoolize
- New release 0.6

* Sat Apr 17 2004 Götz Waschk <waschk@linux-mandrake.com> 0.5-1mdk
- don't run libtoolize
- add gnome-vfs2 stuff
- fix URL
- new version