Update to 3.0.0
This commit is contained in:
parent
17a44b4065
commit
c49df188c7
|
@ -1,62 +1,80 @@
|
|||
Summary: Viewer for Hierarchical Datafiles (HDF5)
|
||||
Name: ViTables
|
||||
Version: 2.1
|
||||
Release: 19%{?dist}
|
||||
License: GPLv3
|
||||
Group: Development/Tools
|
||||
URL: http://www.vitables.org/
|
||||
Summary: Viewer for Hierarchical Datafiles (HDF5)
|
||||
Name: ViTables
|
||||
Version: 3.0.0
|
||||
Release: 1%{?dist}
|
||||
License: GPLv3
|
||||
URL: http://www.vitables.org/
|
||||
|
||||
Source0: http://vitables.googlecode.com/files/%{name}-%{version}.tar.gz
|
||||
Source0: https://github.com/uvemas/ViTables/archive/v%{version}/vitables-%{version}.tar.gz
|
||||
|
||||
Requires: hdf5 numpy python-tables PyQt4
|
||||
BuildRequires: numpy hdf5-devel python-devel
|
||||
BuildRequires: python-tables PyQt4 python-sphinx sphinx
|
||||
BuildArch: noarch
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-numpy
|
||||
BuildRequires: python2-tables
|
||||
BuildRequires: hdf5-devel
|
||||
BuildRequires: python2-sphinx
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
ViTables is a component of the PyTables family. It is a graphical tool
|
||||
for browsing and editing files in both PyTables and HDF5 formats. It
|
||||
is developed using Python and PyQt (the Python binding to the Qt
|
||||
library), so it can run on any platform that supports these
|
||||
components.
|
||||
%global _description \
|
||||
ViTables is a component of the PyTables family. It is a graphical tool\
|
||||
for browsing and editing files in both PyTables and HDF5 formats. It\
|
||||
is developed using Python and PyQt (the Python binding to the Qt\
|
||||
library), so it can run on any platform that supports these components.
|
||||
|
||||
%package doc
|
||||
Summary: %{name} documentation and examples
|
||||
Group: Development/Tools
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
%description %_description
|
||||
|
||||
%description doc
|
||||
This package contains the documentation and examples
|
||||
for %{name}
|
||||
%package -n vitables
|
||||
Summary: %{summary}
|
||||
Provides: %{name} = %{version}-%{release}
|
||||
Obsoletes: %{name} < 3.0.0-1
|
||||
Requires: hdf5
|
||||
Requires: python2-numpy
|
||||
Requires: python2-tables
|
||||
Requires: python-qt5
|
||||
Requires: python2-QtPy
|
||||
|
||||
%description -n vitables %_description
|
||||
|
||||
%package -n vitables-doc
|
||||
Summary: vitables documentation and examples
|
||||
Requires: vitables = %{version}-%{release}
|
||||
|
||||
%description -n vitables-doc
|
||||
This package contains the documentation and examples for vitables.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
# versioned requirements don't seem to work with out packaged PyQt5
|
||||
sed -i.bak '/install_requires=/,+1d' setup.py
|
||||
|
||||
%build
|
||||
%py2_build
|
||||
make -C doc html
|
||||
|
||||
%install
|
||||
python setup.py install -O1 --skip-build --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
%py2_install
|
||||
|
||||
# force the directory to be the same for ViTables and ViTables-doc
|
||||
%global _docdir_fmt %{name}
|
||||
%global _docdir_fmt vitables
|
||||
|
||||
%files
|
||||
%files -n vitables
|
||||
%license LICENSE.txt
|
||||
%doc ANNOUNCE.txt README.txt TODO.txt
|
||||
%{_bindir}/vitables
|
||||
%{python_sitelib}/vitables
|
||||
%{python_sitelib}/%{name}-%{version}-py*.egg-info
|
||||
|
||||
%files doc
|
||||
%files -n vitables-doc
|
||||
%doc examples/
|
||||
%doc doc/UsersGuide.pdf
|
||||
%doc doc/_build/html/
|
||||
|
||||
%changelog
|
||||
* Mon Dec 4 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.0.0-1
|
||||
- Update to latest version (#1457016)
|
||||
- Binary packages are renamed to lowercase (vitables and vitables-doc)
|
||||
- vitables now uses Qt5, so requirements are updated
|
||||
- Documentation is built from source and provided in the html format
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
|
Loading…
Reference in New Issue