[packages/golang-varlink] new (version 0.3.0)
atler
atler at pld-linux.org
Thu Aug 13 11:58:44 CEST 2020
commit e0bda760601d1cabb0d1654486f46eefe1a5f763
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Aug 13 11:57:57 2020 +0200
new (version 0.3.0)
golang-varlink.spec | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
---
diff --git a/golang-varlink.spec b/golang-varlink.spec
new file mode 100644
index 0000000..05e3852
--- /dev/null
+++ b/golang-varlink.spec
@@ -0,0 +1,33 @@
+Summary: Implementation of the varlink protocol in golang
+Name: golang-varlink
+Version: 0.3.0
+Release: 1
+License: Apache v2.0
+Group: Libraries
+#Source0Download: https://github.com/varlink/go/releases
+Source0: https://github.com/varlink/go/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: ef568f337755816a952b58199027d446
+URL: https://github.com/varlink/go
+Requires: golang
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Implementation of the varlink protocol in golang.
+
+%prep
+%setup -q -n go-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/golang/src/github.com/varlink/go
+
+cp -rp varlink $RPM_BUILD_ROOT%{_libdir}/golang/src/github.com/varlink/go
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%dir %{_libdir}/golang/src/github.com/varlink
+%{_libdir}/golang/src/github.com/varlink/go
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/golang-varlink.git/commitdiff/e0bda760601d1cabb0d1654486f46eefe1a5f763
More information about the pld-cvs-commit
mailing list