Initial package

This commit is contained in:
Thibault North 2011-12-15 08:34:15 -05:00
parent 791816eaf3
commit 01b10c2c3b
3 changed files with 69 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/ViTables-2.1.tar.gz

67
ViTables.spec Normal file
View File

@ -0,0 +1,67 @@
Summary: Viewer for Hierarchical Datafiles (HDF5)
Name: ViTables
Version: 2.1
Release: 2%{?dist}
License: GPLv3
Group: Development/Tools
URL: http://www.vitables.org/
Source0: http://vitables.googlecode.com/files/%{name}-%{version}.tar.gz
Requires: hdf5 numpy python-tables PyQt4
BuildRequires: numpy hdf5-devel python-devel
BuildRequires: python-tables PyQt4 python-sphinx 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.
%package doc
Summary: %{name} documentation and examples
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
%description doc
This package contains the documentation and examples
for %{name}
%prep
%setup -q
%build
python setup.py build
%install
python setup.py install -O1 --skip-build --root=%{buildroot}
# Add docs
mkdir -p %{buildroot}%{_docdir}/%{name}
cp -pr examples/ %{buildroot}%{_docdir}/%{name}/
cp -pr doc/UsersGuide.pdf %{buildroot}%{_docdir}/%{name}/
%clean
rm -rf %{buildroot}
%files
%doc ANNOUNCE.txt README.txt TODO.txt LICENSE.txt
%{_bindir}/vitables
%{python_sitelib}/vitables
%{python_sitelib}/%{name}-%{version}-py*.egg-info
%files doc
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/examples
%doc %{_docdir}/%{name}/UsersGuide.pdf
%changelog
* Mon Dec 12 2011 Thibault North <tnorth@fedoraproject.org> - 2.1-2
- Fixes
* Tue Nov 8 2011 Thibault North <tnorth@fedoraproject.org> - 2.1-1
- Initial package

View File

@ -0,0 +1 @@
8aea53f86bcdfc28d215b3cfb6c437e9 ViTables-2.1.tar.gz