iagno-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. Name: iagno
  2. Summary: GNOME Reversi
  3. Summary(ja): GNOME リバーシ
  4. Version: 3.30.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Iagno
  9. %global shortver %(echo "%{version}" | sed -e 's/\.[0-9]*$//')
  10. Source: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  11. Source1: https://github.com/GNOME/iagno/raw/master/po/ja.po
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk3-devel
  14. BuildRequires: librsvg2-devel
  15. BuildRequires: libcanberra-gtk3-devel
  16. BuildRequires: yelp-tools
  17. BuildRequires: vala
  18. Requires(postun,posttrans): desktop-file-utils
  19. Requires(postun,posttrans): gtk3
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. %description
  23. Iagno is a computer version of the game Reversi, more popularly called Othello.
  24. %prep
  25. %setup -q
  26. cp -f %{SOURCE1} po/
  27. %build
  28. %configure
  29. make %{?_smp_mflags}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. %find_lang %{name} --with-gnome
  34. %clean
  35. rm -rf $RPM_BUILD_ROOT
  36. %post
  37. touch %{_datadir}/icons/hicolor
  38. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  39. %postun
  40. if [ $1 -eq 0 ]; then
  41. touch %{_datadir}/icons/hicolor
  42. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  43. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  44. update-desktop-database -q > /dev/null || :
  45. fi
  46. %posttrans
  47. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  48. update-desktop-database -q > /dev/null || :
  49. %files -f %{name}.lang
  50. %defattr(-, root, root)
  51. %license COPYING
  52. %doc NEWS
  53. %{_bindir}/%{name}
  54. %{_datadir}/metainfo/%{name}.appdata.xml
  55. %{_datadir}/applications/%{name}.desktop
  56. %{_datadir}/glib-2.0/schemas/org.gnome.iagno.gschema.xml
  57. %{_datadir}/%{name}
  58. %{_datadir}/icons/*/*/apps/*
  59. %{_mandir}/man6/%{name}.6.gz
  60. %changelog
  61. * Mon Sep 09 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.0-1
  62. - new upstream release.
  63. - imported newest ja.po from upstream.
  64. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.2-1
  65. - new upstream release
  66. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  67. - new upstream release
  68. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  69. - new upstream release
  70. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  71. - new upstream release
  72. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  73. - new upstream release
  74. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  75. - new upstream release
  76. * Tue Oct 28 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  77. - new upstream release
  78. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  79. - new upstream release
  80. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  81. - new upstream release
  82. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  83. - new upstream release
  84. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  85. - rebuild with VineSeed environment
  86. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  87. - new upstream release
  88. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  89. - new upstream release
  90. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  91. - initial build