]>
Commit | Line | Data |
---|---|---|
1 | Summary: A quick previewer for Nautilus | |
2 | Name: sushi | |
3 | Version: 0.2.1 | |
4 | Release: 1 | |
5 | License: GPLv2+ with exceptions | |
6 | Group: X11/Applications | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/sushi/0.2/%{name}-%{version}.tar.xz | |
8 | # Source0-md5: 36f79d8dbd46327d6aefc629a4b61723 | |
9 | URL: https://live.gnome.org/ThreePointOne/Features/FilePreviewing | |
10 | BuildRequires: autoconf >= 2.63 | |
11 | BuildRequires: automake >= 1:1.10 | |
12 | BuildRequires: clutter-devel >= 1.6.0 | |
13 | BuildRequires: clutter-gst-devel | |
14 | BuildRequires: clutter-gtk-devel >= 1.0.2 | |
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 | |
22 | BuildRequires: gtk-webkit3-devel | |
23 | BuildRequires: gtksourceview3-devel | |
24 | BuildRequires: intltool >= 0.40.0 | |
25 | BuildRequires: libmusicbrainz3-devel | |
26 | BuildRequires: libtool | |
27 | BuildRequires: tar >= 1:1.22 | |
28 | BuildRequires: xz | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | This is sushi, a quick previewer for Nautilus, the GNOME desktop file | |
33 | manager. | |
34 | ||
35 | %package devel | |
36 | Summary: Development files for sushi | |
37 | Group: X11/Development/Libraries | |
38 | Requires: %{name} = %{version}-%{release} | |
39 | ||
40 | %description devel | |
41 | The sushi-devel package contains libraries and header files for | |
42 | developing applications that use sushi. | |
43 | ||
44 | %prep | |
45 | %setup -q | |
46 | ||
47 | %build | |
48 | %{__intltoolize} | |
49 | %{__libtoolize} | |
50 | %{__aclocal} -I m4 | |
51 | %{__autoconf} | |
52 | %{__autoheader} | |
53 | %{__automake} | |
54 | %configure \ | |
55 | --disable-static \ | |
56 | --disable-silent-rules | |
57 | %{__make} | |
58 | ||
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsushi-1.0.la | |
66 | ||
67 | %find_lang %{name} | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
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} | |
83 | %{_datadir}/dbus-1/services/org.gnome.Sushi.service | |
84 | %{_libdir}/girepository-1.0/Sushi-1.0.typelib | |
85 | ||
86 | %files devel | |
87 | %defattr(644,root,root,755) | |
88 | %attr(755,root,root) %{_libdir}/libsushi-1.0.so | |
89 | %{_datadir}/gir-1.0/Sushi-1.0.gir |