Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1:Update
scidavis
scidavis.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File scidavis.spec of Package scidavis
# # spec file for package scidavis # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Quentin Denis <quentin@links2linux.de> # # 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: scidavis Version: 1.22 Release: 0 Summary: An application for Scientific Data Analysis and Visualization License: GPL-2.0-only AND GPL-3.0-or-later Group: Productivity/Scientific/Math Url: http://scidavis.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/scidavis/SciDAVis/%{version}/scidavis-%{version}.tar.gz Source1: %{name}-rpmlintrc BuildRequires: Mesa-devel BuildRequires: boost-devel BuildRequires: cmake BuildRequires: fontconfig BuildRequires: gsl BuildRequires: gsl-devel BuildRequires: hicolor-icon-theme BuildRequires: kde4-filesystem BuildRequires: liborigin-devel BuildRequires: libqt4-devel BuildRequires: libqt4-devel-doc BuildRequires: libstdc++-devel BuildRequires: muparser-devel BuildRequires: python-devel BuildRequires: python-qt4 BuildRequires: python-qt4-devel BuildRequires: qt4-assistant-adp-devel BuildRequires: qwt-devel BuildRequires: qwtplot3d-devel BuildRequires: unzip BuildRequires: update-desktop-files BuildRequires: zlib-devel %if 0%{?suse_version} > 1220 BuildRequires: glu-devel %endif %description SciDAVis is an interactive application for data analysis and publication-quality plotting. It has scriptability and can be extended. SciDAVis is similar in its field of application to proprietary Windows applications like Origin and SigmaPlot as well as free applications like QtiPlot, Labplot and Gnuplot. %prep %setup -q # Fix files is compiled without RPM_OPT_FLAG find . -type f -name \*.pro | while read FILE; do echo "QMAKE_CFLAGS += %{optflags}" >> "$FILE" echo "QMAKE_CXXFLAGS += %{optflags}" >> "$FILE"; done %build export PATH=$QTDIR/bin:$PATH %ifarch x86_64 ppc64 ppc64le export QMAKESPEC="linux-g++-64" %endif %ifarch aarch64 # aarch64 uses QMAKESPEC="linux-g++" but will install in lib64 sed -i "s/linux-g++-64: libsuff = 64/libsuff = 64/g" config.pri %endif qmake %{name}.pro QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" QMAKE_STRIP="/bin/true"; make %{?_smp_mflags} %install make INSTALL_ROOT=%{buildroot} install # https://github.com/highperformancecoder/scidavis/issues/48 mkdir -p %{buildroot}%{_datadir}/%{name}/translations cp %{name}/translations/%{name}_*.qm %{buildroot}%{_datadir}/%{name}/translations/ %find_lang %{name} --with-qt # Remove unneeded files. rm -rf %{buildroot}%{_datadir}/doc/%{name} %post %desktop_database_post %icon_theme_cache_post %mime_database_post %postun %desktop_database_postun %icon_theme_cache_postun %mime_database_postun %files -f %{name}.lang %doc CHANGES README.md gpl.txt LICENSE %{_bindir}/%{name} %{_libdir}/%{name} %{_datadir}/%{name} %dir %{_datadir}/appdata %{_datadir}/appdata/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/mimelnk %dir %{_datadir}/mimelnk/application/ %{_datadir}/mimelnk/application/x-sciprj.desktop %{_mandir}/man1/%{name}.1* %{_datadir}/icons/hicolor/*/apps/%{name}.* %dir %{_datadir}/icons/locolor %dir %{_datadir}/icons/locolor/16x16 %dir %{_datadir}/icons/locolor/16x16/apps %{_datadir}/icons/locolor/16x16/apps/scidavis.png %dir %{_datadir}/icons/locolor/22x22 %dir %{_datadir}/icons/locolor/22x22/apps %{_datadir}/icons/locolor/22x22/apps/scidavis.png %dir %{_datadir}/icons/locolor/32x32 %dir %{_datadir}/icons/locolor/32x32/apps %{_datadir}/icons/locolor/32x32/apps/scidavis.png %{_datadir}/mime/packages/scidavis.xml %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