72ad8216b2c23555e957c6ba1b1c3590ca62689d
[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.34.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.34/%{name}-%{version}.tar.xz
9 # Source0-md5:  3f99bca575004199a0fc6920dbda5f9a
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:  libmusicbrainz5-devel
24 BuildRequires:  meson >= 0.46.0
25 BuildRequires:  ninja >= 1.5
26 BuildRequires:  pkgconfig >= 1:0.22
27 BuildRequires:  rpmbuild(macros) >= 1.736
28 BuildRequires:  tar >= 1:1.22
29 BuildRequires:  xz
30 Requires:       gdk-pixbuf2 >= 2.23.0
31 Requires:       gjs >= 1.38.0
32 Requires:       glib2 >= 1:2.30.0
33 Requires:       gtk+3 >= 3.22.0
34 Requires:       gtksourceview4 >= 4.0.3
35 Requires:       harfbuzz >= 0.9.9
36 Obsoletes:      sushi-devel < 3.6.0
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 This is sushi, a quick previewer for Nautilus, the GNOME desktop file
41 manager.
42
43 %description -l pl.UTF-8
44 Sushi to szybki podgląd dla Nautilusa - zarządcy plików dla środowiska
45 GNOME.
46
47 %prep
48 %setup -q
49
50 %build
51 %meson build
52
53 %ninja_build -C build
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %ninja_install -C build
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 # COPYING contains exception text
68 %doc AUTHORS COPYING NEWS README TODO
69 %attr(755,root,root) %{_bindir}/sushi
70 %attr(755,root,root) %{_libexecdir}/org.gnome.NautilusPreviewer
71 %dir %{_libdir}/sushi
72 %attr(755,root,root) %{_libdir}/sushi/libsushi-1.0.so
73 %dir %{_libdir}/sushi/girepository-1.0
74 %{_libdir}/sushi/girepository-1.0/Sushi-1.0.typelib
75 %{_datadir}/dbus-1/services/org.gnome.NautilusPreviewer.service
76 %{_datadir}/metainfo/org.gnome.NautilusPreviewer.appdata.xml
77 %{_datadir}/sushi
This page took 0.058079 seconds and 2 git commands to generate.