Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-Jenkins-API
perl-Jenkins-API.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Jenkins-API.spec of Package perl-Jenkins-API
# # - Jenkins-API - # %define real_name Jenkins-API %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch) %define perl_archlib %(eval "`perl -V:archlib`"; echo $archlib) %define perl_privlib %(eval "`perl -V:privlib`"; echo $privlib) %define maketest 0 Name: perl-%{real_name} Summary: Jenkins::API - A wrapper around the Jenkins API Version: 0.04 Release: 1 License: Artistic/GPL Group: Applications/CPAN URL: http://www.cpan.org Source: http://search.cpan.org/CPAN/authors/id/N/NE/NEWELLC/%{real_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: perl(ExtUtils::MakeMaker) %if 0%{?fedora_version} BuildRequires: perl-devel %endif Requires: perl(JSON) perl(Jenkins::API) perl(Moose) %description This is a wrapper around the Jenkins API. %prep %setup -n %{real_name}-%{version} %clean %{__rm} -rf %{buildroot} %build export CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL --skipdeps `%{__perl} -MExtUtils::MakeMaker -e ' print qq|PREFIX=%{buildroot}%{_prefix}| if \$ExtUtils::MakeMaker::VERSION =~ /5\.9[1-6]|6\.0[0-5]/ '` %{__make} %{?_smp_mflags} %check %if %maketest %{__make} test %endif %install %if 0%{?suse_version} %perl_make_install %perl_process_packlist %else %{__make} DESTDIR=$RPM_BUILD_ROOT install_vendor find $RPM_BUILD_ROOT/usr -type f -name perllocal.pod |xargs -i rm -f {} find $RPM_BUILD_ROOT/usr -type d -depth -exec rmdir {} \; 2>/dev/null %endif find %{buildroot} -name "perllocal.pod" -o -name ".packlist" -o -name "*.bs" |xargs -i rm -f {} %files %defattr(-, root, root, 0755) %doc Changes README example MANIFEST %doc %{_mandir}/man?/* %dir %{perl_vendorlib}/Jenkins %{perl_vendorlib}/Jenkins/* %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Wed Mar 19 2014 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor