File xdg-user-dirs-gtk.spec of Package xdg-user-dirs-gtk
70
1
#
2
# spec file for package xdg-user-dirs-gtk
3
#
4
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
Name: xdg-user-dirs-gtk
20
Summary: xdg-user-dir support for Gnome and Gtk+ applications
21
License: GPL-2.0+
22
Group: System/GUI/GNOME
23
Version: 0.10
24
Release: 0
25
Url: http://download.gnome.org/sources/xdg-user-dirs-gtk
26
Source0: http://download.gnome.org/sources/xdg-user-dirs-gtk/0.10/%{name}-%{version}.tar.xz
27
# PATCH-FIX-UPSTREAM xdg-user-dirs-gtk-XFCE-LXDE-autostart.patch fdo#33107 gber@opensuse.org -- Start xdg-user-dirs-gtk in Xfce sessions as well
28
Patch1: %{name}-XFCE-autostart.patch
29
BuildRequires: gtk3-devel
30
BuildRequires: intltool
31
BuildRequires: translation-update-upstream
32
BuildRequires: update-desktop-files
33
BuildRequires: xdg-user-dirs
34
Requires: xdg-user-dirs
35
Recommends: %{name}-lang
36
BuildRoot: %{_tmppath}/%{name}-%{version}-build
37
38
%description
39
A companion to xdg-user-dirs that integrates it into the Gnome desktop
40
and Gtk+ applications. Presents a dialog when a user changes locales
41
to help move they standard user directories to the correct names.
42
43
%lang_package
44
%prep
45
%setup -q
46
%patch1 -p1
47
translation-update-upstream
48
49
%build
50
%configure
51
%__make %{?jobs:-j %jobs}
52
53
%install
54
%makeinstall
55
%suse_update_desktop_file user-dirs-update-gtk
56
%find_lang %{name}
57
58
%clean
59
rm -rf $RPM_BUILD_ROOT
60
61
%files
62
%defattr(-,root,root)
63
%doc AUTHORS COPYING README ChangeLog
64
%{_bindir}/xdg-user-dirs-gtk-update
65
%{_sysconfdir}/xdg/autostart/user-dirs-update-gtk.desktop
66
67
%files lang -f %{name}.lang
68
69
%changelog
70