Compare commits

...
Sign in to create a new pull request.

100 commits

Author SHA1 Message Date
Fedora Release Engineering
4caa22f931 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 22:26:30 +00:00
Zbigniew Jędrzejewski-Szmek
d4eb3dfb8e Add sysusers.d config file to allow rpm to create users/groups automatically
See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
2025-02-11 15:35:18 +01:00
Adam Goode
2b578a6ef9 Fix systemd unit file to point to correct gkrellmd location 2025-01-20 09:48:37 -05:00
Adam Goode
59cf897abc Don't rename desktop file, it's referenced elsewhere 2025-01-20 01:59:40 -05:00
Adam Goode
5d19a0e18c New upstream release and modernize spec file 2025-01-20 01:41:49 -05:00
Fedora Release Engineering
2e57b233bd Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 22:10:10 +00:00
Kevin Fenzi
ecc7a19801 Rebuild for new libntlm soname bump.
Rebuild for new libntlm soname bump.
Rebuild for new libntlm soname bump.
2024-12-18 12:50:51 -08:00
Benjamin Gilbert
c6e19dc5fd Require gdk-pixbuf2-modules-extra on F41+ to fix crash (rhbz#2276464) 2024-07-25 23:50:12 -07:00
Miroslav Suchý
0b25e2029a convert GPLv3+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-25 11:57:32 +02:00
Fedora Release Engineering
f3cd2d6e72 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 02:31:00 +00:00
Fedora Release Engineering
7ec65a5e2a Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 14:58:43 +00:00
Fedora Release Engineering
b9fbbea3dc Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 22:29:12 +00:00
Fedora Release Engineering
720d8e34a0 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 23:08:58 +00:00
Fedora Release Engineering
f1829c7c02 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 05:02:03 +00:00
Fedora Release Engineering
317cc10e26 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 06:22:57 +00:00
Fedora Release Engineering
f171363416 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 06:08:29 +00:00
Sahana Prasad
59e8c8c3f6 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:02:41 +02:00
Fedora Release Engineering
8146720b7e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 01:45:43 +00:00
Zbigniew Jędrzejewski-Szmek
9b753a88ff Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:44 +01:00
Fedora Release Engineering
2a3aaf3b2a - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 08:12:50 +00:00
Tom Stellard
12858b9246 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-18 23:23:45 +00:00
Fedora Release Engineering
961ccffc00 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-08-01 01:53:27 +00:00
Fedora Release Engineering
109b594a8f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 20:09:18 +00:00
Fedora Release Engineering
c9d789d67f - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 22:03:33 +00:00
Adam Goode
2adcd2384b Update to 2.3.11 2019-08-25 17:38:14 -04:00
Fedora Release Engineering
e10c88af63 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 03:33:08 +00:00
Fedora Release Engineering
8e74da1add - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 22:32:08 +00:00
Igor Gnatenko
9d5a70c8cd
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 12:49:00 +01:00
Peter Robinson
7e727663bf Drop old sys-v mingration bits 2018-10-15 00:21:02 +01:00
Igor Gnatenko
6c13c66b0d
Add missing BuildRequires on gcc
make[1]: cc: Command not found

References: https://bugzilla.redhat.com/show_bug.cgi?id=1604115
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-24 16:38:16 +02:00
Fedora Release Engineering
04158be475 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 02:28:31 +00:00
Fedora Release Engineering
0fd2f22910 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 12:40:33 +00:00
Fedora Release Engineering
9fdd9ef7b3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 21:43:39 +00:00
Fedora Release Engineering
5c3ea81197 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 10:13:58 +00:00
Fedora Release Engineering
6539ee1a5b - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 11:02:27 +00:00
Ville Skyttä
2531759c55 %changelog spelling and whitespace fixes 2016-10-28 09:39:14 +03:00
Ville Skyttä
be030b5689 Update to 2.3.10 2016-10-24 09:51:28 +03:00
Ville Skyttä
9eb4e3ea47 Update to 2.3.9 2016-10-12 12:32:25 +03:00
Ville Skyttä
389638dc91 Update to 2.3.8 2016-09-08 10:50:38 +03:00
Ville Skyttä
31f54a8e3d Optimize gkrellm.png with zopflipng 2016-07-14 12:03:58 +03:00
Ville Skyttä
782faf0fa8 Patch to fix gkrellm.pc (#1356479) 2016-07-14 12:03:42 +03:00
Ville Skyttä
768d70199a Update to 2.3.7
- Make gkrellmd.conf noreplace again
2016-06-04 08:52:11 +03:00
Hans de Goede
d14f8af255 Update to a 2.3.6-rc git snapshot for misc. fixes (inspired by Debian)
- Add a bunch of patches from Debian
- Add appdata
2016-02-26 22:17:04 +01:00
Dennis Gilmore
b65a765417 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 21:58:40 +00:00
Ville Skyttä
cd9bdf0213 Mark COPYRIGHT as %license 2015-10-09 23:10:08 +03:00
Dennis Gilmore
501dd4674b - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 08:18:49 +00:00
Peter Robinson
62b20d1907 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-16 16:34:37 +00:00
Ville Skyttä
b7b1366618 Start daemon after lm_sensors (#1117750, DaveG)
- Specfile cleanups
2014-07-12 13:45:48 +03:00
Dennis Gilmore
13b22c52b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 10:56:40 -05:00
Ville Skyttä
5e5d70cb39 Patch daemon to allow binding to a listen address that doesn't exist yet.
- Use systemd macros in scriptlets (#850128).
2014-01-10 12:12:24 +02:00
Ville Skyttä
ee5ebacd0f Run icon through optipng (#1047215). 2013-12-31 13:14:30 +02:00
Ville Skyttä
1c6106792e Use main package's doc dir for -devel and -daemon. 2013-12-11 20:43:54 +02:00
Ville Skyttä
76b0d2a980 Fix build with -Werror=format-security (#1037086). 2013-12-06 23:05:35 +02:00
Dennis Gilmore
b30149cec6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 09:31:52 -05:00
Dennis Gilmore
70057404e3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-13 17:31:24 -06:00
Ville Skyttä
f42eae7d3c Systemd unit: add Documentation, remove obsolete After=syslog.target.
- Fix bogus dates in %changelog.
2013-02-08 12:51:58 +02:00
Dennis Gilmore
e10c0d2831 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 01:43:27 -05:00
Ville Skyttä
2459ac04b4 Build with hardening flags on. 2012-04-23 22:53:43 +03:00
Hans de Goede
ffa04ca4b5 Explicitly link against gmodule-2.0 to fix building with latest glib 2012-01-15 19:31:41 +01:00
Dennis Gilmore
cf68f0df46 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-12 21:33:09 -06:00
Ville Skyttä
6e48d3e943 Drop Group from -daemon and -devel too. 2011-11-13 23:36:47 +02:00
Ville Skyttä
e3069d09aa Build with $RPM_LD_FLAGS.
Clean up specfile stuff no longer needed with Fedora or EL6+.
2011-11-13 22:24:49 +02:00
Ville Skyttä
c7ec836d25 Migrate daemon to systemd (#661656).
Do icon dir timestamp update in %post with lua.
2011-07-29 23:40:06 +03:00
Dennis Gilmore
5beefb0c34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 20:10:12 -06:00
Hans de Goede
211335acf0 - Add COPYRIGHT file to -devel and -daemon sub-packages 2010-11-16 22:15:43 +01:00
Ville Skyttä
d8343e52ca Add StartupNotify and StartupWMClass to gkrellm.desktop.
http://lists.fedoraproject.org/pipermail/devel/2010-March/133523.html
2010-10-24 15:23:17 +03:00
Hans de Goede
d740d6141f - New upstream release 2.3.5 2010-10-10 10:04:09 +02:00
Fedora Release Engineering
d18c4e04c4 dist-git conversion 2010-07-28 15:42:47 +00:00
Ville Skyttä
fa47f72978 - Make -devel gtk2-devel dependency ISA qualified. 2010-06-20 21:37:39 +00:00
Ville Skyttä
29f163d1d8 - Fix build with --no-add-needed (#564850).
- Fix plugin dir defaults in installed headers.
- Build with NTLM support.
2010-02-14 21:58:10 +00:00
Hans de Goede
990543952d - New upstream release 2.3.4 2010-01-05 12:39:28 +00:00
Hans de Goede
df15f6c099 - New upstream release 2.3.3
- Fixes the gkrellm client crash when the gkrellm server reboots (#545327)
- Drop a number of upstreamed patches
2009-12-22 08:32:03 +00:00
Hans de Goede
5afd34be04 - Don't crash on laptops with dead batteries (#545987)
- Don't crash with transparent themes (#549005)
2009-12-20 14:10:29 +00:00
Hans de Goede
3fd27a54e5 - Fix crash when using multiple simap/spop mailboxes (#541824) 2009-11-27 11:00:20 +00:00
Bill Nottingham
881678bf65 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:19:27 +00:00
Tomáš Mráz
79dc551ee4 - rebuilt with new openssl 2009-08-21 13:31:37 +00:00
Jesse Keating
a201bb4101 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 2009-07-25 00:14:17 +00:00
Ville Skyttä
de4203ae0a - Sync icon cache update scriptlets with current Fedora guidelines. 2009-03-17 21:02:37 +00:00
Jesse Keating
4c1fbc672c - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 2009-02-24 21:45:02 +00:00
Tomáš Mráz
b461d12ef1 - rebuild with new openssl 2009-01-16 15:52:36 +00:00
Hans de Goede
5632bee948 - New upstream release 2.3.2
- Drop upstreamed memleak patch
2008-10-23 18:42:37 +00:00
Hans de Goede
2e0fb81863 - Fix a small memory leak (which would accumulate over time) thanks to
Daniel Colascione for the patch (rh 464040)
2008-10-02 20:10:23 +00:00
Hans de Goede
24245fedcd - Build against openssl instead of gnutls-openssl fixing symbol conflicts
when using pam_ldap (which uses openssl), this fixes rh 446860
2008-09-10 08:57:51 +00:00
Tomáš Mráz
4678c18f7b - rebuild with new gnutls 2008-06-25 07:06:43 +00:00
Hans de Goede
814edcabaa - Fix building with latest glibc
- Rebuild for gcc 4.3
2008-02-13 19:26:02 +00:00
Ville Skyttä
79b87f6636 - Clean up desktop-file-utils 0.14 warnings. 2007-12-04 21:23:18 +00:00
Hans de Goede
7806e61705 - New upstream release 2.3.1
- Drop upstreamed gnutls and lm_sensors-3.0.0 patches
2007-12-03 20:34:00 +00:00
Hans de Goede
4a7127df75 Add support for lm_sensors-3.0.0 (not building yet as lm_sensors-3.0.0
isn't in the repo yet)
2007-10-28 10:22:29 +00:00
Ville Skyttä
67b0b4ec1f - Rewrite gkrellmd init script: better LSB compliance, hddtemp
interoperability, avoidance of X error messages, general cleanup.
2007-09-05 15:01:26 +00:00
Ville Skyttä
9090bb72f2 - Fix gnutls detection/build and use it instead of openssl.
- Sync user and group creation with current Fedora guidelines.
2007-09-04 16:57:14 +00:00
Hans de Goede
7e1e519d77 - Update License tag for new Licensing Guidelines compliance 2007-08-07 20:52:50 +00:00
Hans de Goede
9efdf7c377 - New upstream release 2.3.0 2007-07-22 14:10:11 +00:00
Hans de Goede
4c8b926554 - Rebuild, including libsensors support on ppc and ppc64 as lm_sensors is
available there now.
2007-07-20 17:07:04 +00:00
Hans de Goede
44a4b51d81 - Add special case for via 686 volt sensors <sigh> (bug 213304) 2006-11-08 18:35:24 +00:00
Hans de Goede
62dd6a3ccc - New upstream release 2.2.10
- Drop integrated lmsensors and sysfs sensors patches
2006-10-31 16:29:31 +00:00
Christian Iseli
30613231b4 automated bump and rebuild 2006-10-04 22:26:33 +00:00
Hans de Goede
aac6b5fde1 - Fixup .desktop so that gkrellm actually gets shown in the menu (bz
206775)
2006-09-22 20:21:07 +00:00
Hans de Goede
2ed91335e6 - FE6 Rebuild 2006-08-28 11:27:48 +00:00
Ville Skyttä
096e78537a http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild 2006-08-27 20:26:33 +00:00
Hans de Goede
75ab6ddeae auto-import gkrellm-2.2.9-7 on branch devel from gkrellm-2.2.9-7.src.rpm 2006-07-19 18:35:32 +00:00
8 changed files with 194 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/*.tar.*

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: gkrellm
# $Id$
NAME := gkrellm
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1,25 @@
diff -up gkrellm-2.3.5/server/gkrellmd.conf.config gkrellm-2.3.5/server/gkrellmd.conf
--- gkrellm-2.3.5/server/gkrellmd.conf.config 2010-09-14 17:26:19.000000000 +0300
+++ gkrellm-2.3.5/server/gkrellmd.conf 2011-06-19 19:17:56.398591498 +0300
@@ -22,16 +22,17 @@
# List of hosts allowed to connect. If no hosts are specified in a
# gkrellmd.conf file or on the command line, all hosts will be allowed.
#
-#allow-host localhost
-#allow-host 127.0.0.1
+allow-host localhost
+allow-host 127.0.0.1
+allow-host ::ffff:127.0.0.1
#allow-host ::1
#allow-host 192.168.0.*
# Drop privileges after startup (you must start gkrellmd as root to do it).
# NOTE: Option ignored on Windows
#
-#user nobody
-#group proc
+user gkrellmd
+group gkrellmd
# Create a PID file for the running gkrellmd. Default is no PID file.
# NOTE: Option ignored on Windows

11
gkrellm-2.4.0-width.patch Normal file
View file

@ -0,0 +1,11 @@
--- gkrellm-2.2.7/src/gkrellm.h.width 2005-06-09 12:48:34.000000000 +0200
+++ gkrellm-2.2.7/src/gkrellm.h 2005-06-09 12:48:37.000000000 +0200
@@ -518,7 +518,7 @@
GkrellmPanel;
-#define CHART_WIDTH_MAX 1000
+#define CHART_WIDTH_MAX 1600
#define CHART_WIDTH_MIN 25
/* Each chart must have a GkrellmChartconfig struct associated with it.

134
gkrellm.spec Normal file
View file

@ -0,0 +1,134 @@
Name: gkrellm
Version: 2.4.0
Release: %autorelease
Summary: Multiple stacked system monitors in one process
License: GPL-3.0-or-later
URL: https://gkrellm.srcbox.net/
Source0: https://gkrellm.srcbox.net/releases/%{name}-%{version}.tar.bz2
Source5: make-git-snapshot.sh
Patch1: gkrellm-2.4.0-config.patch
Patch3: gkrellm-2.4.0-width.patch
BuildRequires: gcc
BuildRequires: gtk2-devel openssl-devel libSM-devel desktop-file-utils gettext
BuildRequires: lm_sensors-devel libntlm-devel libappstream-glib
Requires: gdk-pixbuf2-modules-extra%{?_isa}
%description
GKrellM charts CPU, load, Disk, and all active net interfaces
automatically. An on/off button and online timer for the PPP
interface is provided, as well as monitors for memory and swap usage,
file system, internet connections, APM laptop battery, mbox style
mailboxes, and temperature sensors on supported systems. Also
included is an uptime monitor, a hostname label, and a clock/calendar.
Additional features are:
* Autoscaling grid lines with configurable grid line resolution.
* LED indicators for the net interfaces.
* A gui popup for configuration of chart sizes and resolutions.
%package daemon
Summary: The GNU Krell Monitors Server
# systemd >= 186 for scriptlet macros
BuildRequires: systemd >= 186
BuildRequires: make
Requires(pre): systemd
Requires(post,preun,postun): systemd
%description daemon
gkrellmd listens for connections from gkrellm clients. When a gkrellm
client connects to a gkrellmd server all builtin monitors collect their
data from the server.
%package devel
Summary: Development files for the GNU Krell Monitors
Requires: gtk2-devel%{?_isa}
%description devel
Development files for the GNU Krell Monitors.
%prep
%autosetup -p1
for i in gkrellmd.1 gkrellm.1 README Changelog.OLD Changelog-plugins.html \
src/gkrellm.h server/gkrellmd.h; do
sed -i -e "s@/usr/lib/gkrellm2*/plugins@%{_libdir}/gkrellm2/plugins@" $i
sed -i -e "s@/usr/local/lib/gkrellm2*/plugins@/usr/local/%{_lib}/gkrellm2/plugins@" $i
done
# Create a sysusers.d config file
cat >gkrellm.sysusers.conf <<EOF
u gkrellmd - 'GNU Krell daemon' - -
EOF
%build
make %{?_smp_mflags} PREFIX=%{_prefix} \
PKGCONFIGDIR=%{_libdir}/pkgconfig \
INCLUDEDIR=%{_includedir} \
SINSTALLDIR=%{_sbindir} \
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -Wno-error=incompatible-pointer-types" \
LDFLAGS="$RPM_LD_FLAGS"
%install
mkdir -p %{buildroot}%{_datadir}/gkrellm2/themes
mkdir -p %{buildroot}%{_libdir}/gkrellm2/plugins
make install DESTDIR=%{buildroot} PREFIX=%{_prefix} \
LOCALEDIR=%{buildroot}%{_datadir}/locale \
INSTALLDIR=%{buildroot}%{_bindir} \
SINSTALLDIR=%{buildroot}%{_sbindir} \
MANDIR=%{buildroot}%{_mandir}/man1 \
PKGCONFIGDIR=%{buildroot}%{_libdir}/pkgconfig \
INCLUDEDIR=%{buildroot}%{_includedir} \
CFGDIR=%{buildroot}%{_sysconfdir}
%find_lang %name
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml
install -m0644 -D gkrellm.sysusers.conf %{buildroot}%{_sysusersdir}/gkrellm.conf
%post daemon
%systemd_post gkrellmd.service
%preun daemon
%systemd_preun gkrellmd.service
%postun daemon
%systemd_postun_with_restart gkrellmd.service
%files -f %{name}.lang
%license COPYRIGHT
%doc CHANGELOG.md Changelog.OLD README Themes.html
%{_bindir}/%{name}
%{_libdir}/gkrellm2
%{_datadir}/gkrellm2
%{_mandir}/man1/%{name}.1*
%{_metainfodir}/*.metainfo.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%files devel
%license %{_licensedir}/%{name}*
%{_includedir}/gkrellm2
%{_libdir}/pkgconfig/%{name}.pc
%files daemon
%license %{_licensedir}/%{name}*
%{_unitdir}/gkrellmd.service
%{_sbindir}/gkrellmd
%{_mandir}/man1/gkrellmd.*
%config(noreplace) %{_sysconfdir}/gkrellmd.conf
%{_sysusersdir}/gkrellm.conf
%changelog
%autochangelog

22
make-git-snapshot.sh Executable file
View file

@ -0,0 +1,22 @@
#!/bin/sh
# Usage: ./make-git-snapshot.sh [COMMIT]
#
# to make a snapshot of the given tag/branch. Defaults to HEAD.
# Point env var REF to a local git repo to reduce clone time.
DIRNAME=gkrellm-$( date +%Y%m%d )
echo REF ${REF:+--reference $REF}
echo DIRNAME $DIRNAME
echo HEAD ${1:-HEAD}
rm -rf $DIRNAME
git clone ${REF:+--reference $REF} \
git://git.srcbox.net/gkrellm $DIRNAME
GIT_DIR=$DIRNAME/.git git archive --format=tar --prefix=$DIRNAME/ ${1:-HEAD} \
| bzip2 > $DIRNAME.tar.bz2
# rm -rf $DIRNAME

View file

@ -0,0 +1 @@
SHA512 (gkrellm-2.4.0.tar.bz2) = 770acfe5ee23b74ffe5becc89d3735e9e8688ac338b052e1c2f86cb722b7867b1f8c262a969ef3140eb32912cf0426ac13bf3743e2a9149eec2a962655e05a9f