update to 0.2 from git 2059570
This commit is contained in:
parent
2da72a993f
commit
c3bdffba7a
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
|||||||
|
*spec~
|
||||||
/6fb87d6eb01b.tar.bz2
|
/6fb87d6eb01b.tar.bz2
|
||||||
/fb6fca832fd2.tar.bz2
|
/fb6fca832fd2.tar.bz2
|
||||||
|
/alanxz-rabbitmq-c-0.2-69-g2059570.tar.gz
|
||||||
|
/db13342f2443.tar.bz2
|
||||||
|
@ -1,15 +1,18 @@
|
|||||||
%global client_tag fb6fca832fd2
|
%global client_tag 2059570
|
||||||
%global codegen_tag 6fb87d6eb01b
|
%global codegen_tag db13342f2443
|
||||||
|
|
||||||
Name: librabbitmq
|
Name: librabbitmq
|
||||||
Summary: Client library and command line tools for AMPQ
|
Summary: Client library and command line tools for AMPQ
|
||||||
Version: 0.1
|
Version: 0.2
|
||||||
Release: 0.3.hg%{client_tag}%{?dist}
|
Release: 0.1.git%{client_tag}%{?dist}
|
||||||
License: MPLv1.1 or GPLv2+
|
# client and amqp-rabbitmq-0.9.1.json are MIT
|
||||||
|
# codegen MPLv1.1 (but only used during build)
|
||||||
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.rabbitmq.com/
|
URL: https://github.com/alanxz/rabbitmq-c
|
||||||
|
|
||||||
Source0: http://hg.rabbitmq.com/rabbitmq-c/archive/%{client_tag}.tar.bz2
|
# https://nodeload.github.com/alanxz/rabbitmq-c/tarball/master
|
||||||
|
Source0: alanxz-rabbitmq-c-%{version}-69-g%{client_tag}.tar.gz
|
||||||
Source1: http://hg.rabbitmq.com/rabbitmq-codegen/archive/%{codegen_tag}.tar.bz2
|
Source1: http://hg.rabbitmq.com/rabbitmq-codegen/archive/%{codegen_tag}.tar.bz2
|
||||||
|
|
||||||
|
|
||||||
@ -51,10 +54,8 @@ for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -qc -a 1
|
%setup -qc -a 1
|
||||||
|
|
||||||
mv rabbitmq-c-%{client_tag} rabbitmq-c
|
mv alanxz-rabbitmq-c-%{client_tag} rabbitmq-c
|
||||||
|
mv rabbitmq-codegen-%{codegen_tag}/* rabbitmq-c/codegen
|
||||||
mv rabbitmq-codegen-%{codegen_tag} rabbitmq-codegen
|
|
||||||
ln rabbitmq-codegen/amqp-rabbitmq-0.9.1.json rabbitmq-codegen/amqp-0.9.1.json
|
|
||||||
|
|
||||||
# Copy sources to be included in -devel docs.
|
# Copy sources to be included in -devel docs.
|
||||||
cp -pr rabbitmq-c/examples examples
|
cp -pr rabbitmq-c/examples examples
|
||||||
@ -63,7 +64,7 @@ cp -pr rabbitmq-c/examples examples
|
|||||||
%build
|
%build
|
||||||
cd rabbitmq-c
|
cd rabbitmq-c
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
%configure
|
%configure --enable-tools --enable-docs
|
||||||
make %{_smp_mflags}
|
make %{_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
@ -72,7 +73,7 @@ rm -rf %{buildroot}
|
|||||||
cd rabbitmq-c
|
cd rabbitmq-c
|
||||||
make install DESTDIR="%{buildroot}"
|
make install DESTDIR="%{buildroot}"
|
||||||
|
|
||||||
rm %{buildroot}%{_libdir}/%{name}.{a,la}
|
rm %{buildroot}%{_libdir}/%{name}.la
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -92,7 +93,7 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (-,root,root,-)
|
%defattr (-,root,root,-)
|
||||||
%doc rabbitmq-c/{AUTHORS,COPYING,README,THANKS,TODO,LICENSE*}
|
%doc rabbitmq-c/{AUTHORS,README.md,THANKS,TODO,LICENSE*}
|
||||||
%{_libdir}/%{name}.so.*
|
%{_libdir}/%{name}.so.*
|
||||||
%{_bindir}/amqp*
|
%{_bindir}/amqp*
|
||||||
%{_mandir}/man1/amqp*
|
%{_mandir}/man1/amqp*
|
||||||
@ -104,9 +105,14 @@ rm -rf %{buildroot}
|
|||||||
%doc examples
|
%doc examples
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_includedir}/amqp*
|
%{_includedir}/amqp*
|
||||||
|
%{_libdir}/pkgconfig/librabbitmq.pc
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 01 2012 Remi Collet <remi@fedoraproject.org> - 0.2-0.1.git2059570
|
||||||
|
- update to latest snapshot (version 0.2, moved to github)
|
||||||
|
- License is now MIT
|
||||||
|
|
||||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.hgfb6fca832fd2
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.hgfb6fca832fd2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user