automatic update by autodist [release 2.61-1mamba;Thu Oct 24 2013]
This commit is contained in:
parent
6eb9ca377d
commit
3585ec1211
@ -1,2 +1,4 @@
|
||||
# perl-JSON
|
||||
|
||||
JSON - JSON (JavaScript Object Notation) encoder/decoder
|
||||
|
||||
|
76
perl-JSON.spec
Normal file
76
perl-JSON.spec
Normal file
@ -0,0 +1,76 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-JSON
|
||||
Version: 2.61
|
||||
Release: 1mamba
|
||||
Summary: JSON - JSON (JavaScript Object Notation) encoder/decoder
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
|
||||
License: GPL, Artistic
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: perl-devel
|
||||
Requires: perl >= %perl_major_ver
|
||||
Provides: perl(JSON::backportPP)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
JSON - JSON (JavaScript Object Notation) encoder/decoder
|
||||
|
||||
%prep
|
||||
%setup -q -n JSON-%{version}
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
|
||||
%make
|
||||
%make test
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall_perl
|
||||
|
||||
packlist=`find %{buildroot} -name .packlist`
|
||||
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
||||
sort -u > .packlist && rm -f $packlist
|
||||
|
||||
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||
done
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files -f .packlist
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
|
||||
%changelog
|
||||
* Thu Oct 24 2013 Automatic Build System <autodist@mambasoft.it> 2.61-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Mon Jun 10 2013 Automatic Build System <autodist@mambasoft.it> 2.59-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 26 2013 Automatic Build System <autodist@mambasoft.it> 2.58-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sat Apr 06 2013 Automatic Build System <autodist@mambasoft.it> 2.57-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.53-3mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Thu Jun 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.53-2mamba
|
||||
- provide perl(JSON::backportPP)
|
||||
|
||||
* Wed Jun 08 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.53-1mamba
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user