This commit is contained in:
commit
bc2ad7eac1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
15
SuSEconfig.desktop-file-utils
Normal file
15
SuSEconfig.desktop-file-utils
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# Copyright (c) 2005 SuSE
|
||||||
|
# Author: Stanislav Brabec <sbrabec@suse.cz>
|
||||||
|
|
||||||
|
# Ensure, that $XDG_DATA_DIRS is set. (#71978)
|
||||||
|
if test -z "$XDG_DATA_DIRS" ; then
|
||||||
|
. /etc/profile.d/xdg-enviroment.sh
|
||||||
|
fi
|
||||||
|
|
||||||
|
/opt/gnome/bin/update-desktop-database
|
||||||
|
|
||||||
|
#
|
||||||
|
# end
|
||||||
|
#
|
3
desktop-file-utils-0.11.tar.bz2
Normal file
3
desktop-file-utils-0.11.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e9065f05f65046079cfc2a04bcd5c208c902a368ab3b8fbce516848dec3ef49a
|
||||||
|
size 246382
|
79
desktop-file-utils.changes
Normal file
79
desktop-file-utils.changes
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 8 00:08:19 CET 2007 - ro@suse.de
|
||||||
|
|
||||||
|
- GNOME moved to /usr
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 20 14:58:03 CEST 2006 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.11:
|
||||||
|
* Validate desktop file categories.
|
||||||
|
* Use GKeyFile instead of the old egg code in
|
||||||
|
update-desktop-database.
|
||||||
|
* Use GOption instead of popt.
|
||||||
|
* Fix grammar problem in one of the strings.
|
||||||
|
* NULL terminate search patch in update-desktop-database.
|
||||||
|
* Fix language to encoding mapping to match spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 25 14:09:31 CET 2006 - aj@suse.de
|
||||||
|
|
||||||
|
- Reduce BuildRequires.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:35:26 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 17 10:24:17 CET 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Explicitly require /etc/profile.d/xdg-enviroment.sh.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 16 12:22:52 CET 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Ensure, that $XDG_DATA_DIRS is defined in
|
||||||
|
SuSEconfig.desktop-file-utils (#71978).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 27 23:00:21 CET 2005 - ro@suse.de
|
||||||
|
|
||||||
|
- try to fix postun script
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 25 15:56:31 CET 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Added SuSEconfig.desktop-file-utils (#66605).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 06 15:22:57 CET 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.10.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 24 17:33:29 CEST 2004 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.7.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 11 10:18:49 CET 2004 - adrian@suse.de
|
||||||
|
|
||||||
|
- build as user
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 07 12:51:48 CEST 2003 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to actual CVS snapshot.
|
||||||
|
- Prefix changed to /opt/gnome (now depends on gnome-vfs).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 29 01:27:05 CEST 2003 - ro@suse.de
|
||||||
|
|
||||||
|
- added gnome-filesystem to neededforbuild
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 02 17:41:48 CEST 2003 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Initial SuSE package.
|
||||||
|
|
139
desktop-file-utils.spec
Normal file
139
desktop-file-utils.spec
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
#
|
||||||
|
# spec file for package desktop-file-utils (Version 0.11)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# This file and all modifications and additions to the pristine
|
||||||
|
# package are under the same license as the package itself.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
Name: desktop-file-utils
|
||||||
|
BuildRequires: emacs-nox glib2-devel pkg-config popt-devel update-desktop-files
|
||||||
|
%define prefix /usr
|
||||||
|
License: GNU General Public License (GPL)
|
||||||
|
Group: Development/Tools/Other
|
||||||
|
Autoreqprov: on
|
||||||
|
Version: 0.11
|
||||||
|
Release: 19
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Source1: SuSEconfig.desktop-file-utils
|
||||||
|
PreReq: /bin/rm /bin/rmdir
|
||||||
|
Requires: /etc/profile.d/xdg-enviroment.sh
|
||||||
|
URL: http://www.freedesktop.org/wiki/Software_2fdesktop_2dfile_2dutils
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Summary: Utilities for Manipulating Desktop Files
|
||||||
|
|
||||||
|
%description
|
||||||
|
Desktop-file-utils contains a couple of command line utilities for
|
||||||
|
working with desktop entries.
|
||||||
|
|
||||||
|
Right now the only documentation is "desktop-file-install --help".
|
||||||
|
desktop-file-validate takes a single argument, the file to validate.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Havoc Pennington <hp@redhat.com>
|
||||||
|
Alex Larsson <alexl@redhat.com>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup
|
||||||
|
%{?suse_update_config:%{suse_update_config}}
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
./configure \
|
||||||
|
--prefix=%{prefix} \
|
||||||
|
--libdir=%{prefix}/%_lib \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--with-lispdir=/usr/share/emacs/site-lisp
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/sbin/conf.d
|
||||||
|
install %{S:1} $RPM_BUILD_ROOT/sbin/conf.d
|
||||||
|
# Create ghosts based on default $XDG_DATA_DIRS:
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
|
||||||
|
touch $RPM_BUILD_ROOT/usr/share/applications/mimeinfo.cache
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/etc/opt/kde3/share/applications
|
||||||
|
touch $RPM_BUILD_ROOT/etc/opt/kde3/share/applications/mimeinfo.cache
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/applications
|
||||||
|
touch $RPM_BUILD_ROOT/opt/kde3/share/applications/mimeinfo.cache
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/usr/share/applications
|
||||||
|
touch $RPM_BUILD_ROOT/usr/share/applications/mimeinfo.cache
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%postun
|
||||||
|
# It is not allowed by FHS to own this file in RPM package, but we can
|
||||||
|
# purge it. Removal on update can be ignored, SuSEconfig will create it
|
||||||
|
# again, if needed.
|
||||||
|
if [ -d /usr/local/share/applications ] ; then
|
||||||
|
rm -f /usr/local/share/applications/mimeinfo.cache
|
||||||
|
rmdir --ignore-fail-on-non-empty /usr/local/share/applications
|
||||||
|
fi
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-, root, root)
|
||||||
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||||
|
%prefix/bin/*
|
||||||
|
/usr/share/emacs/site-lisp/*.el*
|
||||||
|
/sbin/conf.d/SuSEconfig.*
|
||||||
|
%ghost /usr/share/applications/mimeinfo.cache
|
||||||
|
# Own directories to not require KDE installed.
|
||||||
|
%dir /etc/opt/kde3
|
||||||
|
%dir /etc/opt/kde3/share
|
||||||
|
%dir /etc/opt/kde3/share/applications
|
||||||
|
%ghost /etc/opt/kde3/share/applications/mimeinfo.cache
|
||||||
|
# Own directories to not require KDE installed.
|
||||||
|
%dir /opt/kde3
|
||||||
|
%dir /opt/kde3/share
|
||||||
|
%dir /opt/kde3/share/applications
|
||||||
|
%ghost /opt/kde3/share/applications/mimeinfo.cache
|
||||||
|
%ghost /usr/share/applications/mimeinfo.cache
|
||||||
|
|
||||||
|
%changelog -n desktop-file-utils
|
||||||
|
* Mon Jan 08 2007 - ro@suse.de
|
||||||
|
- GNOME moved to /usr
|
||||||
|
* Fri Oct 20 2006 - sbrabec@suse.cz
|
||||||
|
- Updated to version 0.11:
|
||||||
|
* Validate desktop file categories.
|
||||||
|
* Use GKeyFile instead of the old egg code in
|
||||||
|
update-desktop-database.
|
||||||
|
* Use GOption instead of popt.
|
||||||
|
* Fix grammar problem in one of the strings.
|
||||||
|
* NULL terminate search patch in update-desktop-database.
|
||||||
|
* Fix language to encoding mapping to match spec.
|
||||||
|
* Sat Feb 25 2006 - aj@suse.de
|
||||||
|
- Reduce BuildRequires.
|
||||||
|
* Wed Jan 25 2006 - mls@suse.de
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
* Thu Mar 17 2005 - sbrabec@suse.cz
|
||||||
|
- Explicitly require /etc/profile.d/xdg-enviroment.sh.
|
||||||
|
* Wed Mar 16 2005 - sbrabec@suse.cz
|
||||||
|
- Ensure, that $XDG_DATA_DIRS is defined in
|
||||||
|
SuSEconfig.desktop-file-utils (#71978).
|
||||||
|
* Sun Feb 27 2005 - ro@suse.de
|
||||||
|
- try to fix postun script
|
||||||
|
* Fri Feb 25 2005 - sbrabec@suse.cz
|
||||||
|
- Added SuSEconfig.desktop-file-utils (#66605).
|
||||||
|
* Thu Jan 06 2005 - sbrabec@suse.cz
|
||||||
|
- Updated to version 0.10.
|
||||||
|
* Tue Aug 24 2004 - sbrabec@suse.cz
|
||||||
|
- Updated to version 0.7.
|
||||||
|
* Sun Jan 11 2004 - adrian@suse.de
|
||||||
|
- build as user
|
||||||
|
* Thu Aug 07 2003 - sbrabec@suse.cz
|
||||||
|
- Updated to actual CVS snapshot.
|
||||||
|
- Prefix changed to /opt/gnome (now depends on gnome-vfs).
|
||||||
|
* Tue Jul 29 2003 - ro@suse.de
|
||||||
|
- added gnome-filesystem to neededforbuild
|
||||||
|
* Mon Jun 02 2003 - sbrabec@suse.cz
|
||||||
|
- Initial SuSE package.
|
Loading…
Reference in New Issue
Block a user