Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science
ViTables
ViTables.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ViTables.spec of Package ViTables
# # spec file for package ViTables # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: ViTables Version: 3.0.0 Release: 0 Summary: A viewer package for PyTables License: GPL-3.0-only Group: Productivity/Scientific/Other URL: https://github.com/uvemas/ViTables Source0: https://github.com/uvemas/ViTables/archive/v%{version}.tar.gz BuildRequires: fdupes BuildRequires: hdf5-devel BuildRequires: hicolor-icon-theme BuildRequires: python3-Cython BuildRequires: python3-QtPy BuildRequires: python3-Sphinx BuildRequires: python3-devel BuildRequires: python3-numexpr BuildRequires: python3-numpy-devel BuildRequires: python3-qt5 BuildRequires: python3-setuptools BuildRequires: python3-tables BuildRequires: update-desktop-files Requires: hdf5 Requires: hicolor-icon-theme Requires: python3-Cython Requires: python3-QtPy Requires: python3-numexpr Requires: python3-numpy Requires: python3-qt5 Requires: python3-tables Provides: ViTables2 = %{version} Obsoletes: ViTables2 < %{version} BuildArch: noarch %description ViTables is a graphical tool for browsing and editing files in both PyTables and HDF5 format. With ViTables, the user can navigate through the data hierarchy, view and modify metadata and view actual data. %prep %setup -q -n ViTables-%{version} find -name '*.py' -exec sed -i -e '/^#!\//, 1d' {} + %build export CFLAGS="%{optflags}" %python3_build %install %python3_install %fdupes %{buildroot}%{python3_sitelib} for p in 16 22 32 48 64 128; do mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${p}x${p}/apps/ install -m 644 -D unixapp/vitables_${p}x${p}.png %{buildroot}%{_datadir}/icons/hicolor/${p}x${p}/apps/vitables.png done install -m 644 -D unixapp/vitables.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/vitables.svg pushd unixapp %suse_update_desktop_file vitables popd %files %doc ANNOUNCE.txt ChangeLog.txt README.txt TODO.txt %license LICENSE.txt %{_bindir}/vitables %{python3_sitelib} %{_datadir}/icons/hicolor/*/apps/vitables.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor