gnome-logs/gnome-logs.spec

77 lines
1.7 KiB
RPMSpec
Raw Normal View History

2013-12-12 21:16:16 +00:00
Name: gnome-logs
2014-02-04 09:44:36 +00:00
Version: 3.11.5
2013-12-12 21:16:16 +00:00
Release: 1%{?dist}
Summary: A log viewer for the systemd journal
Group: Applications/System
License: GPLv3+
URL: https://wiki.gnome.org/Apps/Logs
2014-02-04 09:44:36 +00:00
Source0: https://download.gnome.org/sources/gnome-logs/3.11/%{name}-%{version}.tar.xz
# Broken desktop translation fixed after 3.11.5 was released.
Patch0: gnome-logs-3.11.5-fix-greek-desktop-translation.patch
2013-12-12 21:16:16 +00:00
BuildRequires: desktop-file-utils
2013-12-17 10:19:57 +00:00
BuildRequires: docbook-dtds
BuildRequires: docbook-style-xsl
2013-12-12 21:16:16 +00:00
BuildRequires: gtk3-devel
BuildRequires: intltool
2013-12-17 10:19:57 +00:00
BuildRequires: libxslt
2013-12-12 21:16:16 +00:00
BuildRequires: systemd-devel
Requires: gsettings-desktop-schemas
%description
A log viewer for the systemd journal.
%prep
%setup -q
2014-02-04 09:44:36 +00:00
%patch0 -p1 -b .translation
2013-12-12 21:16:16 +00:00
%build
2013-12-17 10:19:57 +00:00
%configure
2013-12-12 21:16:16 +00:00
make V=1 %{?_smp_mflags}
%install
%make_install
%find_lang gnome-logs --with-gnome
%check
desktop-file-validate %{buildroot}/%{_datadir}/applications/gnome-logs.desktop
2013-12-17 10:19:57 +00:00
%post
2014-02-04 09:44:36 +00:00
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
2013-12-17 10:19:57 +00:00
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
2013-12-12 21:16:16 +00:00
%files -f gnome-logs.lang
%doc AUTHORS COPYING README NEWS
%{_bindir}/gnome-logs
%{_datadir}/appdata/gnome-logs.appdata.xml
%{_datadir}/applications/gnome-logs.desktop
2013-12-17 10:19:57 +00:00
%{_datadir}/icons/hicolor/*/apps/gnome-logs.png
%{_mandir}/man1/gnome-logs.1*
2013-12-12 21:16:16 +00:00
%changelog
2014-02-04 09:44:36 +00:00
* Tue Feb 04 2014 David King <amigadave@amigadave.com> - 3.11.5-1
- Update to 3.11.5
2013-12-17 10:19:57 +00:00
* Tue Dec 17 2013 David King <amigadave@amigadave.com> - 3.11.3-1
- Update to 3.11.3
2013-12-12 21:16:16 +00:00
* Thu Dec 12 2013 David King <amigadave@amigadave.com> - 3.11.2-1
- New package.