]>
Commit | Line | Data |
---|---|---|
ff3a5d30 PZ |
1 | Summary: A quick previewer for Nautilus |
2 | Name: sushi | |
a57824e5 MB |
3 | Version: 0.4.0 |
4 | Release: 1 | |
ff3a5d30 PZ |
5 | License: GPLv2+ with exceptions |
6 | Group: X11/Applications | |
a57824e5 MB |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/sushi/0.4/%{name}-%{version}.tar.xz |
8 | # Source0-md5: d8544340b18658c014ce2dbfaa9e34a4 | |
ff3a5d30 | 9 | URL: https://live.gnome.org/ThreePointOne/Features/FilePreviewing |
baf19e2e MB |
10 | BuildRequires: autoconf >= 2.63 |
11 | BuildRequires: automake >= 1:1.10 | |
12 | BuildRequires: clutter-devel >= 1.6.0 | |
ff3a5d30 PZ |
13 | BuildRequires: clutter-gst-devel |
14 | BuildRequires: clutter-gtk-devel >= 1.0.2 | |
baf19e2e MB |
15 | BuildRequires: evince-devel >= 3.2.0 |
16 | BuildRequires: gjs-devel >= 0.8 | |
17 | BuildRequires: glib2-devel >= 1:2.30.0 | |
a57824e5 | 18 | BuildRequires: glib2-devel >= 1:2.30.0 |
baf19e2e MB |
19 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
20 | BuildRequires: gstreamer-devel | |
21 | BuildRequires: gstreamer-plugins-base-devel | |
22 | BuildRequires: gtk+3-devel >= 3.0.0 | |
ff3a5d30 | 23 | BuildRequires: gtk-webkit3-devel |
92747a3a | 24 | BuildRequires: gtksourceview3-devel |
baf19e2e | 25 | BuildRequires: intltool >= 0.40.0 |
ff3a5d30 | 26 | BuildRequires: libmusicbrainz3-devel |
baf19e2e | 27 | BuildRequires: libtool |
a57824e5 | 28 | BuildRequires: pkgconfig |
70c36455 AF |
29 | BuildRequires: tar >= 1:1.22 |
30 | BuildRequires: xz | |
baf19e2e | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ff3a5d30 | 32 | |
ff3a5d30 | 33 | %description |
baf19e2e MB |
34 | This is sushi, a quick previewer for Nautilus, the GNOME desktop file |
35 | manager. | |
ff3a5d30 | 36 | |
a57824e5 | 37 | %package devel |
baf19e2e | 38 | Summary: Development files for sushi |
ff3a5d30 PZ |
39 | Group: X11/Development/Libraries |
40 | Requires: %{name} = %{version}-%{release} | |
41 | ||
a57824e5 | 42 | %description devel |
baf19e2e MB |
43 | The sushi-devel package contains libraries and header files for |
44 | developing applications that use sushi. | |
ff3a5d30 PZ |
45 | |
46 | %prep | |
47 | %setup -q | |
48 | ||
ff3a5d30 | 49 | %build |
baf19e2e MB |
50 | %{__intltoolize} |
51 | %{__libtoolize} | |
52 | %{__aclocal} -I m4 | |
53 | %{__autoconf} | |
54 | %{__autoheader} | |
55 | %{__automake} | |
ff3a5d30 | 56 | %configure \ |
70c36455 AF |
57 | --disable-static \ |
58 | --disable-silent-rules | |
ff3a5d30 PZ |
59 | %{__make} |
60 | ||
ff3a5d30 PZ |
61 | %install |
62 | rm -rf $RPM_BUILD_ROOT | |
92747a3a PZ |
63 | |
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
70c36455 | 67 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsushi-1.0.la |
92747a3a | 68 | |
ff3a5d30 PZ |
69 | %find_lang %{name} |
70 | ||
baf19e2e MB |
71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
ff3a5d30 | 73 | |
baf19e2e | 74 | %post -p /sbin/ldconfig |
ff3a5d30 PZ |
75 | %postun -p /sbin/ldconfig |
76 | ||
ff3a5d30 PZ |
77 | %files -f %{name}.lang |
78 | %defattr(644,root,root,755) | |
79 | %doc README AUTHORS NEWS TODO | |
80 | %attr(755,root,root) %{_bindir}/sushi | |
81 | %attr(755,root,root) %{_libexecdir}/sushi-start | |
82 | %attr(755,root,root) %{_libdir}/libsushi-1.0.so.*.*.* | |
83 | %attr(755,root,root) %ghost %{_libdir}/libsushi-1.0.so.0 | |
84 | %{_datadir}/%{name} | |
baf19e2e MB |
85 | %{_datadir}/dbus-1/services/org.gnome.Sushi.service |
86 | %{_libdir}/girepository-1.0/Sushi-1.0.typelib | |
ff3a5d30 PZ |
87 | |
88 | %files devel | |
89 | %defattr(644,root,root,755) | |
baf19e2e MB |
90 | %attr(755,root,root) %{_libdir}/libsushi-1.0.so |
91 | %{_datadir}/gir-1.0/Sushi-1.0.gir |