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