diff --git a/README.md b/README.md index 661a005..32276a9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # xdg-user-dirs +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. + diff --git a/xdg-user-dirs.spec b/xdg-user-dirs.spec new file mode 100644 index 0000000..41a73d8 --- /dev/null +++ b/xdg-user-dirs.spec @@ -0,0 +1,56 @@ +Name: xdg-user-dirs +Version: 0.15 +Release: 1mamba +Summary: A tool to help manage "well known" user directories like the desktop folder and the music folder. +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://freedesktop.org/wiki/Software/xdg-user-dirs/ +Source: http://user-dirs.freedesktop.org/releases/xdg-user-dirs-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_sysconfdir}/xdg/user-dirs.conf +%{_sysconfdir}/xdg/user-dirs.defaults +%{_bindir}/xdg-user-dir +%{_bindir}/xdg-user-dirs-update +%{_mandir}/man1/xdg-user-dir.1* +%{_mandir}/man1/xdg-user-dirs-update.1* +%{_mandir}/man5/user-dirs.conf.5* +%{_mandir}/man5/user-dirs.defaults.5* +%{_mandir}/man5/user-dirs.dirs.5* +%doc AUTHORS COPYING + +%changelog +* Wed Jul 03 2013 Automatic Build System 0.15-1mamba +- automatic version update by autodist + +* Sun Aug 05 2012 Silvan Calarco 0.14-1mamba +- package created by autospec