Created
February 19, 2012 18:46
-
-
Save bodgit/1865130 to your computer and use it in GitHub Desktop.
RPM spec for RabbitMQ C library
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name : librabbitmq | |
Version : 0.0.1 | |
Release : 2.20120121hg281 | |
Summary : RabbitMQ C AMQP client library | |
Group : Development/Libraries | |
Source0 : %{name}-%{version}.tar.gz | |
URL : http://www.rabbitmq.com/c-client.html | |
License : GPLv2 | |
Packager : Matt Dainty <matt@bodgit-n-scarper.com> | |
BuildRoot : %{_tmppath}/%{name}-%{version}-root | |
%if %{?el5:1}0 | |
BuildRequires : popt | |
BuildRequires : python-simplejson | |
%else | |
BuildRequires : popt-devel | |
%endif | |
BuildRequires : xmlto | |
%description | |
RabbitMQ C AMQP client library | |
%package devel | |
Summary: Development files for the librabbitmq package | |
Group: Development/Libraries | |
Requires: %{name} = %{version} | |
%description devel | |
RabbitMQ C AMQP client library. This package contains files needed to | |
develop applications using librabbitmq. | |
%package tools | |
Summary: Example tools built using the librabbitmq package | |
Group: Development/Libraries | |
Requires: %{name} = %{version} | |
%description tools | |
RabbitMQ C AMQP client library. This package contains example tools | |
built using librabbitmq. | |
%prep | |
%setup -q | |
%build | |
%configure | |
%{__make} %{?_smp_mflags} | |
%install | |
%{__rm} -rf %{buildroot} | |
%makeinstall | |
%clean | |
%{__rm} -rf %{buildroot} | |
%files | |
%defattr(-,root,root) | |
%doc AUTHORS COPYING README THANKS TODO | |
%{_libdir}/librabbitmq.so.* | |
%files devel | |
%defattr(-,root,root) | |
%{_libdir}/librabbitmq.a | |
%{_libdir}/librabbitmq.la | |
%{_libdir}/librabbitmq.so | |
%{_includedir}/amqp.h | |
%{_includedir}/amqp_framing.h | |
%files tools | |
%defattr(-,root,root) | |
%{_bindir}/amqp-* | |
%doc %{_mandir}/man1/amqp-*.1* | |
%doc %{_mandir}/man7/librabbitmq-tools.7.gz | |
%changelog | |
* Sun Feb 19 2012 Matt Dainty <matt@bodgit-n-scarper.com> 0.0.1-2.20120121hg281 | |
- Fix build dependency for el5. | |
* Sat Jan 21 2012 Matt Dainty <matt@bodgit-n-scarper.com> 0.0.1-1.20120121hg281 | |
- Initial version 0.0.1-1.20120121hg281. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment