auto-import xdg-user-dirs-0.3-1.fc7 on branch devel from
xdg-user-dirs-0.3-1.fc7.src.rpm
This commit is contained in:
parent
af35178bbc
commit
e044f237a5
@ -0,0 +1 @@
|
|||||||
|
xdg-user-dirs-0.3.tar.gz
|
13
xdg-user-dirs.sh
Normal file
13
xdg-user-dirs.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# Copyright (C) 2007 Red Hat, Inc. All rights reserved. This
|
||||||
|
# copyrighted material is made available to anyone wishing to use, modify,
|
||||||
|
# copy, or redistribute it subject to the terms and conditions of the
|
||||||
|
# GNU General Public License version 2.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
#
|
||||||
|
if [ -x /usr/bin/xdg-user-dirs-update ]; then
|
||||||
|
/usr/bin/xdg-user-dirs-update
|
||||||
|
fi
|
52
xdg-user-dirs.spec
Normal file
52
xdg-user-dirs.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
Name: xdg-user-dirs
|
||||||
|
Version: 0.3
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Handles user special directories
|
||||||
|
|
||||||
|
Group: User Interface/Desktops
|
||||||
|
License: GPL
|
||||||
|
URL: http://freedesktop.org/wiki/Software_2fxdg_2duser_2ddirs
|
||||||
|
Source0: http://www.gnome.org/~alexl/%{name}-%{version}.tar.gz
|
||||||
|
Source1: xdg-user-dirs.sh
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: gettext
|
||||||
|
Requires: %{_sysconfdir}/X11/xinit/xinitrc.d
|
||||||
|
|
||||||
|
%description
|
||||||
|
Contains xdg-user-dirs-update that updates folders in a users
|
||||||
|
homedirectory based on the defaults configured by the administrator.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
|
||||||
|
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
|
||||||
|
|
||||||
|
%find_lang %name
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc NEWS AUTHORS README ChangeLog COPYING
|
||||||
|
%{_bindir}/*
|
||||||
|
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf
|
||||||
|
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults
|
||||||
|
%{_sysconfdir}/X11/xinit/xinitrc.d/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Mar 1 2007 Alexander Larsson <alexl@redhat.com> - 0.3-1
|
||||||
|
- Update to 0.3
|
||||||
|
|
||||||
|
* Fri Feb 23 2007 Alexander Larsson <alexl@redhat.com> - 0.2-1
|
||||||
|
- initial version
|
Loading…
Reference in New Issue
Block a user