Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
graphics
tulip
tulip.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tulip.spec of Package tulip
# # spec file for package tulip # # Copyright (c) 2017 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 http://bugs.opensuse.org/ # Name: tulip Summary: Visualization of huge graphs # .so version License: GPL-3.0 and LGPL-3.0 Group: Productivity/Graphics/Visualization/Graph %define tulip_version 5.7 Version: %{tulip_version}.1 Release: 0 Url: http://www.tulip-software.org/ Source: https://sourceforge.net/projects/auber/files/%{name}/%{name}-%{version}/%{name}-%{version}_src.tar.gz Source1: %{name}.desktop Source2: http://docs.python.org/objects.inv Patch1: find-qhull.patch Patch2: include-cstdint.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: antlr-devel BuildRequires: binutils-devel BuildRequires: cmake >= 3.1 BuildRequires: ccache BuildRequires: cppunit-devel BuildRequires: dos2unix BuildRequires: doxygen BuildRequires: fdupes BuildRequires: freefont BuildRequires: freetype-devel BuildRequires: ftgl-devel BuildRequires: gcc-c++ >= 4.8.1 BuildRequires: ghostscript-fonts-std BuildRequires: glew-devel BuildRequires: graphviz BuildRequires: graphviz-gd BuildRequires: libdrm-devel BuildRequires: libgle-devel BuildRequires: libjpeg-devel BuildRequires: libpng12-devel BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: libyajl-devel BuildRequires: libzip-devel BuildRequires: libzip-tools BuildRequires: Mesa-devel BuildRequires: python3-devel BuildRequires: qhull-devel BuildRequires: quazip-qt5-devel BuildRequires: utf8proc-devel BuildRequires: update-alternatives BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRequires: pkgconfig(glu) BuildRequires: python3.10dist(sip) >= 4.19.14 BuildRequires: python3.10dist(sphinx) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) %description Tulip is a system dedicated to the visualization of huge graphs. It manages graphs with a number of elements (node and edges) up to 500000. Its architecture enables to do the following things: * 3D visualizations * 3D modifications * Plug-in support for evolution * Building of clusters and navigation into it * Automatic drawing of graphs * Automatic clustering of graphs * Automatic selection of elements * Automatic Metric coloration of graphs %package devel Summary: Development files for tulip, a visualizer for huge graphs Group: Development/Libraries/C and C++ Requires: tulip = %{version} %description devel Tulip is a system dedicated to the visualization of huge graphs. It manages graphs with a number of elements (node and edges) up to 500000. %package doc Summary: User documentation for Tulip, a visualizer for huge graphs Group: Documentation/HTML BuildArch: noarch %description doc Tulip is a system dedicated to the visualization of huge graphs. It manages graphs with a number of elements (node and edges) up to 500000. %package python Summary: Python bindings for tulip Group: Development/Libraries/Python %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %{!?py_requires: %define py_requires Requires: python} %{py_requires} %description python This package allows to control tulip with Python %prep %setup -q dos2unix CMakeLists.txt %patch1 -p0 %patch2 -p0 %build export CFLAGS="%{optflags} -fno-strict-aliasing" export CXXFLAGS="%{optflags} -fno-strict-aliasing -Wno-deprecated" %{cmake} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name} \ -DCMAKE_VERBOSE_MAKEFILE=TRUE \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DPYTHON_EXECUTABLE=/usr/bin/python3 \ -DTULIP_BUILD_TESTS=ON \ -DTULIP_USE_CCACHE=ON \ -DTULIP_PYTHON_SITE_INSTALL=ON \ -DHAVE_REENTRANT_QHULL=TRUE \ -DCMAKE_C_FLAGS_RELEASE:STRING="%{optflags} -fno-strict-aliasing -Wall -O2 -g" \ -DCMAKE_CXX_FLAGS_RELEASE:STRING="%{optflags} -fno-strict-aliasing -Wno-deprecated -Wall -O2 -g" \ -DCMAKE_SKIP_RPATH=1 \ -DBFD_LIBRARY=`ls /usr/lib*/libbfd*.so` \ .. cp %{S:2} doc/python export LD_LIBRARY_PATH=`pwd`/library/tulip-core/src:`pwd`/library/tulip-gui/src:`pwd`/library/tulip-ogl/src cp -r ../doc/python/* doc/python make RPM_OPT_FLAGS="%{optflags}" %{?_smp_mflags} %check cd build export LD_LIBRARY_PATH=`pwd`/library/tulip-core/src:`pwd`/library/tulip-gui/src:`pwd`/library/tulip-ogl/src make runTests || /bin/true %install export LD_LIBRARY_PATH=`pwd`/build/library/tulip-core/src:`pwd`/build/library/tulip-gui/src:`pwd`/build/library/tulip-ogl/src %cmake_install cp doc/Tulip_quickstart.pdf %{buildroot}/%{_docdir}/%{name} %suse_update_desktop_file -i tulip Graphics 3DGraphics find %{buildroot}/%{_libdir} -name *.la -delete rm -f %{buildroot}/%{_libdir}/*.a rm -f %{buildroot}/%{_datadir}/%{name}/AUTHORS rm -f %{buildroot}/%{_datadir}/%{name}/COPYING.LESSER rm -f %{buildroot}/%{_datadir}/%{name}/doc/tulip-user/html/.buildinfo rm -f %{buildroot}/%{_datadir}/%{name}/doc/tulip-python/html/.buildinfo %fdupes %{buildroot}/%{_prefix} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post python -p /sbin/ldconfig %postun python -p /sbin/ldconfig %post devel -p /sbin/ldconfig %postun devel -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/tulip %{_bindir}/tulip_perspective %{_datadir}/applications/*.desktop %dir %{_datadir}/tulip %dir %{_datadir}/tulip/bitmaps %{_datadir}/tulip/bitmaps/* %dir %{_libdir}/tulip %{_libdir}/tulip/* %{_libdir}/*.so %{_datadir}/icons/* %{_datadir}/mime/packages/* %{_datadir}/pixmaps/* %exclude %{_libdir}/libtulip-python-%{tulip_version}.so %exclude %{_docdir}/%{name}/*.pdf %exclude %{_docdir}/%{name}/doxygen %exclude %{_docdir}/%{name}/tulip-dev %exclude %{_docdir}/%{name}/tulip-python %exclude %{_docdir}/%{name}/tulip-user %doc AUTHORS COPYING COPYING.LESSER NEWS README.md %files python %defattr(-,root,root) %{_libdir}/libtulip-python-%{tulip_version}.so %dir %{python_sitearch}/tulip %dir %{python_sitearch}/tulipgui %{python_sitearch}/tulip/* %{python_sitearch}/tulipgui/* %{python_sitearch}/tulipplugins.py* %dir %{_datadir}/tulip/apiFiles %{_datadir}/tulip/apiFiles/* %files doc %defattr(-,root,root) %doc %dir %{_docdir}/tulip %doc %{_docdir}/tulip/*.pdf %doc %dir %{_docdir}/%{name}/doxygen %doc %dir %{_docdir}/%{name}/tulip-dev %doc %dir %{_docdir}/%{name}/tulip-python %doc %dir %{_docdir}/%{name}/tulip-user %doc %{_docdir}/%{name}/doxygen/* %doc %{_docdir}/%{name}/tulip-dev/* %doc %{_docdir}/%{name}/tulip-python/* %doc %{_docdir}/%{name}/tulip-user/* %files devel %defattr(-,root,root) %{_bindir}/tulip-config %dir %{_includedir}/tulip %{_includedir}/tulip/* %dir %{_libdir}/cmake/TULIP %{_libdir}/cmake/TULIP/* %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