1
0

Accepting request 47693 from X11:common:Factory

Copy from X11:common:Factory/desktop-file-utils based on submit request 47693 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/47693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/desktop-file-utils?expand=0&rev=23
This commit is contained in:
OBS User autobuild 2010-09-10 13:03:30 +00:00 committed by Git OBS Bridge
commit 60dfc667ea
4 changed files with 46 additions and 21 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7960be4bf7aa4b4698e8ea333cfa0bbfa7a169029e85d6a8b5390f625155c9a3
size 282640

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f1028fe6060575af4431cddc4c98dcf72bcdd3942b5fd5458ba36f5ab0ce3c0b
size 280494

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Fri Sep 10 12:34:14 CEST 2010 - vuntz@opensuse.org
- Update to version 0.17:
+ desktop-file-validate:
- accept chemical/* mime types as valid types
- make icon names with an extension for Icon key a non-fatal
error
+ update-desktop-database:
- accept chemical/* mime types as valid types
- ignore --verbose if --quiet is also passed
- make sure to always output lists in the keyfile we generate
+ misc:
- improve build system
- update documentation
- add man pages
- Tag desktop-file-utils-suse-keys.patch.
-------------------------------------------------------------------
Wed Mar 10 04:21:26 CET 2010 - vuntz@opensuse.org

View File

@ -1,5 +1,5 @@
#
# spec file for package desktop-file-utils (Version 0.16)
# spec file for package desktop-file-utils (Version 0.17)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -15,23 +15,25 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: desktop-file-utils
BuildRequires: glib2-devel pkg-config
License: GPLv2+
Group: Development/Tools/Other
Version: 0.16
Version: 0.17
Release: 1
License: GPLv2+
Summary: Utilities for Manipulating Desktop Files
Url: http://www.freedesktop.org/wiki/Software/desktop-file-utils
Group: Development/Tools/Other
Source0: %{name}-%{version}.tar.bz2
Source1: SuSEconfig.desktop-file-utils
# PATCH-FEATURE-OPENSUSE desktop-file-utils-suse-keys.patch vuntz@opensuse.org -- Handle SUSE-specific keys in validator. This is not strictly necessary, since they are prefixed with X-, but we can verify that the value has the right type.
Patch0: desktop-file-utils-suse-keys.patch
PreReq: /bin/rm /bin/rmdir
BuildRequires: glib2-devel
BuildRequires: pkg-config
PreReq: /bin/rm
PreReq: /bin/rmdir
Requires: aaa_base
Url: http://www.freedesktop.org/wiki/Software/desktop-file-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Utilities for Manipulating Desktop Files
%description
This packages contains a couple of command line utilities for
@ -41,13 +43,13 @@ More information about desktop files can be found at:
http://freedesktop.org/wiki/Specifications/desktop-entry-spec
%prep
%setup
%setup -q
%patch0
%build
%configure \
--with-lispdir=%{_datadir}/emacs/site-lisp
make %{?jobs:-j%jobs}
%__make %{?_smp_mflags}
%install
%makeinstall
@ -57,14 +59,14 @@ make %{?jobs:-j%jobs}
test ! -f %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el
install -D -m644 misc/desktop-entry-mode.el %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el
# SuSEconfig script
mkdir -p $RPM_BUILD_ROOT/sbin/conf.d
install %{S:1} $RPM_BUILD_ROOT/sbin/conf.d
mkdir -p %{buildroot}/sbin/conf.d
install %{S:1} %{buildroot}/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 %{buildroot}%{_datadir}/applications
touch %{buildroot}%{_datadir}/applications/mimeinfo.cache
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%postun
# It is not allowed by FHS to own this file in RPM package, but we can
@ -78,12 +80,17 @@ fi
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_bindir}/desktop-file-install
%{_bindir}/desktop-file-validate
%{_bindir}/update-desktop-database
%ghost %{_datadir}/applications/mimeinfo.cache
%{_mandir}/man1/desktop-file-install.1*
%{_mandir}/man1/desktop-file-validate.1*
%{_mandir}/man1/update-desktop-database.1*
# Own directories to not require emacs installed.
%dir %{_datadir}/emacs
%dir %{_datadir}/emacs/site-lisp
%{_datadir}/emacs/site-lisp/*.el*
%ghost %{_datadir}/applications/mimeinfo.cache
/sbin/conf.d/SuSEconfig.*
%changelog