3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Data::Taxi - Taint-aware, XML-ish data serialization
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 5d7c981fba542ae8b170e6d31af4c86d
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Taxi (Taint-Aware XML-Ish) is a data serializer with several handy features:
24 - Taint aware. Taxi does not force you to trust the data you are serializing. None of the input data is executed.
25 - Human readable. Taxi produces a human-readable string that simplifies checking the output of your objects.
26 - XML-ish. While full XML compliance is not promised, Taxi produces a block of XML-ish data that could probably be read in by other XML parsers.
29 %setup -q -n %{pdir}-%{pnam}-%{version}
32 %{__perl} Makefile.PL \
35 %{?with_tests:%{__make} test}
38 rm -rf $RPM_BUILD_ROOT
41 DESTDIR=$RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %{perl_vendorlib}/Data/Taxi.pm