Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:matsb:OpenModelica
OMPlot
_service:set_version:OMPlot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:OMPlot.spec of Package OMPlot
Name: OMPlot Version: 1.18.0 Release: 0 License: GPL-3.0-only or EPL-1.0 Url: https://openmodelica.org Group: Productivity/Scientific/Other Summary: OpenModelica plot util Patch1: Makefile.in.patch Requires: omc-base = %{version} BuildRequires: libQt5Core-devel libQt5Concurrent-devel libqt5-qtsvg-devel libQt5Gui-devel libQt5PrintSupport-devel BuildRequires: libqt5-linguist BuildRequires: gcc-c++ gmake cmake flex autoconf automake libtool BuildRequires: omc = %{version} # This was copied verbatim from example BuildRoot: %{_tmppath}/OpenModelica-%{version}-build # BuildArch: %package devel Summary: OMPlot devel Group: Development/Libraries/Other %description OpenModelica is an open-source Modelica-based modeling and simulation environment intended for industrial and academic usage. %description devel OpenModelica is an open-source Modelica-based modeling i and simulation environment intended for industrial and academic usage. %define ombuilddir %{_builddir} %define sourcedir %{_sourcedir}/OpenModelica-%{version} %prep %define exclude() mv %1 %1.nobuild cd %sourcedir %{exclude OMSimulator} %{exclude OMCompiler} %{exclude OMParser} %{exclude OMSens_Qt} %{exclude OMNotebook} %{exclude OMShell} %{exclude OMEdit} echo v%{version} > %{sourcedir}/REVISION mkdir -p %_builddir%{dirname:%openmodelicahome} ln -s .. %_builddir%openmodelicahome rpm -ql omc | cpio -p --quiet --make-directories %_builddir cd %{sourcedir} %patch1 -p3 %build cd %{sourcedir} # Really don't remember why is this needed SUSE_ASNEEDED=0 export SUSE_ASNEEDED autoconf %om_setup touch omc.skip make omplot touch omsimulator.skip touch omparser.skip touch omedit.skip %install cd %_builddir rpm -ql omc | sed -e "s/^\///" | xargs rm 2> /dev/null || true cd %{sourcedir} make install DESTDIR=%{buildroot} #rm -f %buildroot%openmodelicahome%_datadir/omc/java/antlr-[23]*.jar #rm -f %buildroot%openmodelicahome/share/doc/omc/COPYING rm -f %buildroot%openmodelicahome/share/doc/omc/*.pdf %files %{openmodelicahome}/bin/OMPlot %{openmodelicahome}/lib/x86_64-linux-gnu/omc/libOMPlot.so* %{openmodelicahome}/lib/x86_64-linux-gnu/omc/libomqwt.so* %files devel %dir %{openmodelicahome}/include/omplot %{openmodelicahome}/include/omplot/*.h %dir %{openmodelicahome}/include/omplot/qwt %{openmodelicahome}/include/omplot/qwt/*.h %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