3478ae
%global _changelog_trimtime %(date +%s -d "1 year ago")
3478ae
3478ae
3478ae
Name:		xdg-user-dirs
3478ae
Version:	0.15
3478ae
Release:	5%{?dist}
3478ae
Summary:	Handles user special directories
3478ae
3478ae
Group:		User Interface/Desktops
3478ae
License:	GPLv2+ and MIT
3478ae
URL:		http://freedesktop.org/wiki/Software/xdg-user-dirs
3478ae
Source0:	http://user-dirs.freedesktop.org/releases/%{name}-%{version}.tar.gz
3478ae
3478ae
# use fuzzy translations (for Downloads)
3478ae
# https://bugzilla.redhat.com/show_bug.cgi?id=532399
3478ae
Patch0:		use-fuzzy.patch
3478ae
Patch1:         xdg-user-dirs-translations.patch
3478ae
# https://bugzilla.redhat.com/show_bug.cgi?id=1412762
3478ae
Patch2:         autostart.patch
3478ae
3478ae
BuildRequires:  git
3478ae
BuildRequires:  gettext, autoconf, automake, intltool
3478ae
BuildRequires:  docbook-style-xsl
3478ae
BuildRequires:  libxslt
3478ae
Requires:	%{_sysconfdir}/X11/xinit/xinitrc.d
3478ae
3478ae
%description
3478ae
Contains xdg-user-dirs-update that updates folders in a users
3478ae
homedirectory based on the defaults configured by the administrator.
3478ae
3478ae
%prep
3478ae
%autosetup -S git
3478ae
3478ae
autoreconf --force --install
3478ae
%build
3478ae
%configure
3478ae
make %{?_smp_mflags}
3478ae
3478ae
cd po
3478ae
touch *.po
3478ae
make update-gmo
3478ae
3478ae
%install
3478ae
make install DESTDIR=$RPM_BUILD_ROOT
3478ae
3478ae
%find_lang %name
3478ae
3478ae
3478ae
%files -f %{name}.lang
3478ae
%doc NEWS AUTHORS README COPYING
3478ae
%{_bindir}/*
3478ae
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf
3478ae
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults
3478ae
%{_sysconfdir}/xdg/autostart/xdg-user-dirs.desktop
3478ae
%{_mandir}/man1/*
3478ae
%{_mandir}/man5/*
3478ae
3478ae
3478ae
%changelog
3478ae
* Thu Oct 05 2017 Ray Strode <rstrode@redhat.com> - 0.15-5
3478ae
- Start using autostart mechanism instead of xinitrc.d script
3478ae
  Resolves: #1412762
3478ae
3478ae
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.15-4
3478ae
- Mass rebuild 2014-01-24
3478ae
3478ae
* Wed Jan 22 2014 Alexander Larsson <alexl@redhat.com> - 0.15-3
3478ae
- Add missing translations
3478ae
  Resolves: rhbz#1030389
3478ae
3478ae
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.15-2
3478ae
- Mass rebuild 2013-12-27
3478ae
3478ae
* Thu Jun 27 2013 Matthias Clasen <mclasen@redhat.com> - 0.15-1
3478ae
- Man pages
3478ae
- Translation updates
3478ae
- Trim %%changelog
3478ae
3478ae
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-4
3478ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3478ae
3478ae
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-3
3478ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3478ae
3478ae
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
3478ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3478ae
3478ae
* Tue May  3 2011 Alexander Larsson <alexl@redhat.com> - 0.14-1
3478ae
- Update to 0.14 (new translations)
3478ae
3478ae
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-3
3478ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3478ae
3478ae
* Wed Sep 29 2010 jkeating - 0.13-2
3478ae
- Rebuilt for gcc bug 634757
3478ae
3478ae
* Mon Sep 13 2010 Alexander Larsson <alexl@redhat.com> - 0.13-1
3478ae
- Update to 0.13 with new translations
3478ae
3478ae
* Wed Mar 24 2010 Tomas Bzatek <tbzatek@redhat.com> - 0.12-1
3478ae
- Update to 0.12 which only has a few new translations of Downloads
3478ae
- Use fuzzy translations (for Downloads)  (#532399)
3478ae
- Fix a typo in README
3478ae
3478ae
* Fri Sep 25 2009 Alexander Larsson <alexl@redhat.com> - 0.11-1
3478ae
- Update to 0.11
3478ae
3478ae
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-5
3478ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3478ae
3478ae
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-4
3478ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3478ae
3478ae
* Sun May  4 2008 Matthias Clasen <mclasen@redhat.com> - 0.10-3
3478ae
- Fix source url again
3478ae
- Fix license tag
3478ae
3478ae
* Mon Mar 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.10-2
3478ae
- Fix Source URL
3478ae
3478ae
* Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.10-1
3478ae
- Update to 0.10 (new translations)
3478ae
3478ae
* Tue Aug 21 2007 Alexander Larsson <alexl@redhat.com> - 0.9-1
3478ae
- Update to 0.9 (new translations)
3478ae
3478ae
* Tue May 29 2007 Matthias Clasen <mclasen@redhat.com> - 0.8-2
3478ae
- Fix a possible crash.
3478ae
3478ae
* Wed May 16 2007  <alexl@redhat.com> - 0.8-1
3478ae
- Update to 0.8, (only) fixing bug that always recreated deleted directories (#240139)
3478ae
3478ae
* Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 0.6-1
3478ae
- Update to 0.6 (minor fixes)
3478ae
3478ae
* Mon Mar 26 2007 Alexander Larsson <alexl@redhat.com> - 0.5-1
3478ae
- update to 0.5 (more translations)
3478ae
3478ae
* Wed Mar  7 2007 Alexander Larsson <alexl@redhat.com> - 0.4-1
3478ae
- Update to 0.4
3478ae
3478ae
* Thu Mar  1 2007 Alexander Larsson <alexl@redhat.com> - 0.3-1
3478ae
- Update to 0.3
3478ae
3478ae
* Fri Feb 23 2007 Alexander Larsson <alexl@redhat.com> - 0.2-1
3478ae
- initial version