gnome-logs/gnome-logs.spec

89 lines
2.0 KiB
RPMSpec
Raw Normal View History

2013-12-12 21:16:16 +00:00
Name: gnome-logs
2014-03-17 23:09:06 +00:00
Version: 3.11.92
Release: 1%{?dist}
2013-12-12 21:16:16 +00:00
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
2013-12-12 21:16:16 +00:00
BuildRequires: appdata-tools
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
BuildRequires: gnome-common
2013-12-12 21:16:16 +00:00
BuildRequires: intltool
2013-12-17 10:19:57 +00:00
BuildRequires: libxslt
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libsystemd-journal)
2013-12-12 21:16:16 +00:00
Requires: gsettings-desktop-schemas
%description
A log viewer for the systemd journal.
%prep
%setup -q
%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
make check
2013-12-12 21:16:16 +00:00
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-03-17 23:09:06 +00:00
* Mon Mar 17 2014 David King <amigadave@amigadave.com> - 3.11.92-1
- Update to 3.11.92
* Sat Mar 08 2014 David King <amigadave@amigadave.com> - 3.11.91-2
- Use pkgconfig with BuildRequires
2014-03-03 23:10:14 +00:00
* Mon Mar 03 2014 David King <amigadave@amigadave.com> - 3.11.91-1
- Update to 3.11.91
* Tue Feb 18 2014 David King <amigadave@amigadave.com> - 3.11.90-1
- Update to 3.11.90
- Validate the desktop file and AppData using "make check"
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.