sushi-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Summary: A quick previewer for Nautilus
  2. Name: sushi
  3. Version: 3.12.0
  4. Release: 1%{?_dist_release}
  5. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.10/%{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: WebKit3-gtk-devel
  13. BuildRequires: clutter-gtk-devel
  14. BuildRequires: clutter-gst-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. %{_datadir}/%{name}/style
  66. %{_datadir}/glib-2.0/schemas/org.gnome.sushi.gschema.xml
  67. %files devel
  68. %defattr(-,root,root,-)
  69. %{_datadir}/%{name}/gir-1.0/Sushi-1.0.gir
  70. %changelog
  71. * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  72. - new upstream release
  73. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1
  74. - new upstream release
  75. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  76. - new upstream release
  77. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  78. - new upstream release
  79. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  80. - new upstream release
  81. - change BuildRequires: gstreamer1-devel instead of gstreamer-devel
  82. - change BuildRequires: libmusicbrainz5-devel instead of libmusicbrainz3-devel
  83. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
  84. - new upstream release
  85. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-1
  86. - initial build for Vine Linux