1 | Summary: Handles user special directories |
---|
2 | Summary(ja): ユーザー用の特別なディレクトリの設定 |
---|
3 | Name: xdg-user-dirs |
---|
4 | Version: 0.14 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Source0: http://www.gnome.org/~alexl/%{name}-%{version}.tar.gz |
---|
7 | Source1: xdg-user-dirs.sh |
---|
8 | Patch0: xdg-user-dirs_update-ja.po.patch |
---|
9 | License: GPL |
---|
10 | Group: User Interface/Desktops |
---|
11 | URL: http://freedesktop.org/wiki/Software/xdg-user-dirs |
---|
12 | |
---|
13 | ## Requires: %{_sysconfdir}/X11/xinit/xinitrc.d |
---|
14 | Requires: xorg-x11-xinit |
---|
15 | BuildRequires: gettext |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | |
---|
18 | %description |
---|
19 | Contains xdg-user-dirs-update that updates folders in a users |
---|
20 | homedirectory based on the defaults configured by the administrator. |
---|
21 | |
---|
22 | %description -l ja |
---|
23 | このパッケージは、システムの設定に基づいてユーザーのホームディレクトリ |
---|
24 | にある特別なフォルダの名前を更新する xdg-user-dirs-update コマンドを含 |
---|
25 | んでいます。 |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q |
---|
29 | %patch0 -p1 -b .update |
---|
30 | |
---|
31 | %build |
---|
32 | %configure |
---|
33 | %{__make} %{?_smp_mflags} |
---|
34 | # compile ja.po |
---|
35 | pushd po |
---|
36 | msgfmt ja.po -o ja.gmo |
---|
37 | popd |
---|
38 | |
---|
39 | %install |
---|
40 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
41 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
42 | %{__mkdir} -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/X11/xinit/xinitrc.d |
---|
43 | %{__install} -p -m 755 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/X11/xinit/xinitrc.d |
---|
44 | |
---|
45 | %find_lang %{name} |
---|
46 | |
---|
47 | %clean |
---|
48 | rm -rf ${RPM_BUILD_ROOT} |
---|
49 | |
---|
50 | |
---|
51 | %files -f %{name}.lang |
---|
52 | %defattr(-,root,root,-) |
---|
53 | %doc NEWS AUTHORS README ChangeLog COPYING |
---|
54 | %{_bindir}/* |
---|
55 | %config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf |
---|
56 | %config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults |
---|
57 | %{_sysconfdir}/X11/xinit/xinitrc.d/* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Wed Jun 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1 |
---|
61 | - new upstream release |
---|
62 | |
---|
63 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10-4 |
---|
64 | - change Requires: xorg-x11-xinit instead of %%{_sysconfdir}/X11/xinit/xinitrc.d |
---|
65 | |
---|
66 | * Fri Jan 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-3 |
---|
67 | - fix japanese translation update |
---|
68 | |
---|
69 | * Sat Nov 29 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-2 |
---|
70 | - add Patch0 to modify japanese translation |
---|
71 | |
---|
72 | * Fri Nov 07 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-1 |
---|
73 | - initial build for Vine Linux based on fedora package |
---|
74 | |
---|
75 | * Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.10-1 |
---|
76 | - Update to 0.10 (new translations) |
---|
77 | |
---|
78 | * Tue Aug 21 2007 Alexander Larsson <alexl@redhat.com> - 0.9-1 |
---|
79 | - Update to 0.9 (new translations) |
---|
80 | |
---|
81 | * Tue May 29 2007 Matthias Clasen <mclasen@redhat.com> - 0.8-2 |
---|
82 | - Fix a possible crash. |
---|
83 | |
---|
84 | * Wed May 16 2007 <alexl@redhat.com> - 0.8-1 |
---|
85 | - Update to 0.8, (only) fixing bug that always recreated deleted directories (#240139) |
---|
86 | |
---|
87 | * Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 0.6-1 |
---|
88 | - Update to 0.6 (minor fixes) |
---|
89 | |
---|
90 | * Mon Mar 26 2007 Alexander Larsson <alexl@redhat.com> - 0.5-1 |
---|
91 | - update to 0.5 (more translations) |
---|
92 | |
---|
93 | * Wed Mar 7 2007 Alexander Larsson <alexl@redhat.com> - 0.4-1 |
---|
94 | - Update to 0.4 |
---|
95 | |
---|
96 | * Thu Mar 1 2007 Alexander Larsson <alexl@redhat.com> - 0.3-1 |
---|
97 | - Update to 0.3 |
---|
98 | |
---|
99 | * Fri Feb 23 2007 Alexander Larsson <alexl@redhat.com> - 0.2-1 |
---|
100 | - initial version |
---|