- ship desktop.attr together with the .prov script for rpm
automatic mimehandler provides OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/update-desktop-files?expand=0&rev=23
This commit is contained in:
parent
5971b8901c
commit
d62d800222
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 6 14:13:56 UTC 2011 - coolo@novell.com
|
||||||
|
|
||||||
|
- ship desktop.attr together with the .prov script for rpm
|
||||||
|
automatic mimehandler provides
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 26 00:18:33 UTC 2011 - gber@opensuse.org
|
Wed Jan 26 00:18:33 UTC 2011 - gber@opensuse.org
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package update-desktop-files (Version 11.3)
|
# spec file for package update-desktop-files
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,8 +19,8 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: update-desktop-files
|
Name: update-desktop-files
|
||||||
Version: 11.3
|
Version: 12.1
|
||||||
Release: 6
|
Release: 7
|
||||||
Summary: A Build Tool to Update Desktop Files
|
Summary: A Build Tool to Update Desktop Files
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
@ -29,11 +29,12 @@ AutoReqProv: on
|
|||||||
Source: suse_update_desktop_file.sh
|
Source: suse_update_desktop_file.sh
|
||||||
Source1: map-desktop-category.sh
|
Source1: map-desktop-category.sh
|
||||||
Source2: macro
|
Source2: macro
|
||||||
|
Source3: desktop.attr
|
||||||
Source100: mimetypes.prov
|
Source100: mimetypes.prov
|
||||||
# This is not true technically, but we do that to make the rpm macros from
|
# This is not true technically, but we do that to make the rpm macros from
|
||||||
# desktop-file-utils available to most packages that ship a .desktop file
|
# desktop-file-utils available to most packages that ship a .desktop file
|
||||||
# (since they already have a update-desktop-files BuildRequires).
|
# (since they already have a update-desktop-files BuildRequires).
|
||||||
Requires: desktop-file-utils
|
Requires: desktop-file-utils DOESNOTWORK
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -48,17 +49,17 @@ cd %name
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm
|
mkdir -p $RPM_BUILD_ROOT%_rpmconfigdir
|
||||||
install -m 0755 %SOURCE0 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/rpm
|
install -m0755 %SOURCE0 %SOURCE1 %SOURCE100 $RPM_BUILD_ROOT%_rpmconfigdir
|
||||||
install -m0755 %SOURCE100 $RPM_BUILD_ROOT/usr/lib/rpm
|
|
||||||
install -m0644 -D %SOURCE2 $RPM_BUILD_ROOT/etc/rpm/macros.%name
|
install -m0644 -D %SOURCE2 $RPM_BUILD_ROOT/etc/rpm/macros.%name
|
||||||
|
install -m0644 -D %SOURCE3 $RPM_BUILD_ROOT%_rpmconfigdir/fileattrs/desktop.attr
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/lib/rpm/*
|
%_rpmconfigdir/*
|
||||||
/etc/rpm/*
|
/etc/rpm/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user