8
0

- updated to 0.47, see JSON::DWIW::Changes for newer changes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-DWIW?expand=0&rev=8
This commit is contained in:
Stephan Kulow
2011-07-21 07:47:23 +00:00
committed by Git OBS Bridge
parent 32627219d7
commit ad20846726
4 changed files with 58 additions and 37 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8f7152b8683d2145403d4660472b3898e3780ff0e5a835bb359fe70d3f7ac972
size 68499

3
JSON-DWIW-0.47.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46a7cdcb77ceb95f96da53800ce36d21835f7fd25ab15cb45f823dec11213161
size 445599

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 21 07:40:22 UTC 2011 - coolo@novell.com
- updated to 0.47, see JSON::DWIW::Changes for newer changes
-------------------------------------------------------------------
Tue Nov 30 19:20:24 UTC 2010 - coolo@novell.com

View File

@@ -1,56 +1,72 @@
%define cpan_name JSON-DWIW
#
# spec file for package perl-JSON-DWIW (Version 0.47)
#
# Copyright (c) 2011 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
Name: perl-%cpan_name
Version: 0.28
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-JSON-DWIW
Version: 0.47
Release: 1
Provides: %cpan_name
Group: Development/Libraries/Perl
License: Artistic
URL: http://search.cpan.org/dist/JSON-DWIW/
License: GPL+ or Artistic
%define cpan_name JSON-DWIW
Summary: JSON converter that Does What I Want
Source: %cpan_name-%{version}.tar.gz
Url: http://search.cpan.org/dist/JSON-DWIW/
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/D/DO/DOWENS/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
Other JSON modules require setting several parameters before calling the
conversion methods to do what I want. This module does things by default
that I think should be done when working with JSON in Perl. This module
also encodes and decodes faster than JSON.pm and JSON::Syck in my benchmarks.
also encodes and decodes faster than the JSON manpage.pm and the JSON::Syck
manpage in my benchmarks.
This means that any piece of data in Perl (assuming it's valid unicode) will
get converted to something in JSON instead of throwing an exception. It also
means that output will be strict JSON, while accepted input will be flexible,
without having to set any options.
This means that any piece of data in Perl (assuming it's valid unicode)
will get converted to something in JSON instead of throwing an exception.
It also means that output will be strict JSON, while accepted input will be
flexible, without having to set any options.
For a list of changes in recent versions, see the documentation for the
JSON::DWIW::Changes manpage.
This module can be downloaded from the
http://www.cpan.org/authors/id/D/DO/DOWENS/ manpage.
%prep
%setup -q -n %cpan_name-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
#make test
%{__make} test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
# clean up the hard disc after build
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%{perl_vendorarch}/JSON
%{perl_vendorarch}/auto/JSON
%doc WhatsNew README
%changelog -n %{name}
* Sun Oct 26 2008 - gerrit.beine@gmx.de
- first release 0.27
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Artistic README WhatsNew
%changelog