1 | Name: gnome-books |
---|
2 | Version: 3.34.0 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: E-Book Manager |
---|
5 | Group: Applications/Accessories |
---|
6 | Vendor: Project Vine |
---|
7 | Distribution: Vine Linux |
---|
8 | |
---|
9 | License: GPLv2+ |
---|
10 | URL: https://wiki.gnome.org/Apps/Books |
---|
11 | %define shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//') |
---|
12 | Source0: https://download.gnome.org/sources/gnome-books/%{version}/gnome-books-%{version}.tar.xz |
---|
13 | |
---|
14 | BuildRequires: docbook-style-xsl |
---|
15 | BuildRequires: gcc |
---|
16 | BuildRequires: librsvg2 |
---|
17 | BuildRequires: meson |
---|
18 | BuildRequires: pkgconfig(evince-document-3.0) |
---|
19 | BuildRequires: pkgconfig(evince-view-3.0) |
---|
20 | BuildRequires: pkgconfig(gjs-1.0) |
---|
21 | BuildRequires: pkgconfig(glib-2.0) |
---|
22 | BuildRequires: pkgconfig(gnome-desktop-3.0) |
---|
23 | BuildRequires: pkgconfig(gobject-introspection-1.0) |
---|
24 | BuildRequires: pkgconfig(gtk+-3.0) |
---|
25 | BuildRequires: pkgconfig(libgepub-0.6) |
---|
26 | BuildRequires: pkgconfig(tracker-control-2.0) |
---|
27 | BuildRequires: pkgconfig(tracker-sparql-2.0) |
---|
28 | BuildRequires: pkgconfig(webkit2gtk-4.0) |
---|
29 | BuildRequires: /usr/bin/appstream-util |
---|
30 | BuildRequires: /usr/bin/desktop-file-validate |
---|
31 | |
---|
32 | Requires: gettext%{?isa} |
---|
33 | Requires: gnome-epub-thumbnailer |
---|
34 | Requires: libgepub%{?_isa} |
---|
35 | Requires: tracker-miners |
---|
36 | |
---|
37 | %description |
---|
38 | Books is a simple application to access and organize your e-books on GNOME. It |
---|
39 | is meant to be a simple and elegant replacement for using a file manager to |
---|
40 | deal with e-books. |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %autosetup -p1 |
---|
45 | |
---|
46 | |
---|
47 | %build |
---|
48 | %meson |
---|
49 | %meson_build |
---|
50 | |
---|
51 | |
---|
52 | %install |
---|
53 | %meson_install |
---|
54 | |
---|
55 | %find_lang gnome-books |
---|
56 | |
---|
57 | |
---|
58 | %check |
---|
59 | appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Books.appdata.xml |
---|
60 | desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Books.desktop |
---|
61 | |
---|
62 | %post |
---|
63 | if [ $1 -eq 1 ]; then |
---|
64 | glib-compile-schemas /usr/share/glib-2.0/schemas ||: |
---|
65 | update-desktop-database -q > /dev/null || : |
---|
66 | fi |
---|
67 | |
---|
68 | %postun |
---|
69 | if [ $1 -eq 0 ]; then |
---|
70 | glib-compile-schemas /usr/share/glib-2.0/schemas ||: |
---|
71 | update-desktop-database -q > /dev/null || : |
---|
72 | fi |
---|
73 | |
---|
74 | %files -f gnome-books.lang |
---|
75 | %license COPYING |
---|
76 | %doc README.md |
---|
77 | %{_bindir}/gnome-books |
---|
78 | %{_libdir}/gnome-books/ |
---|
79 | %{_datadir}/applications/org.gnome.Books.desktop |
---|
80 | %{_datadir}/dbus-1/services/org.gnome.Books.service |
---|
81 | %{_datadir}/glib-2.0/schemas/org.gnome.Books.enums.xml |
---|
82 | %{_datadir}/glib-2.0/schemas/org.gnome.books.gschema.xml |
---|
83 | %{_datadir}/gnome-books/ |
---|
84 | %{_datadir}/icons/hicolor/scalable/apps/org.gnome.Books.svg |
---|
85 | %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Books-symbolic.svg |
---|
86 | %{_datadir}/metainfo/org.gnome.Books.appdata.xml |
---|
87 | %{_mandir}/man1/gnome-books.1* |
---|
88 | |
---|
89 | |
---|
90 | %changelog |
---|
91 | * Tue Oct 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 3.34.0-2 |
---|
92 | - initial build for Vine Linux. |
---|
93 | |
---|
94 | * Fri Sep 06 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1 |
---|
95 | - Update to 3.34.0 |
---|
96 | |
---|
97 | * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-5 |
---|
98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
---|
99 | |
---|
100 | * Sun Jul 21 2019 Kalev Lember <klember@redhat.com> - 3.32.0-4 |
---|
101 | - Rebuilt for libgnome-desktop soname bump |
---|
102 | |
---|
103 | * Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 3.32.0-3 |
---|
104 | - Rebuild with Meson fix for #1699099 |
---|
105 | |
---|
106 | * Wed Apr 10 2019 Kalev Lember <klember@redhat.com> - 3.32.0-2 |
---|
107 | - Add appdata and desktop file validation (#1698489) |
---|
108 | |
---|
109 | * Wed Apr 10 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1 |
---|
110 | - Initial Fedora packaging |
---|