From a1cd50d725ecf1f6066ac8ba60fba916ff15a590 Mon Sep 17 00:00:00 2001 From: Devon Kim Date: Sun, 1 Feb 2015 22:19:02 -0500 Subject: [PATCH] Added RPM spec --- govready.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 govready.spec diff --git a/govready.spec b/govready.spec new file mode 100644 index 0000000..17d1d6e --- /dev/null +++ b/govready.spec @@ -0,0 +1,45 @@ +%define proj govready +Name: %{proj} +Version: 0.6.0 +Release: 1%{?dist} +Summary: Software audit and compliance for developers +Group: Utilities/Security +License: Apache 2.0 +URL: http://www.gitmachines.com +Prefix: /opt +BuildArch: noarch +#BuildRoot: %{_tmppath}/%{name}-RPM_BUILD_ROOT +Source0: %{proj}-%{version}.tar.gz +Requires: epel-release >= 6-8,openscap,scap-security-guide,nss >= 3.15.3 + +%description +Govready package + +%install +rm -rf ${RPM_BUILD_ROOT} +install -m 0755 -d ${RPM_BUILD_ROOT}/opt/govready +#install -m 0755 {scripts,prototypes,templates} ${RPM_BUILD_ROOT}/opt/%{proj}/ +# sloppy +cp -r * ${RPM_BUILD_ROOT}/opt/%{proj}/ +rm -f ${RPM_BUILD_ROOT}/%{proj}.spec + +%prep +%setup -q %{proj} + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%build + +%files +%dir /opt/%{proj} +%defattr(-,root,root,-) +%doc README.md +%doc docs/* +/opt/%{proj}/* + +%post + +%changelog +* Sat Jan 17 2015 Devon Kim 0.6.0-1 +- Initial RPM