Files
deb-python-rtslib-fb/rpm/python-rtslib.spec.tmpl
Nicholas Bellinger c40109d8fa rtslib: Change copyright to Apache License 2.0
This patch converts rtslib code copyright from AGPL to the
permissive Apache License 2.0.

It also update copyright owner to Datera, Inc.

Signed-off-by: Nicholas Bellinger <nab@risingtidesystems.com>
Signed-off-by: Andy Grover <agrover@redhat.com>
2013-07-23 16:25:47 -07:00

44 lines
1.1 KiB
Cheetah

%define oname rtslib
Name: python-rtslib
License: Apache License 2.0
Group: System Environment/Libraries
Summary: A framework to implement simple but nice CLIs.
Version: VERSION
Release: 1%{?dist}
URL: http://www.risingtidesystems.com/git/
Source: %{oname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rpmroot
BuildArch: noarch
BuildRequires: python-devel, epydoc
Vendor: Datera, Inc.
%description
API for RisingTide Systems generic SCSI target.
%prep
%setup -q -n %{oname}-%{version}
%build
%{__python} setup.py build
mkdir -p doc
epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py
mv html doc/
%install
rm -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot} --prefix usr
mkdir -p %{buildroot}/usr/share/doc/python-rtslib-doc-%{version}
cp -r doc/* %{buildroot}/usr/share/doc/python-rtslib-doc-%{version}/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}
/usr/share/doc/python-rtslib-doc-%{version}
%doc COPYING README.md
%changelog