sushi-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Summary: A quick previewer for Nautilus
  2. Name: sushi
  3. Version: 3.20.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. URL: https://live.gnome.org/ThreePointOne/Features/FilePreviewing
  9. BuildRequires: gtk3-devel >= 3.2.0
  10. BuildRequires: gtksourceview3-devel
  11. BuildRequires: gobject-introspection-devel >= 0.9.6
  12. BuildRequires: webkitgtk4-devel
  13. BuildRequires: clutter-gtk-devel
  14. BuildRequires: clutter-gst3-devel
  15. BuildRequires: evince-devel
  16. BuildRequires: gjs-devel >= 0.7.7
  17. BuildRequires: gstreamer1-devel
  18. BuildRequires: libmusicbrainz5-devel
  19. Requires(postun,posttrans): glib2
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: Takemikaduchi
  24. %description
  25. Provide a facility for quickly viewing different kinds of files.
  26. This would be used by Nautilus in the first instance, but could
  27. be extended to the file chooser and perhaps elsewhere too.
  28. %package devel
  29. Summary: Development files for sushi
  30. Group: Development/Libraries
  31. Requires: %{name} = %{version}-%{release}
  32. Requires: pkgconfig
  33. %description devel
  34. This package contains the libraries and header files that are needed
  35. for writing applications that are using sushi.
  36. %prep
  37. %setup -q
  38. %build
  39. %configure --disable-static
  40. %{__make} %{?_smp_mflags}
  41. %install
  42. %{__rm} -rf $RPM_BUILD_ROOT
  43. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  44. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  45. %find_lang %{name}
  46. %clean
  47. %{__rm} -rf $RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun
  50. /sbin/ldconfig
  51. if [ $1 -eq 0 ]; then
  52. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  53. fi
  54. %posttrans
  55. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  56. %files -f %{name}.lang
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS COPYING NEWS README
  59. %{_bindir}/sushi
  60. %{_libexecdir}/sushi-start
  61. %{_libdir}/%{name}/libsushi-1.0.so
  62. %{_libdir}/%{name}/girepository-1.0/Sushi-1.0.typelib
  63. %{_datadir}/dbus-1/services/org.gnome.Sushi.service
  64. %{_datadir}/%{name}/js
  65. %files devel
  66. %defattr(-,root,root,-)
  67. %{_datadir}/%{name}/gir-1.0/Sushi-1.0.gir
  68. %changelog
  69. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1
  70. - new upstream release
  71. - change BuildRequires: clutter-gst3-devel instead of clutter-gst-devel
  72. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  73. - new upstream release
  74. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  75. - new upstream release
  76. - add BuildRequires: webkitgtk4-devel
  77. - remove BuildRequires: WebKit3-gtk-devel
  78. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  79. - new upstream release
  80. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  81. - new upstream release
  82. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  83. - new upstream release
  84. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  85. - new upstream release
  86. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  87. - new upstream release
  88. - change BuildRequires: gstreamer1-devel instead of gstreamer-devel
  89. - change BuildRequires: libmusicbrainz5-devel instead of libmusicbrainz3-devel
  90. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
  91. - new upstream release
  92. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-1
  93. - initial build for Vine Linux