iagno-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: iagno
  2. Summary: GNOME Reversi
  3. Summary(ja): GNOME リバーシ
  4. Version: 3.12.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Iagno
  9. Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.12/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: librsvg2-devel
  13. BuildRequires: libcanberra-gtk3-devel
  14. BuildRequires: yelp-tools
  15. BuildRequires: vala
  16. Requires(postun,posttrans): desktop-file-utils
  17. Requires(postun,posttrans): gtk3
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. Iagno is a computer version of the game Reversi, more popularly called Othello.
  23. %prep
  24. %setup -q
  25. %build
  26. %configure
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT
  31. %find_lang %{name} --with-gnome
  32. %clean
  33. rm -rf $RPM_BUILD_ROOT
  34. %post
  35. touch %{_datadir}/icons/hicolor
  36. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  37. %postun
  38. if [ $1 -eq 0 ]; then
  39. touch %{_datadir}/icons/hicolor
  40. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  41. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  42. update-desktop-database -q > /dev/null || :
  43. fi
  44. %posttrans
  45. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  46. update-desktop-database -q > /dev/null || :
  47. %files -f %{name}.lang
  48. %defattr(-, root, root)
  49. %doc COPYING NEWS
  50. %{_bindir}/%{name}
  51. %{_datadir}/appdata/%{name}.appdata.xml
  52. %{_datadir}/applications/%{name}.desktop
  53. %{_datadir}/glib-2.0/schemas/org.gnome.iagno.gschema.xml
  54. %{_datadir}/%{name}
  55. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  56. %{_mandir}/man6/%{name}.6.gz
  57. %changelog
  58. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  59. - new upstream release
  60. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  61. - new upstream release
  62. * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  63. - new upstream release
  64. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
  65. - rebuild with VineSeed environment
  66. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  67. - new upstream release
  68. * Tue Aug 27 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  69. - new upstream release
  70. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  71. - initial build