xdg-user-dirs-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Summary: Handles user special directories
  2. Summary(ja): ユーザー用の特別なディレクトリの設定
  3. Name: xdg-user-dirs
  4. Version: 0.14
  5. Release: 1%{?_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 -p1 -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. * Wed Jun 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
  50. - new upstream release
  51. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10-4
  52. - change Requires: xorg-x11-xinit instead of %%{_sysconfdir}/X11/xinit/xinitrc.d
  53. * Fri Jan 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-3
  54. - fix japanese translation update
  55. * Sat Nov 29 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-2
  56. - add Patch0 to modify japanese translation
  57. * Fri Nov 07 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-1
  58. - initial build for Vine Linux based on fedora package
  59. * Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.10-1
  60. - Update to 0.10 (new translations)
  61. * Tue Aug 21 2007 Alexander Larsson <alexl@redhat.com> - 0.9-1
  62. - Update to 0.9 (new translations)
  63. * Tue May 29 2007 Matthias Clasen <mclasen@redhat.com> - 0.8-2
  64. - Fix a possible crash.
  65. * Wed May 16 2007 <alexl@redhat.com> - 0.8-1
  66. - Update to 0.8, (only) fixing bug that always recreated deleted directories (#240139)
  67. * Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 0.6-1
  68. - Update to 0.6 (minor fixes)
  69. * Mon Mar 26 2007 Alexander Larsson <alexl@redhat.com> - 0.5-1
  70. - update to 0.5 (more translations)
  71. * Wed Mar 7 2007 Alexander Larsson <alexl@redhat.com> - 0.4-1
  72. - Update to 0.4
  73. * Thu Mar 1 2007 Alexander Larsson <alexl@redhat.com> - 0.3-1
  74. - Update to 0.3
  75. * Fri Feb 23 2007 Alexander Larsson <alexl@redhat.com> - 0.2-1
  76. - initial version