Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > 13d9b61dd549c3193bc7e18bfa4749f4 > files > 2

perl-qpid-0.18-3.fc16.src.rpm

Name:           perl-qpid
Version:        0.18
Release:        3%{?dist}
Summary:        Perl bindings for the Qpid messaging framework

License:        ASL 2.0
URL:            http://qpid.apache.org
Source0:        http://mcpierce.fedorapeople.org/sources/perl-qpid-%{version}.tar.gz

BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  qpid-cpp-client-devel = %{version}
BuildRequires:  swig

%{?perl_default_filter}

Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires:       qpid-cpp-client = %{version}

%description
%{summary}.


%prep
%setup -q
# create the language bindings
swig -perl -c++ -I/usr/include -o cqpid_perl.cpp perl.i


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT

make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} $RPM_BUILD_ROOT/*


%check
make test


%files
%{perl_vendorarch}/*
%doc LICENSE
%exclude %dir %{perl_vendorarch}/auto/
%doc examples


%changelog
* Thu Sep 27 2012 Darryl L. Pierce <dpierce@redhat.com> - 0.18-3
- Bumped release once more to equal the current qpid-cpp release.

* Thu Sep 27 2012 Darryl L. Pierce <dpierce@redhat.com> - 0.18-2
- Bumped release to be greater than the qpid-cpp version.
- qpid-cpp still had a perl-qpid subpackage that colleged with this one.

* Mon Sep 17 2012 Darryl L. Pierce <dpierce@redhat.com> - 0.18-1
- Rebased on Qpid 0.18.

* Fri Aug 10 2012 Darryl L. Pierce <dpierce@redhat.com> - 0.16-1.2
- Fixed removed split on vendor arch path.
- Removed defattr from files section.

* Fri Jun 29 2012 Darryl L. Pierce <dpierce@redhat.com> - 0.16-1.1
- Removed the noarch comments from the build and install sections.
- Removed the empty doc line.
- Made the examples directory a doc element.

* Mon Jun 18 2012 Darryl L. Pierce <dpierce@redhat.com> - 0.16-1
- Initial package based on the Perl-only source release.