Репозиторий Sisyphus
Последнее обновление: 26 ноября 2021 | Пакетов: 17424 | Посещений: 22395227
en ru br
Репозитории ALT

Группа :: Разработка/Perl
Пакет: perl-Logoved-DB

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_with db
%define module Logoved-DB

Name: perl-%module
Version: 0.021
Release: alt1
BuildArch: noarch
Packager: Igor Yu. Vlasenko <viy at altlinux.org>

Summary: perl library for Logoved framework and DB
Group: Development/Perl
License: GPLv2+ or Artistic-2.0
Source: http://www.cpan.org/modules/by-module/RPM/%module-%version.tar.gz
#Url: http://search.cpan.org/dist/%module
#Url: http://git.altlinux.org/people/viy/packages/logoved.git
Url: http://wiki.altlinux.org/Logoved

BuildRequires: perl-devel perl(Logoved/Stream.pm) perl(autodie.pm) perl(Source/Shared/CLI.pm)
BuildRequires: perl-RPM-Source-Dependency-Analyzer >= 0.070

%description
perl library for Logoved framework and DB.

%package -n logoved
Summary: Logoved is a tool for build log analysis and processing.
Group: Development/Tools
Requires: perl-%module = %EVR
%if_with db
Requires: logoved-db = %EVR
%endif

%description -n logoved
Logoved is a tool for build log analysis and processing.

%package -n logoved-batchfix
Summary: fix packages in batch using logoved-report's FIXSCRIPT.
Group: Development/Tools
Requires: perl-RPM-Source-Transformation-Logoved-Batch = %EVR
BuildRequires: girar-nmu >= 2
Requires: girar-nmu >= 2
%if_with db
Requires: logoved-db = %EVR
%endif

%description -n logoved-batchfix
Logoved-batchfix is a tool to fix packages in batch
by applying to them logoved-report's 00FIXSCRIPT file

%package -n logoved-autorepo
Summary: helper scripts for using logoved in autorepo builder.
Group: Development/Tools
Requires: perl-%module = %EVR
Requires: logoved = %EVR
Requires: logoved-batchfix = %EVR

%description -n logoved-autorepo
Helper scripts for using logoved in autorepo builder.

%package -n perl-RPM-Source-Transformation-Logoved-Batch
Summary: libraary to fix packages in batch using FIXSCRIPT
Group: Development/Perl
BuildRequires: perl(RPM/Source/Transformation/Factory.pm) perl(Source/Repository/RPM/ALTLinuxSrcList.pm)

%description -n perl-RPM-Source-Transformation-Logoved-Batch
Perl library to fix packages in batch using FIXSCRIPT

%if_with db
%package -n logoved-db
Summary: Database for Logoved.
Group: Development/Perl

%description -n logoved-db
Logoved Database.
%endif

%prep
%setup -q -n %module-%version

%build
%perl_vendor_build

%install
%perl_vendor_install

%if_with db
mkdir -p %buildroot%_datadir/{logoved,srpmtools}/
cp -a db addon %buildroot%_datadir/logoved/
cp -a hooks %buildroot%_datadir/srpmtools/
%endif

%files
#doc Changes
#doc README
%perl_vendor_privlib/Logoved*

%files -n logoved
%_bindir/logoved-grep
%_bindir/logoved-report
%_man1dir/logoved-report*
# TODO: write man for logoved-grep!!!

%files -n logoved-batchfix
%_bindir/logoved-batchfix*
%_man1dir/logoved-batchfix*
%_bindir/girar-nmu-prepare-logoved-batchfix*
%_man1dir/girar-nmu-prepare-logoved-batchfix*

%files -n logoved-autorepo
%_bindir/logoved-autoimports
%_bindir/logoved-autorepo-helper-*

%files -n perl-RPM-Source-Transformation-Logoved-Batch
%perl_vendor_privlib/RPM/Source/Transformation

%if_with db
%files -n logoved-db
%_datadir/logoved
%_datadir/srpmtools/hooks
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin