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