Репозитории ALT
S: | 2.00-alt2 |
5.1: | 2.00-alt1 |
4.1: | 2.00-alt1 |
4.0: | 2.00-alt1 |
3.0: | |
+backports: | 2.00-alt0.M30.1 |
Группа :: Базы Данных
Пакет: ldapsh
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# SPEC file for ldapsh
#
Name: ldapsh
Version: 2.00
Release: alt2
Summary: a console tool for searching/managing data in LDAP
Summary(ru_RU.UTF-8): п╨п╬п╫я│п╬п╩я▄п╫п╟я▐ я┐я┌п╦п╩п╦я┌п╟ п╢п╩я▐ п©п╬п╦я│п╨п╟/я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╢п╟п╫п╫я▀п╪п╦ п╡ LDAP
License: %gpl2plus
Group: Databases
Packager: Nikolay Fetisov <naf at altlinux.ru>
URL: http://reductivelabs.com/projects/ldapsh
# http://search.cpan.org/~loosifer/ldapsh/
Source: http://search.cpan.org/CPAN/authors/id/L/LO/LOOSIFER/%name-%version.tar.gz
Source1: %name-2.00-alt-test_config.conf
Patch0: %name-2.00-alt-docs_fix.patch
Patch1: %name-2.00-alt-use_vars.patch
Patch2: %name-2.00-alt-help_msg_fix.patch
Patch3: %name-2.00-alt-help_msg_align.patch
Patch4: %name-2.00-alt-config_msg.patch
Patch5: %name-2.00-alt-fix_undef_print.patch
Patch6: %name-2.00-alt-fix_parse.patch
BuildArch: noarch
AutoReqProv: perl, yes
BuildRequires(pre): perl-devel rpm-build-licenses
# Automatically added by buildreq on Mon Nov 29 2010
BuildRequires: perl-Date-Manip perl-ParseLex perl-Term-ReadKey perl-devel perl-ldap perl-podlators
BuildRequires: perl-podlators
BuildRequires: perl-Parse-RecDescent perl-Term-ReadLine-Gnu
%description
ldapsh is an interactive LDAP shell, written entirely in Perl and
using Net::LDAP. It's extensible in that it is relatively easy to
add new commands to it. It is largely modeled after the Unix
shell, but does not at this point allow multiple tokens through a
mechanism like pipes.
%description -l ru_RU.UTF-8
ldapsh - п╦п╫я┌п╣я─п╟п╨я┌п╦п╡п╫п╟я▐ п╬п╠п╬п╩п╬я┤п╨п╟ п╢п╩я▐ LDAP, п╫п╟п©п╦я│п╟п╫п╫п╟я▐ я├п╣п╩п╦п╨п╬п╪ п╫п╟ Perl
п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╟я▐ п╪п╬п╢я┐п╩я▄ Net::LDAP. ldapsh п©п╬п╥п╡п╬п╩я▐п╣я┌ п©п╣я─п╣п╪п╣я┴п╟я┌я▄я│я▐ п©п╬
п╢п╣я─п╣п╡я┐ LDAP, п©я─п╬я│п╪п╟я┌я─п╦п╡п╟я┌я▄, п╦п╥п╪п╣п╫я▐я┌я▄ п╦ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╫п╬п╡я▀п╣ п╥п╟п©п╦я│п╦. п·п╫п╟
я─п╟я│я┬п╦я─я▐п╣п╪п╟, п╡ п╫п╣я▒ я│я─п╟п╡п╫п╦я┌п╣п╩я▄п╫п╬ п╩п╣пЁп╨п╬ п╢п╬п╠п╟п╡п╦я┌я▄ п╫п╬п╡я▀п╣ п╨п╬п╪п╟п╫п╢я▀. п═п╟п╠п╬я┌п╟
я│ ldapsh п©п╬я┘п╬п╤п╟ п╫п╟ я─п╟п╠п╬я┌я┐ я│ п╬п╠я▀я┤п╫я▀п╪ п╨п╬п╪п╟п╫п╢п╫я▀п╪ п╦п╫я┌п╣я─п©я─п╣я┌п╟я┌п╬я─п╬п╪ UNIX,
я┘п╬я┌я▐ п╫п╟ п╢п╟п╫п╫я▀п╧ п╪п╬п╪п╣п╫я┌ п╡ п╫п╣п╧ п╫п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ п╨п╬п╪п╟п╫п╢ я┤п╣я─п╣п╥
п╪п╣я┘п╟п╫п╦п╥п╪я▀ п©п╣я─п╣п╫п╟п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╡п╬п╢п╟/п╡я▀п╡п╬п╢п╟.
%prep
%setup -q -n %name-%version
%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
subst 's at ##DOCDIR## at %_docdir/%name-%version at ' lib/Net/LDAP/Config.pm
# In 2.00 tarball sample ldapsh_config named as ldapsh_profile and
# does not matched test suit. Fix this.
subst 's at examples/ldapsh_profile at examples/ldapsh_config at ' t/00source-tests.t
cp -- %SOURCE1 examples/ldapsh_config
rm -f -- examples/ldapsh_profile
# Create link to GPL v2. license file
mv -f -- LICENSE LICENSE.GPL.orig
ln -s -- $(relative %_licensedir/GPL-2 %_docdir/%name/LICENSE) LICENSE
%build
%perl_vendor_build INSTALLMAN1DIR=%_man1dir
%install
%perl_vendor_install
%files
%doc README TODO CHANGES COMMANDS
%doc --no-dereference LICENSE
%doc examples*
%_bindir/%name
%_man1dir/*
%perl_vendor_privlib/Net/LDAP/*
%exclude /.perl.req
%changelog
…
Полный changelog можно просмотреть здесь
#
Name: ldapsh
Version: 2.00
Release: alt2
Summary: a console tool for searching/managing data in LDAP
Summary(ru_RU.UTF-8): п╨п╬п╫я│п╬п╩я▄п╫п╟я▐ я┐я┌п╦п╩п╦я┌п╟ п╢п╩я▐ п©п╬п╦я│п╨п╟/я┐п©я─п╟п╡п╩п╣п╫п╦я▐ п╢п╟п╫п╫я▀п╪п╦ п╡ LDAP
License: %gpl2plus
Group: Databases
Packager: Nikolay Fetisov <naf at altlinux.ru>
URL: http://reductivelabs.com/projects/ldapsh
# http://search.cpan.org/~loosifer/ldapsh/
Source: http://search.cpan.org/CPAN/authors/id/L/LO/LOOSIFER/%name-%version.tar.gz
Source1: %name-2.00-alt-test_config.conf
Patch0: %name-2.00-alt-docs_fix.patch
Patch1: %name-2.00-alt-use_vars.patch
Patch2: %name-2.00-alt-help_msg_fix.patch
Patch3: %name-2.00-alt-help_msg_align.patch
Patch4: %name-2.00-alt-config_msg.patch
Patch5: %name-2.00-alt-fix_undef_print.patch
Patch6: %name-2.00-alt-fix_parse.patch
BuildArch: noarch
AutoReqProv: perl, yes
BuildRequires(pre): perl-devel rpm-build-licenses
# Automatically added by buildreq on Mon Nov 29 2010
BuildRequires: perl-Date-Manip perl-ParseLex perl-Term-ReadKey perl-devel perl-ldap perl-podlators
BuildRequires: perl-podlators
BuildRequires: perl-Parse-RecDescent perl-Term-ReadLine-Gnu
%description
ldapsh is an interactive LDAP shell, written entirely in Perl and
using Net::LDAP. It's extensible in that it is relatively easy to
add new commands to it. It is largely modeled after the Unix
shell, but does not at this point allow multiple tokens through a
mechanism like pipes.
%description -l ru_RU.UTF-8
ldapsh - п╦п╫я┌п╣я─п╟п╨я┌п╦п╡п╫п╟я▐ п╬п╠п╬п╩п╬я┤п╨п╟ п╢п╩я▐ LDAP, п╫п╟п©п╦я│п╟п╫п╫п╟я▐ я├п╣п╩п╦п╨п╬п╪ п╫п╟ Perl
п╦ п╦я│п©п╬п╩я▄п╥я┐я▌я┴п╟я▐ п╪п╬п╢я┐п╩я▄ Net::LDAP. ldapsh п©п╬п╥п╡п╬п╩я▐п╣я┌ п©п╣я─п╣п╪п╣я┴п╟я┌я▄я│я▐ п©п╬
п╢п╣я─п╣п╡я┐ LDAP, п©я─п╬я│п╪п╟я┌я─п╦п╡п╟я┌я▄, п╦п╥п╪п╣п╫я▐я┌я▄ п╦ я│п╬п╥п╢п╟п╡п╟я┌я▄ п╫п╬п╡я▀п╣ п╥п╟п©п╦я│п╦. п·п╫п╟
я─п╟я│я┬п╦я─я▐п╣п╪п╟, п╡ п╫п╣я▒ я│я─п╟п╡п╫п╦я┌п╣п╩я▄п╫п╬ п╩п╣пЁп╨п╬ п╢п╬п╠п╟п╡п╦я┌я▄ п╫п╬п╡я▀п╣ п╨п╬п╪п╟п╫п╢я▀. п═п╟п╠п╬я┌п╟
я│ ldapsh п©п╬я┘п╬п╤п╟ п╫п╟ я─п╟п╠п╬я┌я┐ я│ п╬п╠я▀я┤п╫я▀п╪ п╨п╬п╪п╟п╫п╢п╫я▀п╪ п╦п╫я┌п╣я─п©я─п╣я┌п╟я┌п╬я─п╬п╪ UNIX,
я┘п╬я┌я▐ п╫п╟ п╢п╟п╫п╫я▀п╧ п╪п╬п╪п╣п╫я┌ п╡ п╫п╣п╧ п╫п╣я┌ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ п╬п╠я┼п╣п╢п╦п╫п╣п╫п╦я▐ п╨п╬п╪п╟п╫п╢ я┤п╣я─п╣п╥
п╪п╣я┘п╟п╫п╦п╥п╪я▀ п©п╣я─п╣п╫п╟п©я─п╟п╡п╩п╣п╫п╦я▐ п╡п╡п╬п╢п╟/п╡я▀п╡п╬п╢п╟.
%prep
%setup -q -n %name-%version
%patch0
%patch1
%patch2
%patch3
%patch4
%patch5
%patch6
subst 's at ##DOCDIR## at %_docdir/%name-%version at ' lib/Net/LDAP/Config.pm
# In 2.00 tarball sample ldapsh_config named as ldapsh_profile and
# does not matched test suit. Fix this.
subst 's at examples/ldapsh_profile at examples/ldapsh_config at ' t/00source-tests.t
cp -- %SOURCE1 examples/ldapsh_config
rm -f -- examples/ldapsh_profile
# Create link to GPL v2. license file
mv -f -- LICENSE LICENSE.GPL.orig
ln -s -- $(relative %_licensedir/GPL-2 %_docdir/%name/LICENSE) LICENSE
%build
%perl_vendor_build INSTALLMAN1DIR=%_man1dir
%install
%perl_vendor_install
%files
%doc README TODO CHANGES COMMANDS
%doc --no-dereference LICENSE
%doc examples*
%_bindir/%name
%_man1dir/*
%perl_vendor_privlib/Net/LDAP/*
%exclude /.perl.req
%changelog
…
Полный changelog можно просмотреть здесь