update-desktop-files/update-desktop-files.spec
OBS User autobuild 0dc0c475b2 Accepting request 41220 from X11:common:Factory
Copy from X11:common:Factory/update-desktop-files based on submit request 41220 from user vuntz

OBS-URL: https://build.opensuse.org/request/show/41220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/update-desktop-files?expand=0&rev=65
2010-06-09 14:46:43 +00:00

67 lines
1.8 KiB
RPMSpec

#
# spec file for package update-desktop-files (Version 11.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: update-desktop-files
Version: 11.1
Release: 7
Summary: A Build Tool to Update Desktop Files
License: GPLv2+
Group: Development/Tools/Building
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Source: suse_update_desktop_file.sh
Source1: map-desktop-category.sh
Source2: macro
Source100: mimetypes.prov
BuildArch: noarch
%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.
Authors:
--------
Stephan Kulow <coolo@suse.de>
%prep
%setup -q -n . -D -T 0
mkdir %name
cd %name
%build
%install
mkdir -p $RPM_BUILD_ROOT/usr/lib/rpm
install -m 0755 %SOURCE0 %SOURCE1 $RPM_BUILD_ROOT/usr/lib/rpm
install -m0755 %SOURCE100 $RPM_BUILD_ROOT/usr/lib/rpm
install -m0644 -D %SOURCE2 $RPM_BUILD_ROOT/etc/rpm/macros.%name
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/usr/lib/rpm/*
/etc/rpm/*
%changelog