Commit c2177f12 authored by Agustin Pane's avatar Agustin Pane
Browse files

Added .spec file and .rpm files

parent f6475d66
#
# spec file for package svmon
#
# Copyright (c) 2018 SUSE LINUX Products 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/
#
Name: svmon
Version: 1.0.1
Release: 1
License: GPL
Summary: svmon client
Url: https://gitlab.eudat.eu/EUDAT-TOOLS/SVMON/svmon.client
Group: EUDAT/SERVICE
Source: %{name}-%{version}.tar.gz
#Patch:
#BuildRequires: gcc make
PreReq: pakiti-client
Provides: svmon service
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PACKAGER: KIT
%description
The funtionality of the SVMON based on the scripts running at sites, which periodically collect the information on software versions of B2services and trasmit it furhter to the server in secure manner. Currently the procedure allows automatically extract the B2SAFE and iRODS versions, as well as versions of handle system and epic version, the programmatic extraction for other B2Services and collaborative tools is under study.
%prep
%setup -q
#%build
#./configure
#make %{?_smp_mflags}
%install
mkdir -p ${RPM_BUILD_ROOT}/opt/%{name}
cp -rf config LICENSE README.md security src ${RPM_BUILD_ROOT}/opt/%{name}
mkdir -p ${RPM_BUILD_ROOT}/usr/bin
cp ${RPM_BUILD_ROOT}/opt/%{name}/src/versions_monitoring.sh ${RPM_BUILD_ROOT}/usr/bin/svmon
#make install DESTDIR=%{buildroot} %{?_smp_mflags}
%post
%postun
%files
/opt/%{name}
/usr/bin/svmon
%defattr(-,root,root)
%doc README.md
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment