This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpaws.spec
73 lines (62 loc) · 2.23 KB
/
paws.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Name: paws
Version: 0.6.0
Release: 0
Summary: Provision Automated Windows and Services
Group: Development/Libraries
License: GPL
URL: https://rhpit.github.io/paws/
Source0: https://copr.fedorainfracloud.org/coprs/eduardocerqueira/paws/tarball/%{name}-%{version}-%{release}.tar.gz
BuildArch: noarch
BuildRequires: python-setuptools
Requires: ansible
Requires: gcc
Requires: git
Requires: libffi-devel
Requires: libvirt
Requires: libvirt-devel
Requires: openssl
Requires: openssl-devel
Requires: python-devel
Requires: python-pip
Requires: redhat-rpm-config
%global debug_package %{nil}
%description
PAWS is a Linux command line tool for automation. Provisioning, installing and
configuring Windows services for test on hybrid Linux and Windows environment
%prep
%setup -q -n %{name}
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
# manpage
%{__mkdir_p} %{buildroot}/%{_mandir}/man1
cp paws.1 %{buildroot}/%{_mandir}/man1
%files
%defattr(755,root,root,755)
%{python_sitelib}/paws*
%attr (755,root,root)/usr/bin/paws
%doc README.md
%doc doc/authors.rst
%doc %{_mandir}/man1/paws.1.gz
%post
pip install -U -r https://github.com/rhpit/paws/raw/devel/rpm-post-packages.txt > /dev/null
%changelog
* Wed Aug 08 2017 Eduardo Cerqueira <eduardomcerqueira@gmail.com>
- removed ansible pip, now installed by rpm manager
* Tue Mar 21 2017 Eduardo Cerqueira <eduardomcerqueira@gmail.com>
- Added git in required packages to be installed with paws
* Wed Feb 22 2017 Ryan Williams <rwilliams5262@gmail.com>
- Fix path to man file to have man page working again
* Thu Nov 03 2016 Eduardo Cerqueira <eduardomcerqueira@gmail.com>
- USERDIR setfacl for sudo_user
* Mon Oct 31 2016 Eduardo Cerqueira <eduardomcerqueira@gmail.com>
- changed group to a valid group
- added action to install pip modules in post script
- organized buildrequires and requires packages
* Fri Oct 07 2016 Ryan Williams <rwilliams5262@gmail.com>
- Modify the user directory folder
* Mon Sep 19 2016 Eduardo Cerqueira <eduardomcerqueira@gmail.com>
- set permission to 755 for all files after install
* Thu Jul 14 2016 Eduardo Cerqueira <eduardomcerqueira@gmail.com>
- initial build