Initial import (#1433686)

This commit is contained in:
rakhimov 2017-03-20 17:25:18 -07:00
parent 65a589e278
commit bccfdb9035
3 changed files with 53 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/scram-0.12.0.tar.gz

51
scram.spec Normal file
View File

@ -0,0 +1,51 @@
Name: scram
Version: 0.12.0
Release: 1%{?dist}
Summary: Probabilistic Risk Analysis Tool
Group: Applications/Engineering
License: GPLv3+
Url: https://scram-pra.org
Source0: http://downloads.sourceforge.net/iscram/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 2.8.12
BuildRequires: boost-devel >= 1.56.0
BuildRequires: libxml++-devel >= 2.38.1
BuildRequires: gperftools-devel
%description
A command line probabilistic risk analysis tool
capable of performing static fault tree analysis,
analysis with common cause failure models,
probability calculations with importance analysis,
and uncertainty analysis with Monte Carlo simulations.
%prep
%setup -q
%build
mkdir build && cd build
%cmake .. \
-DBUILD_SHARED_LIBS=OFF \
-DINSTALL_LIBS=OFF \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DBUILD_GUI=OFF \
-DBUILD_TESTS=OFF
%make_build
%install
(cd build && make install DESTDIR=%{buildroot})
install -p -D -m 644 doc/scram.1 -t %{buildroot}/%{_mandir}/man1/
install -p -D -m 644 scripts/scram.sh %{buildroot}/%{_datadir}/bash-completion/completions/scram
%files
%doc doc/*
%license LICENSE
%{_bindir}/%{name}
%{_mandir}/man1/scram.1*
%{_datadir}/scram/
%{_datadir}/bash-completion/completions/scram
%changelog
* Sun Mar 19 2017 Olzhas Rakhimov <ol.rakhimov@gmail.com> - 0.12.0-1
- Initial RPM Package

View File

@ -0,0 +1 @@
SHA512 (scram-0.12.0.tar.gz) = 01b536c62289dfbf21bbe1e2aac59be549e90601cef20a45a5fc3c85d7e47187f7b7193630a9887524891d07ff8ff679294054b38c07595e01e9360a7983e958