[packages/wavemon] Up to 0.9.7
arekm
arekm at pld-linux.org
Fri Nov 27 21:40:34 CET 2026
commit 7a0c3d1ca52ff43d3ce282523bfe7dcf308f36bc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 15:10:34 2026 +0100
Up to 0.9.7
License is GPL v3+ since 0.9.x.
wavemon.spec | 41 ++++++++++++++++++++++-------------------
1 file changed, 22 insertions(+), 19 deletions(-)
---
diff --git a/wavemon.spec b/wavemon.spec
index 36bc1f4..e6c6bbc 100644
--- a/wavemon.spec
+++ b/wavemon.spec
@@ -1,14 +1,15 @@
Summary: Monitoring application for wireless network devices
Summary(pl.UTF-8): Narzędzie monitorujące dla urządzeń sieci bezprzewodowych
Name: wavemon
-Version: 0.7.6
-Release: 2
-License: GPL v2
+Version: 0.9.7
+Release: 1
+License: GPL v3+
Group: Applications/Networking
Source0: https://github.com/uoaerg/wavemon/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: cd0049f174745d32b4fdf3b63d897bad
-URL: http://eden-feed.erg.abdn.ac.uk/wavemon/
-BuildRequires: autoconf
+# Source0-md5: 04e8c9632e69b249f636968f5687c802
+URL: https://github.com/uoaerg/wavemon
+BuildRequires: libcap-devel
+BuildRequires: libnl-devel >= 1:3.2.22
BuildRequires: ncurses-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -20,28 +21,30 @@ Narzędzie monitorujące dla urządzeń sieci bezprzewodowych.
%prep
%setup -q
-sed -e 's|\[ncurses.h|\[ncurses/ncurses.h|' -i configure.ac
%build
-%{__autoconf}
-%configure
-%{__make} \
- CFLAGS="-I/usr/include/ncurses %{rpmcflags}" \
- LDFLAGS="-pthread"
+%configure \
+ --with-libcap
+# Makefile uses ?=, so the rpm flags exported in the environment would hide
+# the ncurses/libnl flags configure appended to the same variables.
+env -u CFLAGS -u CPPFLAGS -u LDFLAGS %{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5}}
+install -d $RPM_BUILD_ROOT%{_mandir}/man{1,5}
-install %{name} $RPM_BUILD_ROOT%{_bindir}
-install *.1 $RPM_BUILD_ROOT%{_mandir}/man1
-install *.5 $RPM_BUILD_ROOT%{_mandir}/man5
+%{__make} install-binaries \
+ DESTDIR=$RPM_BUILD_ROOT
+
+cp -p wavemon.1 $RPM_BUILD_ROOT%{_mandir}/man1
+cp -p wavemonrc.5 $RPM_BUILD_ROOT%{_mandir}/man5
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README THANKS
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man?/*
+%doc README.md
+%attr(755,root,root) %{_bindir}/wavemon
+%{_mandir}/man1/wavemon.1*
+%{_mandir}/man5/wavemonrc.5*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wavemon.git/commitdiff/7a0c3d1ca52ff43d3ce282523bfe7dcf308f36bc
More information about the pld-cvs-commit
mailing list