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