Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
science
geant4-data-G4ABLA
geant4-data-G4ABLA.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File geant4-data-G4ABLA.spec of Package geant4-data-G4ABLA
# # spec file for package geant4-data-G4ABLA # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define srcname G4ABLA %define confvar G4ABLADATA Name: geant4-data-%{srcname} Version: 3.1 Release: 0 Summary: Geant4 data files for nuclear shell effects in INCL/ABLA hadronic mode License: BSD-4-Clause URL: https://geant4.web.cern.ch/ Source: http://geant4-data.web.cern.ch/geant4-data/datasets/%{srcname}.%{version}.tar.gz BuildRequires: geant4-devel BuildArch: noarch %description This package provides a data set of nuclear shell effects in INCL/ABLA hadronic mode for use by GEANT4. %prep %setup -q -c %{name}-%{version} %build %install %geant4_install_data # REMOVE README FILES TO BE INSTALLED USING %%doc find %{buildroot}%{geant4datadir}/ -name "README*" -delete -print # EXPORT VARIABLES TO SYSTEMWIDE profile.d mkdir -p %{buildroot}%{_sysconfdir}/profile.d cat << EOF | tee %{buildroot}%{_sysconfdir}/profile.d/%{srcname}.sh export %{confvar}=%{geant4datadir}/%{srcname}%{version} EOF cat << EOF | tee %{buildroot}%{_sysconfdir}/profile.d/%{srcname}.csh setenv %{confvar} %{geant4datadir}/%{srcname}%{version} EOF %files %doc ./*/README* %config %{_sysconfdir}/profile.d/%{srcname}.sh %config %{_sysconfdir}/profile.d/%{srcname}.csh %{geant4datadir}/%{srcname}%{version}/ %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