-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move client docs under 'pdc_client/'.
- Loading branch information
Showing
2 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} | ||
|
||
|
||
Name: pdc-client | ||
Version: 0.1.0 | ||
Release: 1%{?dist} | ||
Summary: Console client for interacting with Product Definition Center | ||
Group: Development/Libraries | ||
License: MIT | ||
URL: https://github.com/release-engineering/product-definition-center | ||
Source0: %{name}-%{version}.tar.gz | ||
BuildArch: noarch | ||
Requires: python-requests | ||
Requires: python-requests-kerberos | ||
Requires: beanbag | ||
|
||
|
||
%description | ||
This package contains a console client for interacting with Product Definition | ||
Center (PDC) | ||
|
||
|
||
%prep | ||
%setup -q -n %{name}-%{version} | ||
|
||
|
||
%install | ||
rm -rf %{buildroot} | ||
|
||
mkdir -p %{buildroot}/%{python_sitelib}/pdc_client | ||
cp -R * %{buildroot}/%{python_sitelib}/pdc_client | ||
|
||
mkdir -p %{buildroot}%{_defaultdocdir}/pdc_client | ||
|
||
# Install PDC client command line interface | ||
install -m 0644 -D -p bin/pdc_client %{buildroot}%{_bindir}/pdc_client | ||
|
||
install -m 0644 -D -p docs/pdc_client.1 %{buildroot}%{_mandir}/man1/pdc_client.1 | ||
gzip %{buildroot}%{_mandir}/man1/pdc_client.1 | ||
|
||
|
||
%files | ||
%{python_sitelib}/pdc_client | ||
%attr(755, root, root) %{_bindir}/pdc_client | ||
%{_mandir}/man1/pdc_client.1.gz | ||
|
||
|
||
%changelog |