Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:Perl
perl-Net-STOMP
perl-Net-Stomp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Net-Stomp.spec of Package perl-Net-STOMP
# # spec file for package perl-Net-Stomp # # norootforbuild %define real_name Net-Stomp %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: Net::Stomp - A Streaming Text Orientated Messaging Protocol Client Version: 0.45 Release: 1 AutoReqProv: on Group: Development/Libraries/Perl License: Artistic Url: http://search.cpan.org/perldoc?Net::Stomp Source: %{real_name}-%{version}.tar.gz Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: perl(IO::Select) perl(IO::Socket::INET) BuildRequires: perl(ExtUtils::MakeMaker) %if 0%{?fedora_version} BuildRequires: perl-devel %endif %description This module allows you to write a Stomp client. Stomp is the Streaming Text Orientated Messaging Protocol (or the Protocol Briefly Known as TTMP and Represented by the symbol :ttmp). It's a simple and easy to implement protocol for working with Message Orientated Middleware from any language. Net::Stomp is useful for talking to Apache ActiveMQ, an open source (Apache 2.0 licensed) Java Message Service 1.1 (JMS) message broker packed with many enterprise features. %prep %setup -q -n %{real_name}-%{version} chmod -R u+w %{_builddir}/%{real_name}-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL `%{__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 {} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES README examples %doc %{_mandir}/man?/* %dir %{perl_vendorlib}/Net %{perl_vendorlib}/Net %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog * Fri Dec 7 2012 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