2007-01-16 00:42:05 +01:00
|
|
|
#
|
2012-02-27 00:27:25 +01:00
|
|
|
# spec file for package xdg-utils
|
2007-01-16 00:42:05 +01:00
|
|
|
#
|
2014-01-09 14:57:06 +01:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:42:05 +01:00
|
|
|
#
|
2009-06-19 00:24:06 +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:42:05 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2009-06-19 00:24:06 +02:00
|
|
|
|
2007-01-16 00:42:05 +01:00
|
|
|
Name: xdg-utils
|
2008-02-08 17:17:42 +01:00
|
|
|
BuildRequires: make
|
2012-07-02 07:22:00 +02:00
|
|
|
BuildRequires: xmlto
|
|
|
|
BuildRequires: xz
|
|
|
|
# for xmlto to be able to generate text from html
|
|
|
|
BuildRequires: w3m
|
|
|
|
Summary: Utilities to uniformly interface desktop environments
|
2012-02-27 00:27:25 +01:00
|
|
|
License: MIT
|
2007-01-16 00:42:05 +01:00
|
|
|
Group: System/GUI/Other
|
2014-09-23 20:25:24 +02:00
|
|
|
Version: 20140922
|
2012-07-02 07:22:00 +02:00
|
|
|
Release: 0
|
2007-09-22 23:43:29 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
Url: http://portland.freedesktop.org/
|
2007-01-16 00:42:05 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-07-02 07:22:00 +02:00
|
|
|
# http://portland.freedesktop.org/download/xdg-utils-%%{version}.tgz
|
|
|
|
Source0: xdg-utils-%{version}.tar.xz
|
|
|
|
Patch0: install-some-more-scripts.diff
|
2012-06-27 10:57:07 +02:00
|
|
|
Patch8: xdg-screensaver-gnome-perl.diff
|
2012-07-02 07:22:00 +02:00
|
|
|
Requires: perl
|
|
|
|
Requires: perl-Net-DBus
|
|
|
|
Requires: perl-X11-Protocol
|
2013-10-03 10:02:35 +02:00
|
|
|
Requires: which
|
2007-01-16 00:42:05 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The xdg-utils package is a set of simple scripts that provide basic
|
|
|
|
desktop integration functions for any Free Desktop, such as Linux.
|
|
|
|
|
|
|
|
They are intended to provide a set of defacto standards. This means
|
|
|
|
that: * Third party software developers can rely on these
|
|
|
|
xdg-utils for all of their simple integration needs.
|
|
|
|
|
|
|
|
* Developers of desktop environments can make sure that their
|
|
|
|
environments are well supported
|
|
|
|
|
|
|
|
If a desktop developer wants to be certain that their environment
|
|
|
|
functions with all third party software, then can simply make sure that
|
|
|
|
these utilities work properly in their environment.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %name-%{version}
|
2012-07-02 07:22:00 +02:00
|
|
|
%patch0 -p1
|
|
|
|
%patch8 -p1
|
2007-01-16 00:42:05 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2012-08-23 16:34:09 +02:00
|
|
|
(cd scripts; touch *.in; make %{?_smp_mflags} scripts)
|
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:42:05 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
%clean
|
2012-02-27 00:27:25 +01:00
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
2007-01-16 00:42:05 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE README TODO ChangeLog
|
2012-07-02 07:22:00 +02:00
|
|
|
%{_bindir}/xdg-desktop-icon
|
|
|
|
%{_bindir}/xdg-desktop-menu
|
|
|
|
%{_bindir}/xdg-email
|
|
|
|
%{_bindir}/xdg-icon-resource
|
|
|
|
%{_bindir}/xdg-mime
|
|
|
|
%{_bindir}/xdg-open
|
|
|
|
%{_bindir}/xdg-su
|
|
|
|
%{_bindir}/xdg-screensaver
|
|
|
|
%{_bindir}/xdg-settings
|
2012-02-27 00:27:25 +01:00
|
|
|
%{_bindir}/xdg-terminal
|
|
|
|
%{_mandir}/man1/xdg-desktop-icon.1*
|
|
|
|
%{_mandir}/man1/xdg-desktop-menu.1*
|
|
|
|
%{_mandir}/man1/xdg-email.1*
|
|
|
|
%{_mandir}/man1/xdg-icon-resource.1*
|
|
|
|
%{_mandir}/man1/xdg-mime.1*
|
|
|
|
%{_mandir}/man1/xdg-open.1*
|
2014-07-31 11:08:22 +02:00
|
|
|
%{_mandir}/man1/xdg-terminal.1*
|
2012-02-27 00:27:25 +01:00
|
|
|
%{_mandir}/man1/xdg-screensaver.1*
|
2012-07-02 07:22:00 +02:00
|
|
|
%{_mandir}/man1/xdg-settings.1*
|
2014-07-31 11:08:22 +02:00
|
|
|
%{_mandir}/man1/xdg-su.1*
|
2008-02-08 17:17:42 +01:00
|
|
|
|
2007-05-22 15:04:17 +02:00
|
|
|
%changelog
|