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