mate-user-guide-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.0
  3. %define rel 1
  4. Summary: MATE User Guide
  5. Summary(ja): MATE ユーザガイド
  6. Name: mate-user-guide
  7. Version: %{ver}
  8. Release: %{rel}%{?_dist_release}
  9. License: GFDLv1.1
  10. Source: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  11. Group: Applications/Documentation
  12. # Vine patch
  13. Patch1000: mate-user-guide-1.10.0-desktop.patch
  14. BuildArch: noarch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: glib2-devel
  17. BuildRequires: yelp-tools
  18. Requires: yelp
  19. Requires(postun,posttrans): glib2
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi, iwaim
  23. %description
  24. This package contains end user documentation for the MATE desktop
  25. environment.
  26. %description -l ja
  27. このパッケージには MATE デスクトップ環境のエンドユーザドキュメントが
  28. 含まれています。
  29. %prep
  30. %setup -q
  31. %patch1000 -p1 -b .vine
  32. %build
  33. autoreconf -if
  34. %configure
  35. %__make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. %find_lang %{name}
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %postun
  43. if [ $1 -eq 0 ]; then
  44. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  45. fi
  46. %posttrans
  47. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  48. %files -f %{name}.lang
  49. %defattr(-, root, root)
  50. %{_datadir}/applications/mate-user-guide.desktop
  51. %{_datadir}/help/*/%{name}
  52. %changelog
  53. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
  54. - update to 1.20.0
  55. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  56. - update to 1.18.0
  57. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  58. - new upstream release
  59. - update License
  60. - update Packager
  61. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  62. - new upstream release
  63. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  64. - new upstream release
  65. * Sat Jun 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  66. - new upstream release
  67. - add Patch1000 (mate-user-guide-1.10.0-desktop.patch)
  68. * Sun Jun 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.0-1
  69. - initial build