Christian Wittmer
2011-03-04 18:08:06 +00:00
committed by Git OBS Bridge
parent dfbe199aad
commit bb115e8f47
4 changed files with 48 additions and 41 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Data-Taxi
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,55 +15,50 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-Data-Taxi
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Taint-aware, XML-ish data serialization
Version: 0.95
Version: 0.96
Release: 1
License: artistic
Group: Applications/CPAN
Url: http://search.cpan.org/dist/%{cpan_name}
Source0: %{cpan_name}-%{version}.tar.gz
License: GPL+ or Artistic
%define cpan_name Data-Taxi
Summary: Taint-aware, XML-ish data serialization
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Data-Taxi/
#Source: http://www.cpan.org/authors/id/M/MI/MIKO/Data-Taxi-0.96.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
#BuildRequires: perl(Module::Build)
BuildRequires: perl(Debug::ShowStuff) >= 1.1
Requires: perl(Debug::ShowStuff) >= 1.1
%{perl_requires}
%description
%{cpan_name} module for perl
Taxi (*T*aint-*A*ware *X*ML-*I*sh) is a data serializer with several handy
features:
Taxi (Taint-Aware XML-Ish) is a data serializer with several handy
features:
* Taint aware
Taint aware
Taxi does not force you to trust the data you are serializing. None
of the input data is executed.
Taxi does not force you to trust the data you are serializing. None of
the input data is executed.
Human readable
Taxi produces a human-readable string that simplifies checking the
output of your objects.
* Human readable
XML-ish
While I don`t (currently) promise full XML compliance, Taxi produces
a block of XML-ish data that could probably be read in by other XML
parsers.
Taxi produces a human-readable string that simplifies checking the output
of your objects.
Author: Miko O`Sullivan <miko@idocs.com>
* XML-ish
While I don't (currently) promise full XML compliance, Taxi produces a
block of XML-ish data that could probably be read in by other XML
parsers.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
@@ -73,13 +68,11 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root)
%defattr(644,root,root,755)
%doc README
%changelog
* Mon Aug 25 2008 - rpm@scorpio-it.net - 0.94
- initial Package