0.10
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Toolkit?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
XML-Toolkit-0.10.tar.bz2
Normal file
3
XML-Toolkit-0.10.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e11e6917e9ea40ed5220a6073563c7f7a20e9a5d04cad02bb59f635560a97d2e
|
||||
size 2020106
|
5
perl-XML-Toolkit.changes
Normal file
5
perl-XML-Toolkit.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 29 13:56:20 CET 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
- initial version (0.10)
|
||||
|
117
perl-XML-Toolkit.spec
Normal file
117
perl-XML-Toolkit.spec
Normal file
@@ -0,0 +1,117 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
|
||||
Name: perl-XML-Toolkit
|
||||
Version: 0.10
|
||||
Release: 0
|
||||
Summary: Suite of XML tools with Antlers
|
||||
# http://search.cpan.org/CPAN/authors/id/P/PE/PERIGRIN/XML-Toolkit-%{version}.tar.gz
|
||||
Source: XML-Toolkit-%{version}.tar.bz2
|
||||
URL: http://search.cpan.org/dist/XML-Toolkit
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: make
|
||||
BuildRequires: perl(Test::More) >= 0.94
|
||||
BuildRequires: perl(Test::Exception)
|
||||
BuildRequires: perl(Test::Deep)
|
||||
BuildRequires: perl(Test::XML)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(XML::SAX) >= 0.96
|
||||
BuildRequires: perl(namespace::autoclean)
|
||||
BuildRequires: perl(aliased)
|
||||
BuildRequires: perl(Template) >= 2.20
|
||||
BuildRequires: perl(Bread::Board)
|
||||
BuildRequires: perl(MooseX::Aliases)
|
||||
BuildRequires: perl(MooseX::MetaDescription) >= 0.03
|
||||
BuildRequires: perl(MooseX::Types::Path::Class) >= 0.04
|
||||
BuildRequires: perl(XML::SAX::Writer) >= 0.50
|
||||
BuildRequires: perl(Devel::PackagePath) >= 0.01
|
||||
BuildRequires: perl(Moose) >= 0.92
|
||||
BuildRequires: perl(MooseX::NonMoose)
|
||||
Requires: perl(XML::SAX) >= 0.96
|
||||
Requires: perl(namespace::autoclean)
|
||||
Requires: perl(aliased)
|
||||
Requires: perl(Template) >= 2.20
|
||||
Requires: perl(Bread::Board)
|
||||
Requires: perl(MooseX::Aliases)
|
||||
Requires: perl(MooseX::MetaDescription) >= 0.03
|
||||
Requires: perl(MooseX::Types::Path::Class) >= 0.04
|
||||
Requires: perl(XML::SAX::Writer) >= 0.50
|
||||
Requires: perl(Devel::PackagePath) >= 0.01
|
||||
Requires: perl(Moose) >= 0.92
|
||||
Requires: perl(MooseX::NonMoose)
|
||||
|
||||
%description
|
||||
XML::Toolkit is a suite of tools that work to make handling XML easier. It
|
||||
is designed to marshall XML documents into Moose classes and back again
|
||||
with minimal changes.
|
||||
|
||||
The original intention of XML::Toolkit was to round-trip XML documents
|
||||
with an unkonwn schema through an editor and back out to disk with very
|
||||
few semantic or structural changes.
|
||||
|
||||
%package -n xmltk
|
||||
Summary: Suite of XML tools as a command line tool
|
||||
Group: Productivity/Publishing/XML
|
||||
Requires: %{name} = %{version}
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description -n xmltk
|
||||
XML::Toolkit is a suite of tools that work to make handling XML easier. It
|
||||
is designed to marshall XML documents into Moose classes and back again
|
||||
with minimal changes.
|
||||
|
||||
The original intention of XML::Toolkit was to round-trip XML documents
|
||||
with an unkonwn schema through an editor and back out to disk with very
|
||||
few semantic or structural changes.
|
||||
|
||||
This package contains xmltk, a command line frontend to XML::Toolkit.
|
||||
|
||||
%prep
|
||||
%setup -q -n "XML-Toolkit-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
mkdir .rpmdoc
|
||||
for f in Changes; do
|
||||
%__ln_s -f ../%{name}/$f .rpmdoc/$f
|
||||
done
|
||||
|
||||
%check
|
||||
%__make test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes
|
||||
%dir %{perl_vendorlib}/XML
|
||||
%{perl_vendorlib}/XML/Toolkit.pm
|
||||
%{perl_vendorlib}/XML/Toolkit
|
||||
%dir %{perl_vendorlib}/XML/Filter
|
||||
%{perl_vendorlib}/XML/Filter/Moose.pm
|
||||
%dir %{perl_vendorlib}/XML/Generator
|
||||
%{perl_vendorlib}/XML/Generator/Moose.pm
|
||||
%dir %{perl_vendorarch}/auto/XML
|
||||
%{perl_vendorarch}/auto/XML/Toolkit
|
||||
%doc %{perl_man3dir}/XML::*.%{perl_man3ext}%{ext_man}
|
||||
|
||||
%files -n xmltk
|
||||
%defattr(-,root,root)
|
||||
%doc .rpmdoc/*
|
||||
%{_bindir}/xmltk
|
||||
|
Reference in New Issue
Block a user