e044f23
Name:		xdg-user-dirs
96bbdaa
Version:	0.13
626f134
Release:	3%{?dist}
e044f23
Summary:	Handles user special directories
e044f23
e044f23
Group:		User Interface/Desktops
5fc569f
License:	GPLv2+ and MIT
383184e
URL:		http://freedesktop.org/wiki/Software/xdg-user-dirs
5fc569f
Source0:	http://user-dirs.freedesktop.org/releases/%{name}-%{version}.tar.gz
e044f23
Source1:	xdg-user-dirs.sh
Tomas Bzatek e910d30
Tomas Bzatek e910d30
# use fuzzy translations (for Downloads)
Tomas Bzatek e910d30
# https://bugzilla.redhat.com/show_bug.cgi?id=532399
Tomas Bzatek e910d30
Patch0:		use-fuzzy.patch
Tomas Bzatek e910d30
e044f23
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e044f23
e044f23
BuildRequires:	gettext
e044f23
Requires:	%{_sysconfdir}/X11/xinit/xinitrc.d
e044f23
e044f23
%description
e044f23
Contains xdg-user-dirs-update that updates folders in a users
e044f23
homedirectory based on the defaults configured by the administrator.
e044f23
e044f23
%prep
e044f23
%setup -q
Tomas Bzatek e910d30
%patch0 -p1 -b .use-fuzzy
e044f23
e044f23
%build
e044f23
%configure
e044f23
make %{?_smp_mflags}
e044f23
Tomas Bzatek e910d30
cd po
Tomas Bzatek e910d30
touch *.po
Tomas Bzatek e910d30
make update-gmo
Tomas Bzatek e910d30
e044f23
%install
e044f23
rm -rf $RPM_BUILD_ROOT
e044f23
make install DESTDIR=$RPM_BUILD_ROOT
e044f23
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
e044f23
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/X11/xinit/xinitrc.d
e044f23
e044f23
%find_lang %name
e044f23
e044f23
%clean
e044f23
rm -rf $RPM_BUILD_ROOT
e044f23
e044f23
e044f23
%files -f %{name}.lang
e044f23
%defattr(-,root,root,-)
e044f23
%doc NEWS AUTHORS README ChangeLog COPYING
e044f23
%{_bindir}/*
e044f23
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf
e044f23
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults
e044f23
%{_sysconfdir}/X11/xinit/xinitrc.d/*
e044f23
e044f23
%changelog
626f134
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-3
626f134
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
626f134
Jesse Keating aaea19b
* Wed Sep 29 2010 jkeating - 0.13-2
Jesse Keating aaea19b
- Rebuilt for gcc bug 634757
Jesse Keating aaea19b
96bbdaa
* Mon Sep 13 2010 Alexander Larsson <alexl@redhat.com> - 0.13-1
96bbdaa
- Update to 0.13 with new translations
96bbdaa
Tomas Bzatek e910d30
* Wed Mar 24 2010 Tomas Bzatek <tbzatek@redhat.com> - 0.12-1
Tomas Bzatek e910d30
- Update to 0.12 which only has a few new translations of Downloads
Tomas Bzatek e910d30
- Use fuzzy translations (for Downloads)  (#532399)
Tomas Bzatek e910d30
- Fix a typo in README
Tomas Bzatek e910d30
cf537f8
* Fri Sep 25 2009 Alexander Larsson <alexl@redhat.com> - 0.11-1
cf537f8
- Update to 0.11
cf537f8
a1ff8b2
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-5
a1ff8b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
a1ff8b2
7a5a273
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-4
7a5a273
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
7a5a273
5fc569f
* Sun May  4 2008 Matthias Clasen <mclasen@redhat.com> - 0.10-3
5fc569f
- Fix source url again
5fc569f
- Fix license tag
5fc569f
383184e
* Mon Mar 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.10-2
383184e
- Fix Source URL
383184e
9ce8aaf
* Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.10-1
9ce8aaf
- Update to 0.10 (new translations)
9ce8aaf
c0e596b
* Tue Aug 21 2007 Alexander Larsson <alexl@redhat.com> - 0.9-1
c0e596b
- Update to 0.9 (new translations)
c0e596b
b0c0c2a
* Tue May 29 2007 Matthias Clasen <mclasen@redhat.com> - 0.8-2
b0c0c2a
- Fix a possible crash.
b0c0c2a
132ba38
* Wed May 16 2007  <alexl@redhat.com> - 0.8-1
132ba38
- Update to 0.8, (only) fixing bug that always recreated deleted directories (#240139)
132ba38
9942cf2
* Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 0.6-1
9942cf2
- Update to 0.6 (minor fixes)
9942cf2
d0fc7ee
* Mon Mar 26 2007 Alexander Larsson <alexl@redhat.com> - 0.5-1
d0fc7ee
- update to 0.5 (more translations)
d0fc7ee
0232cdb
* Wed Mar  7 2007 Alexander Larsson <alexl@redhat.com> - 0.4-1
0232cdb
- Update to 0.4
0232cdb
e044f23
* Thu Mar  1 2007 Alexander Larsson <alexl@redhat.com> - 0.3-1
e044f23
- Update to 0.3
e044f23
e044f23
* Fri Feb 23 2007 Alexander Larsson <alexl@redhat.com> - 0.2-1
e044f23
- initial version