blob: 691c3ffb4e9e920457c106f039b89625b3055803 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#
Name: xdg-user-dirs
Version: 0.14
Release: 0
License: GPL-2.0
Summary: Utilities to handle user data directories
Url: http://freedesktop.org/wiki/Software/xdg-user-dirs
Group: System/Other
Source0: %{name}-%{version}.tar.bz2
Source1: xdg-user-dirs.sh
%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
%configure
make %{?_smp_mflags}
%install
%make_install
%find_lang %{name}
mkdir -p %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d
cp %{SOURCE1} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh
%lang_package
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README ChangeLog
%license COPYING
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf
%config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults
%dir %{_sysconfdir}/X11/xinit
%dir %{_sysconfdir}/X11/xinit/xinitrc.d
%{_sysconfdir}/X11/xinit/xinitrc.d/xdg-user-dirs.sh
%{_bindir}/xdg-user-dir
%{_bindir}/xdg-user-dirs-update
|