[packages/vdetelweb] - updated to 1.2.3

qboosh qboosh at pld-linux.org
Sat Apr 5 19:29:03 CEST 2025


commit de54b5515aed07ce01beaa4ba14fd63cc800f3dd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 5 19:10:10 2025 +0200

    - updated to 1.2.3

 vdetelweb.spec | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/vdetelweb.spec b/vdetelweb.spec
index 9f52f5f..cc6a659 100644
--- a/vdetelweb.spec
+++ b/vdetelweb.spec
@@ -1,15 +1,19 @@
 Summary:	Telnet and Web interface for VDE2
 Summary(pl.UTF-8):	Telnet oraz interfejs WWW dla VDE2
 Name:		vdetelweb
-Version:	1.2.1
+Version:	1.2.3
 Release:	1
 License:	GPL v2+
 Group:		Applications/Networking
-Source0:	http://downloads.sourceforge.net/vde/%{name}-%{version}.tar.bz2
-# Source0-md5:	86d696891ae52fc60deb6804748cb382
-URL:		http://wiki.v2.cs.unibo.it/wiki/index.php/Vdetelweb:_Telnet_and_Web_management_for_VDE
+#Source0Download: https://github.com/virtualsquare/vdetelweb/tags
+Source0:	https://github.com/virtualsquare/vdetelweb/archive/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	0c992b2fa55abd080dfe9f0b81a735c6
+URL:		http://wiki.v2.cs.unibo.it/wiki/index.php%3Ftitle=Vdetelweb:_Telnet_and_Web_management_for_VDE.html
+BuildRequires:	cmake >= 3.12
 BuildRequires:	lwipv6-devel
 BuildRequires:	mhash-devel
+BuildRequires:	rpmbuild(macros) >= 1.605
+BuildRequires:	vde2-devel >= 2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -22,21 +26,28 @@ Telnet oraz interfejs WWW dla VDE2.
 %setup -q
 
 %build
-%configure
+install -d build
+cd build
+%cmake ..
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+# missing in cmake install
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/vde
+cp -p vdetelwebrc $RPM_BUILD_ROOT%{_sysconfdir}/vde
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc README.md
 %attr(755,root,root) %{_bindir}/vdetelweb
 %dir %{_sysconfdir}/vde
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vde/vdetelwebrc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vdetelweb.git/commitdiff/de54b5515aed07ce01beaa4ba14fd63cc800f3dd



More information about the pld-cvs-commit mailing list