diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a5b16e2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/wmmon-1.0b2-g575778a6.tar.gz diff --git a/dead.package b/dead.package deleted file mode 100644 index 5204a84..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Orphaned for 6+ weeks diff --git a/sources b/sources new file mode 100644 index 0000000..dd95597 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +af0699b75c57b2215a32de50377d2f01 wmmon-1.0b2-g575778a6.tar.gz diff --git a/wmmon.spec b/wmmon.spec new file mode 100644 index 0000000..24d0b93 --- /dev/null +++ b/wmmon.spec @@ -0,0 +1,67 @@ +%define snapdate 20120606 +%define treeish 575778a6 +%define beta b2 + +Name: wmmon +Version: 1.0 +Release: %{?beta:0.}1%{?beta:.%{beta}}.%{snapdate}git%{treeish}%{?dist}.1 +Summary: Nice system monitor for WindowMaker + +Group: User Interface/X +License: GPLv2 + +# wmmon is long since abandoned by its' original author and now +# maintained by wmaker-dev@lists.windowmaker.org subscribers. +URL: http://repo.or.cz/w/dockapps.git + +# "snapshot" link from http://repo.or.cz/w/dockapps.git/tree/HEAD:/wmmon +# Tree-ish hash reduced to 8 chars, name and version parts are correctly +# parsed by gitweb. However, you will get different results each time you +# try to download this file, because git-archive(1) stamps each file with +# current time. This is how git-archive(1) works... +Source: %{url}/snapshot/%{name}-%{version}%{?beta}-g%{treeish}.tar.gz + +BuildRequires: libXext-devel libXpm-devel + +%description +WMMon monitors the realtime CPU load as well the average +system load and gives you some nice additional features too... + +WMMon currently provides: + + * Realtime CPU 'stress' meter; + * Average system load, like xload & wmavgload; + * Average system load graph is auto-scaling; + * Realtime Disk I/O 'stress' meter; + * Average Disk I/O load graph (auto-scaling); + * Realtime total Mem & Swap usage meters; + * System uptime display; + * Realtime cycling through all monitor modes; + * Can launch 3 user definable commands through ~/.wmmonrc; + * Can be started multiple times; + * Commandline options for help (-h), version (-v), + start mode (-i & -s) and display (-d); + +%prep +%setup -q -c + +%build +cd dockapps/wmmon +make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" + +%install +mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1} +install -p -m755 dockapps/wmmon/wmmon %{buildroot}%{_bindir}/wmmon +install -p -m644 dockapps/wmmon/wmmon.1 %{buildroot}%{_mandir}/man1/wmmon.1 + +%files +%doc dockapps/BUGS dockapps/CHANGES dockapps/COPYING dockapps/HINTS dockapps/README dockapps/TODO +%{_bindir}/wmmon +%{_mandir}/man1/wmmon.1* + +%changelog +* Sun Jul 22 2012 Fedora Release Engineering - 1.0-0.1.b2.20120606git575778a6.1 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu Jun 28 2012 Alexey I. Froloff - 1.0-0.1.b2.20120606git575778a6 +- Initial build for Fedora