Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37894543
en ru br
ALT Linux repos
S:1.51-alt6
5.0: 1.49-alt1
4.1: 1.49-alt1
4.0: 1.49-alt1
3.0: 0.40.0-alt6

Group :: Development/Perl
RPM: perl-RPM

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define dist Perl-RPM
%define realver 0.40
Name: perl-RPM
Version: %realver.0
Release: alt6

Summary: Native bindings to the RPM Package Manager API
License: GPL
Group: Development/Perl

URL: %CPAN %dist
Source: %dist-%realver.tar.bz2

Patch0: %name-0.40-mdk-64bit-fixes.patch
Patch1: %name-0.40-alt-fix-memleaks.patch

BuildConflicts: perl-devel = 1:5.8.1

# Automatically added by buildreq on Sat Apr 02 2005

BuildRequires: libpopt-devel librpm-devel perl-Devel-Leak perl-devel

%description
The Perl-RPM package is an attempt to provide Perl-level access to the
complete application programming interface that is a part of the RPM
Package Manager (RPM). Rather than have scripts rely on executing RPM
commands and parse the resultant output, this modules aims to provide
Perl programmers the ability to do anything that would otherwise have
been done in C or C++.

%prep
%setup -q -n %dist-%realver
%patch0 -p1
%patch1 -p1

%build
%perl_vendor_build LIBS="-lrpm -lrpmdb -lrpmio"

%install
%perl_vendor_install

%files
%doc README ChangeLog
%_bindir/rpmprune
%perl_vendor_archlib/RPM*
%perl_vendor_autolib/RPM*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin