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