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 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 # Please submit bugfixes or comments via http://bugs.opensuse.org/
Version: 0.28 #
Release: 1
Provides: %cpan_name Name: perl-JSON-DWIW
Group: Development/Libraries/Perl Version: 0.47
License: Artistic Release: 1
URL: http://search.cpan.org/dist/JSON-DWIW/ License: GPL+ or Artistic
Summary: JSON converter that Does What I Want %define cpan_name JSON-DWIW
Source: %cpan_name-%{version}.tar.gz Summary: JSON converter that Does What I Want
BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://search.cpan.org/dist/JSON-DWIW/
%{perl_requires} Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/D/DO/DOWENS/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires}
%description %description
Other JSON modules require setting several parameters before calling the Other JSON modules require setting several parameters before calling the
conversion methods to do what I want. This module does things by default 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 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 This means that any piece of data in Perl (assuming it's valid unicode)
get converted to something in JSON instead of throwing an exception. It also will get converted to something in JSON instead of throwing an exception.
means that output will be strict JSON, while accepted input will be flexible, It also means that output will be strict JSON, while accepted input will be
without having to set any options. 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 %prep
%setup -q -n %cpan_name-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{__make} %{?_smp_mflags}
%check %check
#make test %{__make} test
%install %install
make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %clean
# clean up the hard disc after build %{__rm} -rf %{buildroot}
rm -rf $RPM_BUILD_ROOT
%files %files -f %{name}.files
%defattr(-,root,root) %defattr(-,root,root,755)
%doc %{_mandir}/man?/* %doc Artistic README WhatsNew
%{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
%changelog