Search
j0ke.net Open Build Service
>
Projects
>
SUSE
:
Manager
:
1.2
>
SatConfig-generator
> SatConfig-generator.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File SatConfig-generator.spec of Package SatConfig-generator
# # spec file for package SatConfig-generator # # 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 db_dir %{_var}/lib/nocpulse %define install_prefix %{perl_vendorlib}/NOCpulse/SatConfig Name: SatConfig-generator Version: 2.29.12 Release: 0.4.10 Summary: Satellite Configuration System - Server Url: https://fedorahosted.org/spacewalk Source0: SatConfig-generator-git-8fb59f659522f803d45c3e275ebe3f171a72d634.tar.gz BuildArch: noarch %if 0%{?suse_version} Requires: perl = %{perl_version} %else Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %endif Requires: nocpulse-common %if 0%{?suse_version} BuildRequires: nocpulse-common %endif Group: Applications/Internet License: GPL v2 only BuildRoot: %{_tmppath}/%{name}-%{version}-build # We have removed SatConfig-dbsynch from the release, by # Provides + Obsoletes we achieve removal of that package # during upgrades. Provides: SatConfig-dbsynch = 1.3.3 Obsoletes: SatConfig-dbsynch < 1.3.3 %description SatConfig-generator is the cgi mechanism by which Netsaint configuration files are generated and propagated. %prep %setup -q -n SatConfig-generator-git-8fb59f659522f803d45c3e275ebe3f171a72d634 %build # Nothing to build %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{install_prefix} #mkdir -p $RPM_BUILD_ROOT%{install_prefix}/test mkdir -p $RPM_BUILD_ROOT%{db_dir} install -m 644 ConfigDocument.pm $RPM_BUILD_ROOT%{install_prefix} install -m 644 GenerateConfig.pm $RPM_BUILD_ROOT%{install_prefix} #install -m 644 TestGenerateConfig.pm $RPM_BUILD_ROOT%{install_prefix}/test %{_fixperms} $RPM_BUILD_ROOT/* %files %defattr(-,root,root,-) %dir %{install_prefix} %dir %attr(-,nocpulse,nocpulse) %{db_dir} %{install_prefix}/ConfigDocument.pm %{install_prefix}/GenerateConfig.pm %clean rm -rf $RPM_BUILD_ROOT %changelog * Wed Sep 15 2010 mantel@suse.de - Initial release of SatConfig-generator