xdg-user-dirs-vl.spec 2.7 KB

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