SPECS: xdg-user-dirs.spec (NEW) - new

megabajt megabajt at pld-linux.org
Sun Sep 23 17:07:08 CEST 2007


Author: megabajt                     Date: Sun Sep 23 15:07:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   xdg-user-dirs.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/xdg-user-dirs.spec
diff -u /dev/null SPECS/xdg-user-dirs.spec:1.1
--- /dev/null	Sun Sep 23 17:07:08 2007
+++ SPECS/xdg-user-dirs.spec	Sun Sep 23 17:07:03 2007
@@ -0,0 +1,64 @@
+# $Revision$, $Date$
+Summary:	Handles user special directories
+Name:		xdg-user-dirs
+Version:	0.9
+Release:	1
+License:	GPL v2
+Group:		Libraries
+Source0:	http://user-dirs.freedesktop.org/releases/%{name}-%{version}.tar.gz
+# Source0-md5:	f0edc705f3d4af6f30148666748d656d
+Source1:	%{name}.sh
+URL:		http://www.freedesktop.org/wiki/Software/xdg-user-dirs
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	gettext-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+xdg-user-dirs is a tool to help manage "well known" user directories
+like the desktop folder and the music folder. It also handles
+localization (i.e. translation) of the filenames.
+
+%prep
+%setup -q
+
+%build
+%{__gettextize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d/%{name}.sh
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh
+%attr(755,root,root) %{_bindir}/xdg-user-dir
+%attr(755,root,root) %{_bindir}/xdg-user-dirs-update
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/user-dirs.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xdg/user-dirs.defaults
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/09/23 15:07:03  megabajt
+- new
+
================================================================


More information about the pld-cvs-commit mailing list