[ViTables] Initial package

Thibault North tnorth at fedoraproject.org
Thu Dec 15 13:34:29 UTC 2011


commit 01b10c2c3b6b90ef3e403bb6e247a84253b347ad
Author: Thibault North <tnorth at fedoraproject.org>
Date:   Thu Dec 15 08:34:15 2011 -0500

    Initial package

 .gitignore    |    1 +
 ViTables.spec |   67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e2bf0bc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ViTables-2.1.tar.gz
diff --git a/ViTables.spec b/ViTables.spec
new file mode 100644
index 0000000..159ed10
--- /dev/null
+++ b/ViTables.spec
@@ -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 at fedoraproject.org> - 2.1-2
+- Fixes
+
+* Tue Nov 8 2011 Thibault North <tnorth at fedoraproject.org> - 2.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..333de23 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+8aea53f86bcdfc28d215b3cfb6c437e9  ViTables-2.1.tar.gz


More information about the scm-commits mailing list