commit 6ff5d52329da9665b04f544a833138ab1ad50b18 Author: Elan Ruusamäe <g...@delfi.ee> Date: Sun Oct 16 16:16:25 2016 +0300
new, version 0.7.10 keywhiz.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) --- diff --git a/keywhiz.spec b/keywhiz.spec new file mode 100644 index 0000000..d4ed2a2 --- /dev/null +++ b/keywhiz.spec @@ -0,0 +1,42 @@ +# +# Conditional build: +%bcond_without tests # don't build and run tests + +%include /usr/lib/rpm/macros.java +Summary: Keywhiz is a secret management solution +Name: keywhiz +Version: 0.7.10 +Release: 0.1 +License: Apache v2.0 +Group: Applications/System +Source0: https://github.com/square/keywhiz/archive/v%{version}/%{name}-%{version}.tar.gz +URL: https://github.com/square/keywhiz +BuildRequires: jpackage-utils +BuildRequires: maven +BuildRequires: rpm-javaprov +BuildRequires: rpmbuild(macros) >= 1.556 +BuildRequires: sed >= 4.0 +Requires: jpackage-utils +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Keywhiz is a system for distributing and managing secrets. + +%prep +%setup -q + +%build +# https://github.com/square/keywhiz/blob/master/Dockerfile +mvn dependency:copy-dependencies -P docker --fail-never +mvn install -P docker + +%install +rm -rf $RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc BUG-BOUNTY.md CHANGELOG.md CONTRIBUTING.md CONTRIBUTORS README.md ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/keywhiz.git/commitdiff/6ff5d52329da9665b04f544a833138ab1ad50b18 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit