Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
SatConfig-general
> SatConfig-general.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File SatConfig-general.spec of Package SatConfig-general
# # spec file for package SatConfig-general # # Copyright (c) 2011 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/ # %define sysv_dir %{_sysconfdir}/rc.d/np.d %define hb_res_dir %{_sysconfdir}/ha.d/resource.d %define installed_dir %sysv_dir/installed Name: SatConfig-general Version: 1.216.19 Release: 0.4.10 Summary: Satellite Configuration System - general setup, used by many packages Url: https://fedorahosted.org/spacewalk Source0: SatConfig-general-git-8fb59f659522f803d45c3e275ebe3f171a72d634.tar.gz Group: Development/Libraries License: GPL v2 only BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} BuildRequires: nocpulse-common Requires: perl = %{perl_version} %else Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %endif Requires: nocpulse-common %description SatConfig-general sets up directories and other items shared by many packages to make a monitoring work. %prep %setup -q -n SatConfig-general-git-8fb59f659522f803d45c3e275ebe3f171a72d634 %build pod2man --section=8 NOCpulse-ini NOCpulse-ini.8 %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%sysv_dir mkdir -p $RPM_BUILD_ROOT%hb_res_dir mkdir -p $RPM_BUILD_ROOT%installed_dir install -m 644 *.pm $RPM_BUILD_ROOT%sysv_dir install -m 755 hbResource $RPM_BUILD_ROOT%sysv_dir install -m 755 installSysVSteps $RPM_BUILD_ROOT%sysv_dir install -m 755 registerStep $RPM_BUILD_ROOT%sysv_dir install -m 755 step $RPM_BUILD_ROOT%sysv_dir install -m 755 sysvStep $RPM_BUILD_ROOT%sysv_dir install -m 755 validateConfiguration $RPM_BUILD_ROOT%sysv_dir install -m 755 pip $RPM_BUILD_ROOT%sysv_dir install -m 444 SysV.ini $RPM_BUILD_ROOT%sysv_dir ln -s ../../rc.d/np.d/hbResource $RPM_BUILD_ROOT%hb_res_dir/ClusterLeader install -D -m 644 NOCpulse-ini.8 $RPM_BUILD_ROOT%{_mandir}/man8/NOCpulse-ini.8 install -D -p -m 755 NOCpulse-ini $RPM_BUILD_ROOT%{_sbindir}/NOCpulse-ini %files %defattr(-,root,root,-) %dir %sysv_dir %dir %installed_dir %dir %{_sysconfdir}/ha.d %dir %{_sysconfdir}/ha.d/resource.d %sysv_dir/*.pm %sysv_dir/hbResource %sysv_dir/installSysVSteps %sysv_dir/registerStep %sysv_dir/step %sysv_dir/sysvStep %sysv_dir/validateConfiguration %sysv_dir/pip %sysv_dir/SysV.ini %hb_res_dir/* %{_sbindir}/NOCpulse-ini %doc 1-STARTUP_SEQUENCE 2-COMMANDS_OVERVIEW 3-CONFIGURATION 4-DEVELOPMENT 5-STEPS_LEGEND %{_mandir}/man8/NOCpulse-ini.8.* %clean rm -rf $RPM_BUILD_ROOT %changelog * Wed Sep 15 2010 mantel@suse.de - Initial release of SatConfig-general