[521] | 1 | Summary: Handles user special directories |
---|
| 2 | Summary(ja): ユーザー用の特別なディレクトリの設定 |
---|
| 3 | Name: xdg-user-dirs |
---|
| 4 | Version: 0.10 |
---|
[2203] | 5 | Release: 4%{?_dist_release} |
---|
[521] | 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 | |
---|
[2203] | 13 | ## Requires: %{_sysconfdir}/X11/xinit/xinitrc.d |
---|
| 14 | Requires: xorg-x11-xinit |
---|
[521] | 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 -p0 -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 |
---|
[2203] | 60 | * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10-4 |
---|
| 61 | - change Requires: xorg-x11-xinit instead of %%{_sysconfdir}/X11/xinit/xinitrc.d |
---|
| 62 | |
---|
[521] | 63 | * Fri Jan 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-3 |
---|
| 64 | - fix japanese translation update |
---|
| 65 | |
---|
| 66 | * Sat Nov 29 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-2 |
---|
| 67 | - add Patch0 to modify japanese translation |
---|
| 68 | |
---|
| 69 | * Fri Nov 07 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-1 |
---|
| 70 | - initial build for Vine Linux based on fedora package |
---|
| 71 | |
---|
| 72 | * Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.10-1 |
---|
| 73 | - Update to 0.10 (new translations) |
---|
| 74 | |
---|
| 75 | * Tue Aug 21 2007 Alexander Larsson <alexl@redhat.com> - 0.9-1 |
---|
| 76 | - Update to 0.9 (new translations) |
---|
| 77 | |
---|
| 78 | * Tue May 29 2007 Matthias Clasen <mclasen@redhat.com> - 0.8-2 |
---|
| 79 | - Fix a possible crash. |
---|
| 80 | |
---|
| 81 | * Wed May 16 2007 <alexl@redhat.com> - 0.8-1 |
---|
| 82 | - Update to 0.8, (only) fixing bug that always recreated deleted directories (#240139) |
---|
| 83 | |
---|
| 84 | * Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 0.6-1 |
---|
| 85 | - Update to 0.6 (minor fixes) |
---|
| 86 | |
---|
| 87 | * Mon Mar 26 2007 Alexander Larsson <alexl@redhat.com> - 0.5-1 |
---|
| 88 | - update to 0.5 (more translations) |
---|
| 89 | |
---|
| 90 | * Wed Mar 7 2007 Alexander Larsson <alexl@redhat.com> - 0.4-1 |
---|
| 91 | - Update to 0.4 |
---|
| 92 | |
---|
| 93 | * Thu Mar 1 2007 Alexander Larsson <alexl@redhat.com> - 0.3-1 |
---|
| 94 | - Update to 0.3 |
---|
| 95 | |
---|
| 96 | * Fri Feb 23 2007 Alexander Larsson <alexl@redhat.com> - 0.2-1 |
---|
| 97 | - initial version |
---|