2011-12-07 01:30:27 +00:00
|
|
|
%global oname rtslib-fb
|
2011-11-16 20:15:36 +00:00
|
|
|
|
|
|
|
Name: python-rtslib
|
|
|
|
License: AGPLv3
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Summary: API for RisingTide Systems generic SCSI target
|
2012-04-09 18:38:31 +00:00
|
|
|
Version: 2.1.fb13
|
|
|
|
Release: 1%{?dist}
|
2011-12-07 01:30:27 +00:00
|
|
|
URL: https://github.com/agrover/rtslib-fb/
|
|
|
|
Source: https://github.com/agrover/%{oname}/tarball/v%{version}
|
2011-11-16 20:15:36 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
2012-03-19 21:57:14 +00:00
|
|
|
BuildRequires: python-ipaddr python-ethtool python-configobj python-devel epydoc
|
2011-11-16 20:15:36 +00:00
|
|
|
Requires: python-ipaddr python-ethtool python-configobj
|
|
|
|
|
2012-03-19 21:31:25 +00:00
|
|
|
%package doc
|
|
|
|
Summary: Documentation for python-rtslib
|
|
|
|
Group: Documentation
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
2011-11-16 20:15:36 +00:00
|
|
|
%description
|
2011-12-07 01:30:27 +00:00
|
|
|
API for generic Linux SCSI kernel target.
|
2011-11-16 20:15:36 +00:00
|
|
|
|
2012-03-19 21:31:25 +00:00
|
|
|
%description doc
|
|
|
|
API documentation for rtslib, to configure the generic Linux SCSI
|
|
|
|
kernel target.
|
|
|
|
|
2011-11-16 20:15:36 +00:00
|
|
|
%prep
|
2012-04-09 18:38:31 +00:00
|
|
|
%setup -q -n agrover-%{oname}-01451a9
|
2011-11-16 20:15:36 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{__python} setup.py build
|
2012-03-19 21:31:25 +00:00
|
|
|
mkdir -p doc/html
|
|
|
|
epydoc --no-sourcecode --html -n rtslib -o doc/html rtslib/*.py
|
2011-11-16 20:15:36 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%{__python} setup.py install --skip-build --root %{buildroot}
|
|
|
|
mkdir -p %{buildroot}/var/lib/target/fabric
|
|
|
|
cp specs/* %{buildroot}/var/lib/target/fabric
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{python_sitelib}
|
|
|
|
/var/lib/target
|
|
|
|
%doc COPYING README
|
|
|
|
|
2012-03-19 21:31:25 +00:00
|
|
|
%files doc
|
|
|
|
%doc doc/html
|
|
|
|
|
2011-11-16 20:15:36 +00:00
|
|
|
%changelog
|
2012-04-09 18:38:31 +00:00
|
|
|
* Mon Apr 9 2012 Andy Grover <agrover@redhat.com> - 2.1.fb13-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-03-19 21:31:25 +00:00
|
|
|
* Wed Feb 29 2012 Andy Grover <agrover@redhat.com> - 2.1.fb12-2
|
|
|
|
- Add -doc package of epydoc-generated html docs
|
|
|
|
|
2012-03-01 01:00:20 +00:00
|
|
|
* Wed Feb 29 2012 Andy Grover <agrover@redhat.com> - 2.1.fb12-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-02-21 21:14:08 +00:00
|
|
|
* Tue Feb 21 2012 Andy Grover <agrover@redhat.com> - 2.1.fb11-1
|
2012-02-21 20:37:28 +00:00
|
|
|
- New upstream release
|
|
|
|
|
2012-02-08 18:11:48 +00:00
|
|
|
* Fri Feb 8 2012 Andy Grover <agrover@redhat.com> - 2.1.fb9-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-02-03 21:31:01 +00:00
|
|
|
* Fri Feb 3 2012 Andy Grover <agrover@redhat.com> - 2.1.fb8-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-01-25 07:44:57 +00:00
|
|
|
* Tue Jan 24 2012 Andy Grover <agrover@redhat.com> - 2.1.fb7-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-01-25 06:28:32 +00:00
|
|
|
* Tue Jan 24 2012 Andy Grover <agrover@redhat.com> - 2.1.fb6-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-01-14 01:08:05 +00:00
|
|
|
* Fri Jan 13 2012 Andy Grover <agrover@redhat.com> - 2.1.fb5-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-01-13 21:20:36 +00:00
|
|
|
* Fri Jan 13 2012 Andy Grover <agrover@redhat.com> - 2.1.fb4-1
|
|
|
|
- New upstream release
|
|
|
|
|
2012-01-11 06:47:14 +00:00
|
|
|
* Tue Jan 10 2012 Andy Grover <agrover@redhat.com> - 2.1.fb3-1
|
|
|
|
- New upstream release
|
|
|
|
|
2011-12-13 22:56:19 +00:00
|
|
|
* Tue Dec 6 2011 Andy Grover <agrover@redhat.com> - 2.1.fb2-1
|
|
|
|
- New upstream release
|
|
|
|
|
2011-12-07 01:30:27 +00:00
|
|
|
* Tue Dec 6 2011 Andy Grover <agrover@redhat.com> - 2.1.fb1-1
|
|
|
|
- Change upstream URL
|
|
|
|
- New upstream release
|
|
|
|
- Remove upstreamed patches:
|
|
|
|
* python-rtslib-git-version.patch
|
|
|
|
* python-rtslib-use-ethtool.patch
|
|
|
|
* python-rtslib-update-specpath.patch
|
|
|
|
|
2011-11-16 20:15:36 +00:00
|
|
|
* Mon Nov 14 2011 Andy Grover <agrover@redhat.com> - 1.99.1.git644eece-8
|
|
|
|
- Change archive instructions to use gzip -n
|
|
|
|
- Fix issues raised in Fedora package review (#744349)
|
|
|
|
|
|
|
|
* Thu Oct 6 2011 Andy Grover <agrover@redhat.com> - 1.99.1.git644eece-7
|
|
|
|
- Remove patch
|
|
|
|
* python-rtslib-del-unused-specs.patch
|
|
|
|
|
|
|
|
* Wed Aug 17 2011 Andy Grover <agrover@redhat.com> - 1.99-6
|
|
|
|
- Update based on review comments
|
|
|
|
- Fully document steps to build archive
|
|
|
|
- Remove commented-out extraneous text
|
|
|
|
- Remove a repeat in Requires line
|
|
|
|
- Update git-version.patch to have proper sha1
|
|
|
|
- Change location of fabric spec files to /var/lib/target
|
|
|
|
- Remove unused specs
|
|
|
|
|
|
|
|
* Tue May 10 2011 Andy Grover <agrover@redhat.com> - 1.99-1
|
|
|
|
- Initial packaging
|