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