sushi-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Summary: A quick previewer for Nautilus
  2. Name: sushi
  3. Version: 0.2.1
  4. Release: 1%{?_dist_release}
  5. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{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: gstreamer-devel
  18. BuildRequires: libmusicbrainz3-devel
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. Vendor: Project Vine
  21. Distribution: Vine Linux
  22. Packager: Takemikaduchi
  23. %description
  24. Provide a facility for quickly viewing different kinds of files.
  25. This would be used by Nautilus in the first instance, but could
  26. be extended to the file chooser and perhaps elsewhere too.
  27. %package devel
  28. Summary: Development files for sushi
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}
  31. Requires: pkgconfig
  32. %description devel
  33. This package contains the libraries and header files that are needed
  34. for writing applications that are using sushi.
  35. %prep
  36. %setup -q
  37. %build
  38. %configure --disable-static
  39. %{__make} %{?_smp_mflags}
  40. %install
  41. %{__rm} -rf $RPM_BUILD_ROOT
  42. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  44. %find_lang %{name}
  45. %clean
  46. %{__rm} -rf $RPM_BUILD_ROOT
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files -f %{name}.lang
  50. %defattr(-,root,root,-)
  51. %doc AUTHORS COPYING NEWS README
  52. %{_bindir}/sushi
  53. %{_libexecdir}/sushi-start
  54. %{_libdir}/libsushi-1.0.so.*
  55. %{_libdir}/girepository-1.0/Sushi-1.0.typelib
  56. %{_datadir}/dbus-1/services/org.gnome.Sushi.service
  57. %{_datadir}/%{name}/js
  58. %{_datadir}/%{name}/style
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %{_libdir}/libsushi-1.0.so
  62. %{_datadir}/gir-1.0/Sushi-1.0.gir
  63. %changelog
  64. * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-1
  65. - initial build for Vine Linux