Name: RPMWazuh Version: 1.0 Release: 1 Summary: RPM package for wazuh QA Test Group: Wazuh BuildArch: x86_64 License: GPLv2 URL: https://gogs.makefile.es/okynos/RPM-Wazuh Source0: %{name}-%{version}.tar.gz Requires: python %description This package install two scripts that work with python %prep %setup -q %build %clean rm -rf %{buildroot} %install rm -rf %{buildroot} %{__install} -d %{buildroot}%{_sbindir} install -d -m 0755 %{buildroot}/usr/share/myapp install -d -m 0755 %{buildroot}/etc/myapp install -m 0755 configure_repo.py %{buildroot}/usr/share/myapp install -m 0644 snapshots_conf.json %{buildroot}/etc/myapp install -m 0644 README.md %{buildroot}/usr/share/myapp %files %defattr(-,root,root,-) /usr/share/myapp/configure_repo.py /usr/share/myapp/configure_repo.pyc /usr/share/myapp/configure_repo.pyo /etc/myapp/snapshots_conf.json /usr/share/myapp/README.md %changelog * Wed Jun 13 2018 José Fernández 1.0.0 - Initial rpm release