ALT Linux repositórios
Group :: Desenvolvimento/Perl
RPM: perl-XML-SimpleObject
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# -*- rpm-spec -*-
# $Id: perl-XML-SimpleObject,v 1.3 2003/06/26 14:40:25 grigory Exp $
%define module_dir XML
%define real_name %module_dir-SimpleObject
Name: perl-XML-SimpleObject
Version: 0.53
Release: alt1.1
Summary: %name takes the output of XML::Parser as a tree
License: Perl style license
Group: Development/Perl
URL: http://cpan.org/modules/by-module/%module_dir
BuildArch: noarch
Source0: %url/%real_name-%version.tar.bz2
AutoReqProv: perl, yes
# Automatically added by buildreq on Thu Dec 13 2001
BuildRequires: libexpat perl-devel perl-XML-Parser
%description
This is a small and simple package that takes the output of XML::Parser as
a tree, and gives simple methods for accessing the structure of an XML
document. It is very lightweight, but provides the simplest access to an XML
document possible. It does not subclass XML::Parser; rather, it is meant to
serve purely as an object struct for an outgoing tree.
I originally wrote the module as an example of parsing without handlers.
%prep
%setup -q -n %real_name%version
%build
%__rm -rf LibXML
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%perl_vendor_privlib/%module_dir/*
%perl_vendor_man3dir/*
%changelog
…
Todas as alterações você pod ver aqui
# $Id: perl-XML-SimpleObject,v 1.3 2003/06/26 14:40:25 grigory Exp $
%define module_dir XML
%define real_name %module_dir-SimpleObject
Name: perl-XML-SimpleObject
Version: 0.53
Release: alt1.1
Summary: %name takes the output of XML::Parser as a tree
License: Perl style license
Group: Development/Perl
URL: http://cpan.org/modules/by-module/%module_dir
BuildArch: noarch
Source0: %url/%real_name-%version.tar.bz2
AutoReqProv: perl, yes
# Automatically added by buildreq on Thu Dec 13 2001
BuildRequires: libexpat perl-devel perl-XML-Parser
%description
This is a small and simple package that takes the output of XML::Parser as
a tree, and gives simple methods for accessing the structure of an XML
document. It is very lightweight, but provides the simplest access to an XML
document possible. It does not subclass XML::Parser; rather, it is meant to
serve purely as an object struct for an outgoing tree.
I originally wrote the module as an example of parsing without handlers.
%prep
%setup -q -n %real_name%version
%build
%__rm -rf LibXML
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%perl_vendor_privlib/%module_dir/*
%perl_vendor_man3dir/*
%changelog
…
Todas as alterações você pod ver aqui