
- Review install script to use the --prefix option, install doc in the corerct place (/usr/share/doc) and fix the wrong placement of the conf file for now - Declare new macros (which are not used yet BTW) - Fix the spec file for new loactions - Adds urllib3 to python dependencies
49 lines
876 B
RPMSpec
49 lines
876 B
RPMSpec
#
|
|
# $Id$
|
|
#
|
|
|
|
Name: PBREALPKG
|
|
Version: PBVER
|
|
Release: PBTAGPBSUF
|
|
Summary: PBSUMMARY
|
|
|
|
License: PBLIC
|
|
Group: PBGRP
|
|
Url: PBURL
|
|
Source: PBREPO/PBSRC
|
|
Requires: PBDEP
|
|
BuildArch: noarch
|
|
BuildRequires: PBBDEP
|
|
|
|
%description
|
|
PBDESC
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%{__python} setup.py build
|
|
# Deal with doc
|
|
cd doc
|
|
make man
|
|
make singlehtml
|
|
make latexpdf
|
|
|
|
%install
|
|
./install.sh %{buildroot} %{python_sitelib} %{_prefix}
|
|
|
|
%files
|
|
%doc README.rst examples/[a-z]*.py LICENSE
|
|
%doc doc/build/latex/*.pdf
|
|
%{_bindir}/redfish-client
|
|
%dir %{_datadir}/redfish-client
|
|
%{_datadir}/redfish-client/templates/*
|
|
%config(noreplace) %{_sysconfdir}/redfish-client.conf
|
|
%dir %{python_sitelib}/redfish
|
|
%{python_sitelib}/redfish/*.py*
|
|
%{python_sitelib}/redfish/tests/*.py*
|
|
%{python_sitelib}/python_redfish*
|
|
%{_mandir}/man1/*
|
|
%changelog
|
|
PBLOG
|