Sisyphus repositório
Última atualização: 22 maio 2022 | SRPMs: 17607 | Visitas: 23671111
en ru br
ALT Linux repositórios
S:2.7-alt3
5.0: 2.4-alt1
4.1: 2.2-alt1
4.0: 2.2-alt1
3.0: 2.0-alt1

Group :: Desenvolvimento/Outros
RPM: php-base

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: php-base
Version: 2.7
Release: alt3
Group: Development/Other
Packager: Sergey Kurakin <kurakin at altlinux.org>

Source0: php-scripts-%version.tar
Source1: php-control-%version.tar
Source10: php-packaging.alt

License: GPL

Provides: %_libdir/php
Provides: %_datadir/php/scripts
Provides: %_datadir/php/modules
Provides: %_datadir/php/control
Provides: %_datadir/php/control/php.control
Provides: %_sysconfdir/php/control.d

Requires(pre): control

Conflicts: apache-mod_php5 <= 5.2.12.20091216-alt5
Conflicts: apache2-mod_php5 <= 5.2.12.20091216-alt5

Summary: Package with common data for various PHP packages

%description
The %name package contains parts of PHP distribution which are in use
by other PHP-related packages.

%prep
%setup -b1 -c -n %name-%version
cp %SOURCE10 .

%build

%install
mkdir -p \
%buildroot/%_bindir \
%buildroot/%_libdir/php \
%buildroot/%_datadir/php \
%buildroot/%_sysconfdir/php \
%buildroot/%_datadir/php/scripts \
%buildroot/%_datadir/php/modules \
%buildroot/%_sysconfdir/control.d

install -m 644 php-scripts/phpfunctions %buildroot/%_sysconfdir/control.d
install -m 700 php-scripts/*.sh %buildroot/%_datadir/php/scripts
install -m 755 php-scripts/phpini-migrate %buildroot/%_bindir/

install -d %buildroot/%_datadir/php/control/
install -m 755 php-control/php.control %buildroot/%_datadir/php/control/

install -d %buildroot/%_sysconfdir/php/control.d/
install -m 644 php-control/modes/* %buildroot%_sysconfdir/php/control.d/

install -d %buildroot%_rpmlibdir/
cat <<\EOF >%buildroot%_rpmlibdir/%name-files.req.list
# %name dirlist for %_rpmlibdir/files.req
%_libdir/php/ %name
%_datadir/php/scripts/ %name
%_datadir/php/modules/ %name
%_datadir/php/control/ %name
%_sysconfdir/php/control.d/ %name
EOF

%files
%doc php-packaging.alt
%_bindir/*
%dir %_libdir/php
%dir %_datadir/php
%dir %_sysconfdir/php
%dir %_sysconfdir/php/control.d/
%config(noreplace) %_sysconfdir/php/control.d/*
%config %_sysconfdir/control.d/*
%dir %_datadir/php/scripts
%dir %_datadir/php/modules
%dir %_datadir/php/control/
%_datadir/php/scripts/*
%_datadir/php/control/*
%_rpmlibdir/%name-files.req.list

%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