]>
Commit | Line | Data |
---|---|---|
ff3a5d30 PZ |
1 | Summary: A quick previewer for Nautilus |
2 | Name: sushi | |
3 | Version: 0.0.5 | |
4 | Release: 1 | |
5 | License: GPLv2+ with exceptions | |
6 | Group: X11/Applications | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/sushi/0.0/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: fcfbd73573ec09249e99be91e0bb66fc | |
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: gtksourceview3-devel | |
18 | BuildRequires: gtk-webkit3-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 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
51 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' | |
52 | %find_lang %{name} | |
53 | ||
54 | %post -p /sbin/ldconfig | |
55 | ||
56 | %postun -p /sbin/ldconfig | |
57 | ||
58 | ||
59 | %files -f %{name}.lang | |
60 | %defattr(644,root,root,755) | |
61 | %doc README AUTHORS NEWS TODO | |
62 | %attr(755,root,root) %{_bindir}/sushi | |
63 | %attr(755,root,root) %{_libexecdir}/sushi-start | |
64 | %attr(755,root,root) %{_libdir}/libsushi-1.0.so.*.*.* | |
65 | %attr(755,root,root) %ghost %{_libdir}/libsushi-1.0.so.0 | |
66 | %{_datadir}/%{name} | |
67 | %{_datadir}/dbus-1/services/* | |
68 | %{_libdir}/girepository-1.0/*.typelib | |
69 | ||
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
72 | %{_libdir}/libsushi-1.0.so | |
73 | %{_datadir}/gir-1.0/*.gir |