8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
Stephan Kulow
b9b7e51060 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-JSON-DWIW?expand=0&rev=4
2011-12-06 17:43:28 +00:00
2c29a571cf Autobuild autoformatter for 76585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-JSON-DWIW?expand=0&rev=2
2011-07-25 15:36:15 +00:00
7e06154068 Accepting request 76585 from devel:languages:perl
indirect dep of hermes

OBS-URL: https://build.opensuse.org/request/show/76585
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-JSON-DWIW?expand=0&rev=1
2011-07-25 15:36:04 +00:00
Stephan Kulow
ad20846726 - 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
2011-07-21 07:47:23 +00:00
Stephan Kulow
32627219d7 always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-DWIW?expand=0&rev=7
2010-12-03 14:39:24 +00:00
Stephan Kulow
803b23e5c8 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-DWIW?expand=0&rev=6
2010-11-30 19:26:40 +00:00
Stephan Kulow
7b9e7eb8fb - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-DWIW?expand=0&rev=5
2010-11-29 18:56:31 +00:00
Stephan Kulow
69efbcd74c add perl as explicit buildrequire
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-DWIW?expand=0&rev=4
2010-10-19 08:46:22 +00:00
Stephan Kulow
12ae1af1b0 disable test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-DWIW?expand=0&rev=3
2008-12-23 21:42:59 +00:00
Stephan Kulow
d1e71457b3 update to 0.28
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-DWIW?expand=0&rev=2
2008-12-23 16:33:38 +00:00
4 changed files with 85 additions and 38 deletions

View File

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

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

26
perl-JSON-DWIW.changes Normal file
View File

@@ -0,0 +1,26 @@
-------------------------------------------------------------------
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
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:20 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Tue Oct 19 08:38:42 UTC 2010 - coolo@novell.com
- add perl as explicit buildrequire
-------------------------------------------------------------------
Sun Oct 26 00:00:00 UTC 2008 - gerrit.beine@gmx.de
- first release 0.27

View File

@@ -1,53 +1,74 @@
%define cpan_name JSON-DWIW
#
# spec file for package perl-JSON-DWIW
#
# 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.27
Release: 1
Provides: %cpan_name
Requires: perl = %{perl_version}
Group: Development/Libraries/Perl
License: Artistic
URL: http://search.cpan.org/dist/JSON-DWIW/
Summary: JSON converter that Does What I Want
Source: %cpan_name-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-JSON-DWIW
Version: 0.47
Release: 1
License: GPL-1.0+ or Artistic-1.0
%define cpan_name JSON-DWIW
Summary: JSON converter that Does What I Want
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
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
make test
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
%{__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
/var/adm/perl-modules/%{name}
%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