Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science:openturns
otrobopt
otrobopt.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File otrobopt.spec of Package otrobopt
# norootforbuild %{?__python3: %global __python %{__python3}} %if 0%{?suse_version} %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))") %else %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} %endif %define __cmake %{_bindir}/cmake %define _cmake_lib_suffix64 -DLIB_SUFFIX=64 %define cmake \ CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \ FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \ %__cmake \\\ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\ %if "%{?_lib}" == "lib64" \ %{?_cmake_lib_suffix64} \\\ %endif \ -DBUILD_SHARED_LIBS:BOOL=ON Name: otrobopt Version: 0.14 Release: 0%{?dist} Summary: OpenTURNS module Group: System Environment/Libraries License: LGPLv3+ URL: http://www.openturns.org/ Source0: http://downloads.sourceforge.net/openturns-modules/otrobopt/otrobopt-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: gcc-c++, cmake, swig BuildRequires: openturns-devel BuildRequires: python3-openturns BuildRequires: python3-devel Requires: libotrobopt0 %description Template module for OpenTURNS library. %package -n libotrobopt0 Summary: OTRobOpt development files Group: Development/Libraries/C and C++ %description -n libotrobopt0 Dynamic libraries for OTRobOpt. %package devel Summary: OTRobOpt development files Group: Development/Libraries/C and C++ Requires: libotrobopt0 = %{version} Requires: openturns-devel %description devel Development files for OTRobOpt library. %package -n python3-%{name} Summary: OTRobOpt library Group: Productivity/Scientific/Math Requires: python3-openturns %description -n python3-%{name} Python textual interface to OTRobOpt uncertainty library %prep %setup -q %build %cmake -DINSTALL_DESTDIR:PATH=%{buildroot} \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \ -DCMAKE_UNITY_BUILD=ON \ -DUSE_SPHINX=OFF . make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %check LD_LIBRARY_PATH=%{buildroot}%{_libdir} ctest %{?_smp_mflags} -R pyinstallcheck --output-on-failure --schedule-random %post -n libotrobopt0 -p /sbin/ldconfig %postun -n libotrobopt0 -p /sbin/ldconfig %files -n libotrobopt0 %defattr(-,root,root,-) %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %dir %{_includedir}/%{name} %{_includedir}/%{name}/*.h* %{_includedir}/%{name}/swig/ %{_libdir}/*.so %{_libdir}/cmake/ %files -n python3-%{name} %defattr(-,root,root,-) %{python_sitearch}/%{name}/ %{python_sitearch}/%{name}-*.dist-info/ %changelog * Wed Nov 28 2012 Julien Schueller <schueller at phimeca dot com> 0.0-1 - Initial package creation
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