]>
Commit | Line | Data |
---|---|---|
e4109bca MB |
1 | Summary: A log viewer for the systemd journal |
2 | Name: gnome-logs | |
67894812 | 3 | Version: 3.16.2 |
e4109bca MB |
4 | Release: 1 |
5 | License: GPL v3 | |
6 | Group: X11/Applications | |
67894812 MB |
7 | Source0: https://download.gnome.org/sources/gnome-logs/3.16/%{name}-%{version}.tar.xz |
8 | # Source0-md5: 8da362feb647c715ccffa92236117867 | |
e4109bca MB |
9 | URL: https://wiki.gnome.org/Apps/Logs |
10 | BuildRequires: appdata-tools | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake >= 1:1.11 | |
67894812 | 13 | BuildRequires: glib2-devel >= 1:2.44.0 |
e4109bca MB |
14 | BuildRequires: gnome-common |
15 | BuildRequires: gsettings-desktop-schemas-devel | |
67894812 | 16 | BuildRequires: gtk+3-devel >= 3.16.0 |
e4109bca MB |
17 | BuildRequires: intltool >= 0.50.0 |
18 | BuildRequires: libxslt-progs | |
19 | BuildRequires: pkgconfig >= 1:0.24 | |
20 | BuildRequires: rpmbuild(macros) >= 1.311 | |
21 | BuildRequires: systemd-devel | |
22 | BuildRequires: tar >= 1:1.22 | |
23 | BuildRequires: xz | |
24 | BuildRequires: yelp-tools | |
67894812 | 25 | Requires(post,postun): glib2 >= 1:2.36.0 |
e4109bca | 26 | Requires(post,postun): gtk-update-icon-cache |
67894812 | 27 | Requires: glib2 >= 1:2.44.0 |
e4109bca | 28 | Requires: gsettings-desktop-schemas |
67894812 | 29 | Requires: gtk+3 >= 3.16.0 |
e4109bca MB |
30 | Requires: hicolor-icon-theme |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
32 | ||
33 | %description | |
34 | GNOME Logs is a viewer for the systemd journal. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %{__intltoolize} | |
41 | %{__aclocal} -I m4 | |
42 | %{__autoconf} | |
43 | %{__autoheader} | |
44 | %{__automake} | |
45 | %configure \ | |
46 | --disable-silent-rules | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %find_lang %{name} --with-gnome | |
56 | ||
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %post | |
61 | %update_icon_cache hicolor | |
67894812 | 62 | %glib_compile_schemas |
e4109bca MB |
63 | |
64 | %postun | |
65 | %update_icon_cache hicolor | |
67894812 | 66 | %glib_compile_schemas |
e4109bca MB |
67 | |
68 | %files -f %{name}.lang | |
69 | %defattr(644,root,root,755) | |
70 | %doc AUTHORS ChangeLog NEWS README | |
71 | %attr(755,root,root) %{_bindir}/gnome-logs | |
67894812 MB |
72 | %{_datadir}/appdata/org.gnome.Logs.appdata.xml |
73 | %{_datadir}/dbus-1/services/org.gnome.Logs.service | |
74 | %{_datadir}/glib-2.0/schemas/org.gnome.Logs.enums.xml | |
75 | %{_datadir}/glib-2.0/schemas/org.gnome.Logs.gschema.xml | |
76 | %{_desktopdir}/org.gnome.Logs.desktop | |
e4109bca MB |
77 | %{_mandir}/man1/gnome-logs.1* |
78 | %{_iconsdir}/hicolor/*/*/*.png | |
67894812 | 79 | %{_iconsdir}/hicolor/*/*/*.svg |