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