xdg-user-dirs-gtk/xdg-user-dirs-gtk.spec

65 lines
1.6 KiB
RPMSpec

#
# spec file for package xdg-user-dirs-gtk (Version 0.7)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: xdg-user-dirs-gtk
BuildRequires: gtk2-devel intltool perl-XML-Parser update-desktop-files xdg-user-dirs
License: GPL v2 or later
Group: System/GUI/GNOME
Summary: A companion to xdg-user-dirs that integrates it into the Gnome desktop and Gtk+ applications.
Version: 0.7
Release: 2
Url: http://download.gnome.org/sources/xdg-user-dirs-gtk
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %{name}-%{version}.tar.bz2
Requires: xdg-user-dirs
%description
A companion to xdg-user-dirs that integrates it into the Gnome desktop
and Gtk+ applications. Presents a dialog when a user changes locales
to help move they standard user directories to the correct names.
Authors:
--------
Alexander Larsson - alexl@redhat.com
%lang_package
%prep
%setup -q -n %name-%{version}
%build
%configure
%__make %{?jobs:-j %jobs}
%install
%makeinstall
%suse_update_desktop_file $RPM_BUILD_ROOT/%{_sysconfdir}/xdg/autostart/*.desktop
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README ChangeLog
%{_prefix}/bin/*
%{_sysconfdir}/xdg/autostart/*.desktop
%files lang -f %{name}.lang
%changelog
* Fri Mar 21 2008 jpr@suse.de
- Initial check of xdg-user-dirs-gtk, to manager updating xdg user
dirs on login