xdg-user-dirs-vl.spec 2.9 KB

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