Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vyermolc
whizard
whizard.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File whizard.spec of Package whizard
# # spec file for package WHIZARD # # Copyright (c) 2019 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/ # %define soname lib%{name} Name: whizard Version: version Release: 0 Summary: Multi-purpose event generator License: GPL-2.0-or-later Group: Development/Libraries/C and C++ Url: http://whizard.hepforge.org Source: http://whizard.hepforge.org/%{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: libtool BuildRequires: automake BuildRequires: gcc-fortran BuildRequires: gcc-c++ BuildRequires: binutils-gold BuildRequires: ocaml BuildRequires: python3-devel BuildRequires: libtirpc-devel BuildRequires: fastjet-devel BuildRequires: fastjet-plugin-siscone-devel BuildRequires: HepMC-devel BuildRequires: LHAPDF-devel BuildRequires: python3-LHAPDF BuildRequires: LHAPDF-minset BuildRequires: texlive-latex BuildRequires: texlive-metapost BuildRequires: texlive-pdftex BuildRequires: texlive-dvips BuildRequires: ghostscript BuildRoot: %{_tmppath}/%{name}-%{version}-build %description WHIZARD is a multi-purpose event generator that covers all parts of event generation (unweighted and weighted), either through intrinsic components or interfaces to external packages. Realistic collider environments are covered through sophisticated descriptions for beam structures at hadron colliders, lepton colliders, lepton-hadron colliders, both circular and linear machines. %package -n %{soname} Summary: Multi-purpose event generator Group: System/Libraries %description -n %{soname} WHIZARD is a multi-purpose event generator that covers all parts of event generation (unweighted and weighted), either through intrinsic components or interfaces to external packages. Realistic collider environments are covered through sophisticated descriptions for beam structures at hadron colliders, lepton colliders, lepton-hadron colliders, both circular and linear machines. This package provides the shared libraries for WHIZARD. %package devel Summary: A simulation program for particle collisions at very high energies Group: Development/Libraries/C and C++ Requires: %{soname} = %{version} Requires: libtirpc-devel Provides: ocaml(Algebra) = 283ca072b76d019ab9e2b0215ea9a71d Provides: ocaml(Cascade) = e428a06937c6f05eec1d11d182167489 Provides: ocaml(Colorize) = 8080b9b561347a493274773be41b0c69 Provides: ocaml(Momentum) = 85816c6fa799b430cf153d1241d056df Provides: ocaml(OUnit) = ee871bb8304f6261d5e67356de3df23f Provides: ocaml(Target) = 19106424339a7ad6cfe161ccbc404826 Provides: ocaml(Tree) = e4c3f084ae177afaad1e294e253c2d15 Provides: ocaml(Tree2) = d68a0508a87c2fdee5713624f4794c36 Provides: ocaml(Tuple) = ab5a933dc7264d349770571b9b8cdec9 Recommends: %{name}-doc %description devel WHIZARD is a multi-purpose event generator that covers all parts of event generation (unweighted and weighted), either through intrinsic components or interfaces to external packages. Realistic collider environments are covered through sophisticated descriptions for beam structures at hadron colliders, lepton colliders, lepton-hadron colliders, both circular and linear machines. This package provides the header and source files for development with WHIZARD. %package doc Summary: A simulation program for particle collisions at very high energies Group: Documentation/HTML %description doc WHIZARD is a multi-purpose event generator that covers all parts of event generation (unweighted and weighted), either through intrinsic components or interfaces to external packages. Realistic collider environments are covered through sophisticated descriptions for beam structures at hadron colliders, lepton colliders, lepton-hadron colliders, both circular and linear machines. This package provides documentation for development with WHIZARD. %prep %setup -q -n %{name}-%{version} %build export FFLAGS="%optflags -fno-lto -Wno-error=return-type" export FCFLAGS="%optflags -fno-lto -Wno-error=return-type" export CFLAGS="%optflags -fno-lto -Wno-error=return-type" export CXXFLAGS="%optflags -fno-lto -Wno-error=return-type" export LDFLAGS="-fno-lto" autoreconf --force --install %configure --enable-fc-openmp --disable-static --enable-fastjet --with-precision=extended %make_build %install mkdir -p %{buildroot}%{_datadir}/doc/%{name} %make_install find %{buildroot}%{_libdir}/ -name "*.la" -delete mkdir -p %{buildroot}%{_docdir}/%{name}/manuals find %{buildroot}%{_datadir}/doc/ -type f -maxdepth 1 -exec sh -c 'mv $1 %{buildroot}%{_docdir}/%{name}/manuals/${1##*/}.pdf' _ {} \; mv %{buildroot}%{_datadir}/doc/%{name}/*.pdf %{buildroot}%{_docdir}/%{name}/manuals/ rm -r %{buildroot}%{_datadir}/doc/%{name} %python3_fix_shebang %fdupes %{buildroot}%{_includedir} %fdupes %{buildroot}/usr/lib/mod %post -n %{soname} /sbin/ldconfig %postun -n %{soname} /sbin/ldconfig %files -n %{soname} %{_libdir}/*.so* %files devel %doc AUTHORS ChangeLog README %license COPYING %{_bindir}/* %{_includedir}/* %{_libdir}/%{name} %{_libdir}/omega %dir %{_datadir}/circe1 %{_datadir}/circe1/* %dir %{_datadir}/circe2 %{_datadir}/circe2/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %dir %{_datadir}/texmf/%{name} %{_datadir}/texmf/%{name}/* %dir /usr/lib/mod /usr/lib/mod/* %files doc %dir %{_docdir}/%{name} %{_docdir}/%{name}/manuals %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