1 | Summary: A quick previewer for Nautilus |
---|
2 | Name: sushi |
---|
3 | Version: 3.12.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.10/%{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: gstreamer1-devel |
---|
21 | BuildRequires: libmusicbrainz5-devel |
---|
22 | |
---|
23 | Requires(postun,posttrans): glib2 |
---|
24 | |
---|
25 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
26 | |
---|
27 | Vendor: Project Vine |
---|
28 | Distribution: Vine Linux |
---|
29 | Packager: Takemikaduchi |
---|
30 | |
---|
31 | |
---|
32 | %description |
---|
33 | Provide a facility for quickly viewing different kinds of files. |
---|
34 | This would be used by Nautilus in the first instance, but could |
---|
35 | be extended to the file chooser and perhaps elsewhere too. |
---|
36 | |
---|
37 | |
---|
38 | %package devel |
---|
39 | Summary: Development files for sushi |
---|
40 | Group: Development/Libraries |
---|
41 | Requires: %{name} = %{version}-%{release} |
---|
42 | Requires: pkgconfig |
---|
43 | |
---|
44 | %description devel |
---|
45 | This package contains the libraries and header files that are needed |
---|
46 | for writing applications that are using sushi. |
---|
47 | |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | |
---|
52 | %build |
---|
53 | %configure --disable-static |
---|
54 | %{__make} %{?_smp_mflags} |
---|
55 | |
---|
56 | %install |
---|
57 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
58 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
59 | |
---|
60 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
61 | |
---|
62 | %find_lang %{name} |
---|
63 | |
---|
64 | %clean |
---|
65 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
66 | |
---|
67 | |
---|
68 | %post -p /sbin/ldconfig |
---|
69 | |
---|
70 | %postun |
---|
71 | /sbin/ldconfig |
---|
72 | if [ $1 -eq 0 ]; then |
---|
73 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
74 | fi |
---|
75 | |
---|
76 | %posttrans |
---|
77 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
78 | |
---|
79 | |
---|
80 | %files -f %{name}.lang |
---|
81 | %defattr(-,root,root,-) |
---|
82 | %doc AUTHORS COPYING NEWS README |
---|
83 | %{_bindir}/sushi |
---|
84 | %{_libexecdir}/sushi-start |
---|
85 | %{_libdir}/%{name}/libsushi-1.0.so |
---|
86 | %{_libdir}/%{name}/girepository-1.0/Sushi-1.0.typelib |
---|
87 | %{_datadir}/dbus-1/services/org.gnome.Sushi.service |
---|
88 | %{_datadir}/%{name}/js |
---|
89 | %{_datadir}/%{name}/style |
---|
90 | %{_datadir}/glib-2.0/schemas/org.gnome.sushi.gschema.xml |
---|
91 | |
---|
92 | %files devel |
---|
93 | %defattr(-,root,root,-) |
---|
94 | %{_datadir}/%{name}/gir-1.0/Sushi-1.0.gir |
---|
95 | |
---|
96 | |
---|
97 | %changelog |
---|
98 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
111 | - new upstream release |
---|
112 | - change BuildRequires: gstreamer1-devel instead of gstreamer-devel |
---|
113 | - change BuildRequires: libmusicbrainz5-devel instead of libmusicbrainz3-devel |
---|
114 | |
---|
115 | * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.1-1 |
---|
119 | - initial build for Vine Linux |
---|
120 | |
---|