From 40ffdacbe70a8f4cd5cd8101e4f28ff11808960b Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jul 10 2013 20:43:46 +0000 Subject: import gnome-system-log-3.8.1-2.el7.src.rpm --- diff --git a/.gnome-system-log.metadata b/.gnome-system-log.metadata new file mode 100644 index 0000000..275657f --- /dev/null +++ b/.gnome-system-log.metadata @@ -0,0 +1 @@ +3fe898d109f3209e52fb49b8072be0a878f79cc5 SOURCES/gnome-system-log-3.8.1.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/gnome-system-log b/SOURCES/gnome-system-log new file mode 100755 index 0000000..53b55c5 --- /dev/null +++ b/SOURCES/gnome-system-log @@ -0,0 +1,3 @@ +#! /bin/sh + +exec pkexec logview diff --git a/SOURCES/org.gnome.logview.policy b/SOURCES/org.gnome.logview.policy new file mode 100644 index 0000000..428dd93 --- /dev/null +++ b/SOURCES/org.gnome.logview.policy @@ -0,0 +1,22 @@ + + + + + GNOME + http://www.gnome.org + + + Run gnome-system-log + Authentication is required to run Log Viewer + logview + + no + no + auth_admin_keep + + /usr/bin/logview + true + + diff --git a/SPECS/gnome-system-log.spec b/SPECS/gnome-system-log.spec new file mode 100644 index 0000000..2014588 --- /dev/null +++ b/SPECS/gnome-system-log.spec @@ -0,0 +1,153 @@ +Name: gnome-system-log +Version: 3.8.1 +Release: 2%{?dist} +Epoch: 1 +Summary: A log file viewer for GNOME + +Group: Applications/System +License: GPLv2+ and GFDL +URL: http://www.gnome.org +Source0: http://download.gnome.org/sources/gnome-system-log/3.8/gnome-system-log-%{version}.tar.xz +Source1: gnome-system-log +Source2: org.gnome.logview.policy + +BuildRequires: gtk3-devel +BuildRequires: intltool +BuildRequires: docbook-dtds +BuildRequires: desktop-file-utils +BuildRequires: itstool + +Obsoletes: gnome-utils < 1:3.3 +Obsoletes: gnome-utils-devel < 1:3.3 +Obsoletes: gnome-utils-libs < 1:3.3 + +%description +gnome-system-log lets you view various log files on your system. + +%prep +%setup -q + + +%build +%configure +make %{?_smp_mflags} + + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-log.desktop + +mv $RPM_BUILD_ROOT%{_bindir}/gnome-system-log $RPM_BUILD_ROOT%{_bindir}/logview +cp %{SOURCE1} $RPM_BUILD_ROOT%{_bindir} +chmod a+x $RPM_BUILD_ROOT%{_bindir}/gnome-system-log +mkdir -p $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions +cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/polkit-1/actions + +%find_lang %{name} --with-gnome + +# https://bugzilla.redhat.com/show_bug.cgi?id=736523 +#echo "%%dir %%{_datadir}/help/C" >> aisleriot.lang +#echo "%%{_datadir}/help/C/%%{name}" >> aisleriot.lang +#for l in ca cs de el en_GB es eu fi fr it ja ko oc ru sl sv uk zh_CN; do +# echo "%%dir %%{_datadir}/help/$l" +# echo "%%lang($l) %%{_datadir}/help/$l/%%{name}" +#done >> %{name}.lang + +%post +for d in hicolor HighContrast ; do + touch --no-create %{_datadir}/icons/$d >&/dev/null || : +done + +%postun +if [ $1 -eq 0 ]; then + glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : + for d in hicolor HighContrast ; do + touch --no-create %{_datadir}/icons/$d >&/dev/null || : + gtk-update-icon-cache %{_datadir}/icons/$d >&/dev/null || : + done +fi + +%posttrans +glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : +for d in hicolor HighContrast ; do + gtk-update-icon-cache %{_datadir}/icons/$d >&/dev/null || : +done + +%files -f %{name}.lang +%doc COPYING COPYING.docs +%{_bindir}/gnome-system-log +%{_bindir}/logview +%{_datadir}/GConf/gsettings/logview.convert +%{_datadir}/applications/gnome-system-log.desktop +%{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-log.gschema.xml +%{_datadir}/icons/hicolor/*/apps/logview.png +%{_datadir}/icons/HighContrast/*/apps/logview.png +%{_datadir}/polkit-1/actions/org.gnome.logview.policy +%doc %{_mandir}/man1/gnome-system-log.1.gz + +%changelog +* Wed Jul 10 2013 Matthias Clasen - 1:3.8.1-2 +- Fix source url + +* Mon Apr 15 2013 Kalev Lember - 1:3.8.1-1 +- Update to 3.8.1 + +* Tue Mar 26 2013 Kalev Lember - 1:3.8.0-1 +- Update to 3.8.0 + +* Tue Feb 19 2013 Richard Hughes - 1:3.7.90-1 +- Update to 3.7.90 + +* Thu Feb 14 2013 Fedora Release Engineering - 1:3.6.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Mon Nov 19 2012 Matthias Clasen - 1:3.6.1-2 +- Use auth_admin instead of auth_self (#878115) + +* Tue Nov 13 2012 Kalev Lember - 1:3.6.1-1 +- Update to 3.6.1 +- Remove unused BRs + +* Tue Sep 25 2012 Cosimo Cecchi - 1:3.6.0-1 +- Update to 3.6.0 + +* Wed Sep 19 2012 Richard Hughes - 1:3.5.92-1 +- Update to 3.5.92 + +* Wed Sep 05 2012 Cosimo Cecchi - 1:3.5.91-1 +- Update to 3.5.91 + +* Tue Aug 21 2012 Richard Hughes - 1:3.5.90-1 +- Update to 3.5.90 + +* Tue Jul 17 2012 Richard Hughes - 1:3.5.4-1 +- Update to 3.5.4 + +* Tue Apr 24 2012 Kalev Lember - 1:3.4.1-2 +- Silence rpm scriptlet output + +* Mon Apr 16 2012 Richard Hughes - 1:3.4.1-1 +- Update to 3.4.1 + +* Thu Apr 5 2012 Matthias Clasen - 1:3.4.0-2 +- Use pkexec to run privileged + +* Mon Mar 26 2012 Cosimo Cecchi - 1:3.4.0-1 +- Update to 3.4.0 + +* Wed Mar 21 2012 Kalev Lember - 1:3.3.92-1 +- Update to 3.3.92 + +* Mon Mar 19 2012 Kalev Lember - 1:3.3.1-4 +- Use epoch to fix the upgrade path from the old gnome-system-log package that + was built as part of gnome-utils + +* Sat Mar 17 2012 Matthias Clasen - 3.3.1-3 +- Obsolete gnome-utils and subpackages + +* Fri Jan 13 2012 Fedora Release Engineering - 3.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Nov 18 2011 Matthias Clasen - 3.3.1-1 +- Initial packaging