Sisyphus repositório
Última atualização: 25 agosto 2019 | SRPMs: 17347 | Visitas: 14704252
en ru br
ALT Linux repositórios
S:0.20.0-alt1

Group :: Sistema/Configurações/Rede
RPM: control++

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define libcontrolppver 0.22

Name: control++
Version: 0.20.0
Release: alt1

Summary: System configuration tool
License: GPLv3
Group: System/Configuration/Other
Url: https://www.altlinux.org/Control++

Packager: Alexey Appolonov <alexey at altlinux.org>

# http://git.altlinux.org/people/alexey/packages/?p=controlplusplus.git

Source: %name-%version.tar

BuildRequires: gcc-c++
BuildRequires: libcontrol++-devel >= %libcontrolppver

%description
control++ is a simple system configuration tool
that allows administrator to change system ulimits,
set permission modes and, in perspective,
perform other administrative operations.

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #


%prep
%setup

%build
mkdir -p bin/Release
mkdir -p obj/Release
%make_build -C control++/ release

%install
mkdir -p %buildroot%_bindir
mkdir -p %buildroot%_docdir/%name
mkdir -p %buildroot%_sysconfdir/%name
# Executables
cp control++/bin/Release/%name %buildroot%_bindir
# Configuration
cp -r samples/* %buildroot%_sysconfdir/%name
# Dirs for generated files
mkdir -p %buildroot%_localstatedir/%name/ulimits
mkdir %buildroot%_localstatedir/%name/permissions
# Documentation
cp COPYING %buildroot%_defaultdocdir/%name/
cp usage.txt %buildroot%_defaultdocdir/%name/
cp readme.txt %buildroot%_defaultdocdir/%name/

%files
%_bindir/%name
%_sysconfdir/%name
%config(noreplace) %_sysconfdir/%name/%name.conf
%_localstatedir/%name
%_defaultdocdir/%name

# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #


%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009