commit 094d55eec056f32641990489dfd874962bd78886
Author: Jan Palus <at...@pld-linux.org>
Date:   Wed Mar 20 12:31:40 2024 +0100

    new

 passt.spec | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
---
diff --git a/passt.spec b/passt.spec
new file mode 100644
index 0000000..49a55d3
--- /dev/null
+++ b/passt.spec
@@ -0,0 +1,53 @@
+%define                gitref  d35bcbe
+
+Summary:       User-mode networking for virtual machines and namespaces
+Name:          passt
+Version:       2024_03_19
+Release:       1
+License:       GPL v2+, BSD
+Group:         Applications/System
+Source0:       
https://passt.top/passt/snapshot/%{name}-%{version}.%{gitref}.tar.xz
+# Source0-md5: f63a94e9d8d3612bd88ac4cf5d57a797
+URL:           https://passt.top/
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+User-mode networking for virtual machines and namespaces.
+
+%prep
+%setup -q -n %{name}-%{version}.%{gitref}
+
+%build
+%{__make} \
+       VERSION="%{version}.%{gitref}" \
+       TARGET="%{_target_platform}" \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}" \
+       CPPFLAGS="%{rpmcppflags}" \
+       LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       prefix="%{_prefix}" \
+       exec_prefix="%{_exec_prefix}" \
+       bindir="%{_bindir}" \
+       datarootdir="%{_datadir}" \
+       mandir="%{_mandir}"
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSES/BSD-3-Clause.txt README.plain.md
+%attr(755,root,root) %{_bindir}/passt
+%attr(755,root,root) %{_bindir}/pasta
+%attr(755,root,root) %{_bindir}/qrap
+%{_mandir}/man1/passt.1*
+%{_mandir}/man1/pasta.1*
+%{_mandir}/man1/qrap.1*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/passt.git/commitdiff/094d55eec056f32641990489dfd874962bd78886

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to