452f997dd5ea7329a54728fa9cb9fb4f6edd5c0b
[packages/sushi.git] / sushi.spec
1 Summary:        A quick previewer for Nautilus
2 Name:           sushi
3 Version:        3.8.0
4 Release:        1
5 License:        GPLv2+ with exceptions
6 Group:          X11/Applications
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/sushi/3.8/%{name}-%{version}.tar.xz
8 # Source0-md5:  8efffd6e0da104543e8b1b08bb67b73c
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.12.0
13 BuildRequires:  clutter-gst-devel
14 BuildRequires:  clutter-gtk-devel >= 1.0.2
15 BuildRequires:  evince-devel >= 3.2.0
16 BuildRequires:  freetype-devel
17 BuildRequires:  gdk-pixbuf2-devel >= 2.23.0
18 BuildRequires:  gjs-devel >= 1.34
19 BuildRequires:  glib2-devel >= 1:2.30.0
20 BuildRequires:  gobject-introspection-devel >= 0.10.0
21 BuildRequires:  gstreamer-devel >= 1.0.0
22 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
23 BuildRequires:  gtk+3-devel >= 3.4.0
24 BuildRequires:  gtk-webkit3-devel
25 BuildRequires:  gtksourceview3-devel
26 BuildRequires:  intltool >= 0.40.0
27 BuildRequires:  libmusicbrainz5-devel
28 BuildRequires:  libtool
29 BuildRequires:  pkgconfig
30 BuildRequires:  tar >= 1:1.22
31 BuildRequires:  xz
32 Requires(post,postun): glib2 >= 1:2.30.0
33 Obsoletes:      sushi-devel < 3.6.0
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 This is sushi, a quick previewer for Nautilus, the GNOME desktop file
38 manager.
39
40 %prep
41 %setup -q
42
43 %build
44 %{__intltoolize}
45 %{__libtoolize}
46 %{__aclocal} -I m4
47 %{__autoconf}
48 %{__autoheader}
49 %{__automake}
50 %configure \
51         --disable-static \
52         --disable-silent-rules
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 %{__rm} $RPM_BUILD_ROOT%{_libdir}/sushi/*.la
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %glib_compile_schemas
70
71 %postun
72 %glib_compile_schemas
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc README AUTHORS NEWS TODO
77 %attr(755,root,root) %{_bindir}/sushi
78 %attr(755,root,root) %{_libexecdir}/sushi-start
79 %dir %{_libdir}/sushi
80 %attr(755,root,root) %{_libdir}/sushi/libsushi-1.0.so
81 %dir %{_libdir}/sushi/girepository-1.0
82 %{_libdir}/sushi/girepository-1.0/Sushi-1.0.typelib
83 %{_datadir}/%{name}
84 %{_datadir}/dbus-1/services/org.gnome.Sushi.service
85 %{_datadir}/glib-2.0/schemas/org.gnome.sushi.gschema.xml
This page took 0.061628 seconds and 2 git commands to generate.