2007-01-16 00:40:16 +01:00
|
|
|
#
|
2010-06-21 17:37:54 +02:00
|
|
|
# spec file for package update-desktop-files (Version 11.3)
|
2007-01-16 00:40:16 +01:00
|
|
|
#
|
2010-04-13 22:22:09 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:40:16 +01:00
|
|
|
#
|
2008-08-22 22:51:55 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-16 00:40:16 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-02-13 19:35:09 +01:00
|
|
|
|
2007-01-16 00:40:16 +01:00
|
|
|
Name: update-desktop-files
|
2010-06-08 11:43:07 +02:00
|
|
|
Version: 11.3
|
2010-07-19 13:23:34 +02:00
|
|
|
Release: 2
|
2007-01-16 00:40:16 +01:00
|
|
|
Summary: A Build Tool to Update Desktop Files
|
2010-04-13 22:22:09 +02:00
|
|
|
License: GPLv2+
|
2007-01-16 00:40:16 +01:00
|
|
|
Group: Development/Tools/Building
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-09-19 19:05:27 +02:00
|
|
|
AutoReqProv: on
|
2007-01-16 00:40:16 +01:00
|
|
|
Source: suse_update_desktop_file.sh
|
|
|
|
Source1: map-desktop-category.sh
|
2008-11-01 23:19:26 +01:00
|
|
|
Source2: macro
|
2008-09-26 17:20:27 +02:00
|
|
|
Source100: mimetypes.prov
|
2007-09-19 19:05:27 +02:00
|
|
|
BuildArch: noarch
|
2007-01-16 00:40:16 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides further translations and a shell script to update
|
|
|
|
desktop files. It is used by the %suse_update_desktop_file rpm macro.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n . -D -T 0
|
|
|
|
mkdir %name
|
|
|
|
cd %name
|
|
|
|
|
2007-05-31 21:28:41 +02:00
|
|
|
%build
|
|
|
|
|
2007-01-16 00:40:16 +01:00
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm
|
|
|
|
install -m 0755 %SOURCE0 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/rpm
|
2008-09-26 17:20:27 +02:00
|
|
|
install -m0755 %SOURCE100 $RPM_BUILD_ROOT/usr/lib/rpm
|
2008-11-01 23:19:26 +01:00
|
|
|
install -m0644 -D %SOURCE2 $RPM_BUILD_ROOT/etc/rpm/macros.%name
|
2007-01-16 00:40:16 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/usr/lib/rpm/*
|
2008-11-01 23:19:26 +01:00
|
|
|
/etc/rpm/*
|
2007-01-16 00:40:16 +01:00
|
|
|
|
2007-03-15 01:40:25 +01:00
|
|
|
%changelog
|