commit b8b63423ca0feae0f841dd53d808c91f65479cd7 Author: Massimo <massimo.paladin@xxxxxxxxx> Date: Fri Oct 19 14:43:37 2012 +0200 Initial import (#853124). .gitignore | 1 + sources | 1 + stompclt.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..eb5fe82 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/stompclt-0.5.tar.gz diff --git a/sources b/sources index e69de29..8d596d8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d2d4bf363dff1b80f152cc9caa50cf81 stompclt-0.5.tar.gz diff --git a/stompclt.spec b/stompclt.spec new file mode 100644 index 0000000..a62ebdc --- /dev/null +++ b/stompclt.spec @@ -0,0 +1,55 @@ +Summary: Versatile STOMP client +Name: stompclt +Version: 0.5 +Release: 2%{?dist} +URL: http://cern.ch/lionel.cons/perl/%{name}/ +License: GPL+ or Artistic +Group: Development/Libraries +Source0: http://cern.ch/lionel.cons/perl/%{name}/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +# the following one is in theory optional but really nice to have everywhere +Requires: perl(Directory::Queue) +# the other required Perl modules will be found by rpmbuild + +%description +stompclt is a versatile tool to interact with messaging brokers speaking +STOMP and/or message queues (see Messaging::Message::Queue) on disk. + +It receives messages (see Messaging::Message) from an incoming module, +optionally massaging them (i.e. filtering and/or modifying), and sends +them to an outgoing module. Depending on which modules are used, the tool +can perform different operations. + +%prep +%setup -q -n %{name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} + +%install +rm -rf %{buildroot} +%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -fv {} \; +find %{buildroot} -depth -type d -empty -exec rmdir -v {} \; +%{_fixperms} %{buildroot}/* + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.* + +%changelog +* Thu Oct 08 2012 Massimo Paladin <massimo.paladin@xxxxxxxxx> 0.5-2 +- Files section more precise. + +* Thu Aug 30 2012 Lionel Cons <lionel.cons@xxxxxxx> 0.5-1 +- First version packaged. -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel