# # spec file for package update-desktop-files (Version 11.1) # # Copyright (c) 2009 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: 5 Summary: A Build Tool to Update Desktop Files License: GPL v2 or later 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 %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