Permalink
Browse files

addeed jzmq spec for storm

  • Loading branch information...
nmilford committed Jun 12, 2012
1 parent cf3c0fc commit 4a1fdd0d04d632d72b6df782fb62927a2bf65c58
Showing with 87 additions and 0 deletions.
  1. +87 −0 storm-0.7/jzmq-2.1.0.spec
View
@@ -0,0 +1,87 @@
+# wget https://github.com/nathanmarz/jzmq/tarball/master -O ~/rpmbuild/SOURCES/jzmq-2.1.0.tar.gz
+
+Name: jzmq
+Version: 2.1.0
+Release: storm1%{?dist}
+Summary: The Java ZeroMQ bindings
+Group: Applications/Internet
+License: LGPLv3+
+URL: http://www.zeromq.org/
+Source: %{name}-%{version}.tar.gz
+Prefix: %{_prefix}
+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: gcc, make, gcc-c++, libstdc++-devel
+Requires: libstdc++, zeromq
+
+%description
+The 0MQ lightweight messaging kernel is a library which extends the
+standard socket interfaces with features traditionally provided by
+specialised messaging middleware products. 0MQ sockets provide an
+abstraction of asynchronous message queues, multiple messaging
+patterns, message filtering (subscriptions), seamless access to
+multiple transport protocols and more.
+
+This package contains the Java Bindings for ZeroMQ.
+
+%package devel
+Summary: Development files and static library for the Java Bindings for the ZeroMQ library.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}, pkgconfig
+
+%description devel
+The 0MQ lightweight messaging kernel is a library which extends the
+standard socket interfaces with features traditionally provided by
+specialised messaging middleware products. 0MQ sockets provide an
+abstraction of asynchronous message queues, multiple messaging
+patterns, message filtering (subscriptions), seamless access to
+multiple transport protocols and more.
+
+This package contains Java Bindings for ZeroMQ related development libraries and header files.
+
+%prep
+%setup -n nathanmarz-jzmq-dd3327d
+
+%build
+./autogen.sh
+%configure
+
+%{__make}
+
+%install
+[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
+
+# Install the package to build area
+%makeinstall
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%clean
+[ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+
+# docs in the main package
+%doc AUTHORS ChangeLog COPYING COPYING.LESSER NEWS README
+
+# libraries
+%{_libdir}/libjzmq.so*
+/usr/share/java/zmq.jar
+
+%files devel
+%defattr(-,root,root,-)
+%{_libdir}/libjzmq.la
+%{_libdir}/libjzmq.a
+
+%changelog
+* Mon Jun 11 2012 Nathan Milford <nathan@milford.io>
+- Tweaked to work with Nathan Marz's github fork for use with Storm.
+* Thu Dec 09 2010 Alois Belaska <alois.belaska@gmail.com>
+- version of package changed to 2.1.0
+* Tue Sep 21 2010 Stefan Majer <stefan.majer@gmail.com>
+- Initial packaging
+

0 comments on commit 4a1fdd0

Please sign in to comment.