Compare commits
1 commit
rawhide
...
epel8-play
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7945c9cb07 |
7 changed files with 1 additions and 194 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/*.tar.*
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
epel8-playground decommissioned : https://pagure.io/epel/issue/136
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
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
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- 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
134
gkrellm.spec
|
|
@ -1,134 +0,0 @@
|
|||
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
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
#!/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
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (gkrellm-2.4.0.tar.bz2) = 770acfe5ee23b74ffe5becc89d3735e9e8688ac338b052e1c2f86cb722b7867b1f8c262a969ef3140eb32912cf0426ac13bf3743e2a9149eec2a962655e05a9f
|
||||
Loading…
Add table
Add a link
Reference in a new issue