quadrapassel-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. Name: quadrapassel
  2. Summary: GNOME Quadrapassel
  3. Summary(ja): GNOME Quadrapassel
  4. Version: 3.8.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Games
  8. URL: https://live.gnome.org/Quadrapassel
  9. Source: ftp://ftp.gnome.org/pub/gnome/sources/%{name}/3.8/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk3-devel
  12. BuildRequires: clutter-gtk-devel
  13. BuildRequires: libcanberra-gtk3-devel
  14. BuildRequires: librsvg2-devel
  15. BuildRequires: yelp-tools
  16. BuildRequires: vala
  17. Requires(postun,posttrans): desktop-file-utils
  18. Requires(postun,posttrans): gtk3
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. The Russian game of falling geometric shapes.
  24. %prep
  25. %setup -q
  26. %build
  27. %configure
  28. make %{?_smp_mflags}
  29. %install
  30. rm -rf $RPM_BUILD_ROOT
  31. make install DESTDIR=$RPM_BUILD_ROOT
  32. %find_lang %{name} --with-gnome
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %post
  36. touch %{_datadir}/icons/hicolor
  37. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  38. %postun
  39. if [ $1 -eq 0 ]; then
  40. touch %{_datadir}/icons/hicolor
  41. gtk-update-icon-cache -q %{_datadir}/icons/hicolor > /dev/null || :
  42. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  43. update-desktop-database -q > /dev/null || :
  44. fi
  45. %posttrans
  46. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  47. update-desktop-database -q > /dev/null || :
  48. %files -f %{name}.lang
  49. %defattr(-, root, root)
  50. %doc COPYING NEWS
  51. %attr(2551, root, games) %{_bindir}/%{name}
  52. %{_datadir}/applications/%{name}.desktop
  53. %{_datadir}/glib-2.0/schemas/org.gnome.quadrapassel.gschema.xml
  54. %{_datadir}/%{name}
  55. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  56. %{_datadir}/icons/HighContrast/*/apps/%{name}.*
  57. %{_mandir}/man6/%{name}.6.gz
  58. %changelog
  59. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  60. - new upstream release
  61. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  62. - initial build