Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:kleinrob:mpip
tsmclient-7.1
tsmclient.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tsmclient.spec of Package tsmclient-7.1
# # spec file for package # # Copyright (c) 2012 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: tsmclient Version: 7.1 Release: 1%{?dist} License: BSD-2-Clause Summary: Setup files for TSM client Group: Productivity/Archiving/Backup Source: %{name}-%{version}.tar.gz URL: https://build.opensuse.org/project/show/home:kleinrob:tsm # Patch: Requires: TIVsm-BA Requires(post): coreutils net-tools # Requires: libstdc++ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: TSM scheduler %if 0%{?suse_version} >= 1210 BuildRequires: systemd %endif BuildArch: noarch Obsoletes: tsmclient-lang %description Init Scripts and configuration for TSM client. %prep %setup -q %build %install install -d $RPM_BUILD_ROOT%{_sbindir} %if 0%{?suse_version} >= 1210 install -D -m 644 tsmclient.service.dsmc $RPM_BUILD_ROOT/%{_unitdir}/tsmclient.service %else install -D -m 755 tsmclient.dsmc $RPM_BUILD_ROOT%{_sysconfdir}/init.d/%{name} ln -s %{_sysconfdir}/init.d/%{name} $RPM_BUILD_ROOT%{_sbindir}/rctsmclient %endif install -d $RPM_BUILD_ROOT/var/log/TSM %pre %if 0%{?suse_version} >= 1210 %service_add_pre tsmclient.service %endif %post TSMLOGDIR=/var/log/TSM touch ${TSMLOGDIR}/dsmsched.log touch ${TSMLOGDIR}/dsmerror.log touch ${TSMLOGDIR}/dsmwebcl.log chmod a+w ${TSMLOGDIR}/dsmwebcl.log chmod a+w ${TSMLOGDIR}/dsmerror.log %if 0%{?suse_version} >= 1210 %service_add_post tsmclient.service %endif %preun %if 0%{?suse_version} >= 1210 %service_del_preun tsmclient.service %else %stop_on_removal tsmclient %endif %postun %if 0%{?suse_version} >= 1210 %service_del_postun tsmclient.service %else %restart_on_update tsmclient %insserv_cleanup %endif %files %defattr(-,root,root) #doc ChangeLog README COPYING /var/log/TSM %if 0%{?suse_version} >= 1210 %{_unitdir}/tsmclient.service %else %{_sysconfdir}/init.d/tsmclient %{_sbindir}/rctsmclient %endif %doc README.SUSE %changelog * Wed Oct 21 2014 Robert Klein <kleinrob@mpip-mainz.mpg.de> - Update to TSM Client version 7.1.3 * Thu Feb 13 2014 Robert Klein <kleinrob@mpip-mainz.mpg.de> - changed name TSMscheduler -> tsmclient - remove site configuration * Thu Dec 12 2013 Robert Klein <kleinrob@mpip-mainz.mpg.de> - Add support for systemd service - Fix LANG issues for system v * Mon Nov 12 2012 Robert Klein <kleinrob@mpip-mainz.mpg.de> - Initial Version
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