b5733c6e10b13199adb2b77fec68b245311bd259
[packages/sushi.git] / sushi.spec
1 Summary:        A quick previewer for Nautilus
2 Summary(pl.UTF-8):      Szybki podgląd dla Nautilusa
3 Name:           sushi
4 Version:        3.38.0
5 Release:        1
6 License:        GPL v2+ with GStreamer plugins exception
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/sushi/3.38/%{name}-%{version}.tar.xz
9 # Source0-md5:  64409079d4da33156e53b9ecc3e6ba17
10 URL:            https://wiki.gnome.org/ThreePointOne/Features/FilePreviewing
11 BuildRequires:  evince-devel >= 3.2.0
12 BuildRequires:  freetype-devel >= 2
13 BuildRequires:  gdk-pixbuf2-devel >= 2.23.0
14 BuildRequires:  gjs-devel >= 1.38.0
15 BuildRequires:  glib2-devel >= 1:2.30.0
16 BuildRequires:  gobject-introspection-devel >= 0.10.0
17 BuildRequires:  gstreamer-devel >= 1.0.0
18 BuildRequires:  gstreamer-plugins-base-devel >= 1.0.0
19 BuildRequires:  gtk+3-devel >= 3.22.0
20 BuildRequires:  gtk-webkit4-devel
21 BuildRequires:  gtksourceview4-devel >= 4.0.3
22 BuildRequires:  harfbuzz-devel >= 0.9.9
23 BuildRequires:  libepoxy-devel
24 BuildRequires:  libmusicbrainz5-devel
25 BuildRequires:  meson >= 0.47.0
26 BuildRequires:  ninja >= 1.5
27 BuildRequires:  pkgconfig >= 1:0.22
28 BuildRequires:  rpmbuild(macros) >= 1.736
29 BuildRequires:  tar >= 1:1.22
30 BuildRequires:  xz
31 Requires:       gdk-pixbuf2 >= 2.23.0
32 Requires:       gjs >= 1.38.0
33 Requires:       glib2 >= 1:2.30.0
34 Requires:       gtk+3 >= 3.22.0
35 Requires:       gtksourceview4 >= 4.0.3
36 Requires:       harfbuzz >= 0.9.9
37 Obsoletes:      sushi-devel < 3.6.0
38 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39
40 %description
41 This is sushi, a quick previewer for Nautilus, the GNOME desktop file
42 manager.
43
44 %description -l pl.UTF-8
45 Sushi to szybki podgląd dla Nautilusa - zarządcy plików dla środowiska
46 GNOME.
47
48 %prep
49 %setup -q
50
51 %build
52 %meson build
53
54 %ninja_build -C build
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %ninja_install -C build
60
61 %find_lang %{name}
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 # COPYING contains exception text
69 %doc AUTHORS COPYING NEWS README TODO
70 %attr(755,root,root) %{_bindir}/sushi
71 %attr(755,root,root) %{_libexecdir}/org.gnome.NautilusPreviewer
72 %dir %{_libdir}/sushi
73 %attr(755,root,root) %{_libdir}/sushi/libsushi-1.0.so
74 %dir %{_libdir}/sushi/girepository-1.0
75 %{_libdir}/sushi/girepository-1.0/Sushi-1.0.typelib
76 %{_datadir}/dbus-1/services/org.gnome.NautilusPreviewer.service
77 %{_datadir}/metainfo/org.gnome.NautilusPreviewer.appdata.xml
78 %{_datadir}/sushi
This page took 0.049796 seconds and 2 git commands to generate.