xdg-user-dirs-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Summary: Handles user special directories
  2. Summary(ja): ユーザー用の特別なディレクトリの設定
  3. Name: xdg-user-dirs
  4. Version: 0.17
  5. Release: 1%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: GPL
  8. URL: https://freedesktop.org/wiki/Software/xdg-user-dirs
  9. Source0: https://user-dirs.freedesktop.org/releases/%{name}-%{version}.tar.gz
  10. Source1: xdg-user-dirs.sh
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: gettext
  13. BuildRequires: docbook-style-xsl
  14. BuildRequires: libxslt
  15. Requires: %{_sysconfdir}/xdg/autostart
  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. %debug_package
  24. %prep
  25. %setup -q
  26. pushd po
  27. sed -i \
  28. -e 's/映画/ムービー/' \
  29. -e 's/音楽/ミュージック/' \
  30. -e 's/画像/ピクチャー/' \
  31. ja.po
  32. popd
  33. %build
  34. %configure
  35. %{__make} %{?_smp_mflags}
  36. pushd po
  37. touch *.po
  38. make update-gmo
  39. popd
  40. %install
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  43. %find_lang %{name}
  44. %clean
  45. rm -rf ${RPM_BUILD_ROOT}
  46. %files -f %{name}.lang
  47. %defattr(-,root,root,-)
  48. %license COPYING
  49. %doc NEWS AUTHORS README
  50. %{_bindir}/*
  51. %config(noreplace) %{_sysconfdir}/xdg/user-dirs.conf
  52. %config(noreplace) %{_sysconfdir}/xdg/user-dirs.defaults
  53. %{_sysconfdir}/xdg/autostart/*
  54. %{_mandir}/man1/*
  55. %{_mandir}/man5/*
  56. %changelog
  57. * Wed Mar 03 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.17-1
  58. - new upstream release.
  59. - dropped Patch0: got same effects by sed.
  60. * Wed Jun 27 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.14-1
  61. - new upstream release
  62. * Sun Nov 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10-4
  63. - change Requires: xorg-x11-xinit instead of %%{_sysconfdir}/X11/xinit/xinitrc.d
  64. * Fri Jan 02 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-3
  65. - fix japanese translation update
  66. * Sat Nov 29 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-2
  67. - add Patch0 to modify japanese translation
  68. * Fri Nov 07 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.10-1
  69. - initial build for Vine Linux based on fedora package
  70. * Tue Feb 12 2008 Alexander Larsson <alexl@redhat.com> - 0.10-1
  71. - Update to 0.10 (new translations)
  72. * Tue Aug 21 2007 Alexander Larsson <alexl@redhat.com> - 0.9-1
  73. - Update to 0.9 (new translations)
  74. * Tue May 29 2007 Matthias Clasen <mclasen@redhat.com> - 0.8-2
  75. - Fix a possible crash.
  76. * Wed May 16 2007 <alexl@redhat.com> - 0.8-1
  77. - Update to 0.8, (only) fixing bug that always recreated deleted directories (#240139)
  78. * Wed Apr 11 2007 Alexander Larsson <alexl@redhat.com> - 0.6-1
  79. - Update to 0.6 (minor fixes)
  80. * Mon Mar 26 2007 Alexander Larsson <alexl@redhat.com> - 0.5-1
  81. - update to 0.5 (more translations)
  82. * Wed Mar 7 2007 Alexander Larsson <alexl@redhat.com> - 0.4-1
  83. - Update to 0.4
  84. * Thu Mar 1 2007 Alexander Larsson <alexl@redhat.com> - 0.3-1
  85. - Update to 0.3
  86. * Fri Feb 23 2007 Alexander Larsson <alexl@redhat.com> - 0.2-1
  87. - initial version