cleanups
This commit is contained in:
parent
b3e5b43a15
commit
8156fb7afc
@ -1,22 +1,17 @@
|
|||||||
Name: librabbitmq
|
Name: librabbitmq
|
||||||
Summary: Client library and command line tools for AMQP
|
Summary: Client library for AMQP
|
||||||
Version: 0.3.0
|
Version: 0.3.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: https://github.com/alanxz/rabbitmq-c
|
URL: https://github.com/alanxz/rabbitmq-c
|
||||||
|
|
||||||
Source0: https://github.com/alanxz/rabbitmq-c/archive/rabbitmq-c-v%{version}.tar.gz
|
Source0: https://github.com/alanxz/rabbitmq-c/archive/rabbitmq-c-v%{version}.tar.gz
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: python-simplejson
|
BuildRequires: python-simplejson
|
||||||
# For tools
|
# For tools
|
||||||
%if 0%{?rhel} == 5
|
|
||||||
BuildRequires: popt
|
|
||||||
%else
|
|
||||||
BuildRequires: popt-devel
|
BuildRequires: popt-devel
|
||||||
%endif
|
|
||||||
# For man page
|
# For man page
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
|
||||||
@ -66,7 +61,6 @@ make %{_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make install DESTDIR="%{buildroot}"
|
make install DESTDIR="%{buildroot}"
|
||||||
|
|
||||||
rm %{buildroot}%{_libdir}/%{name}.la
|
rm %{buildroot}%{_libdir}/%{name}.la
|
||||||
@ -76,37 +70,32 @@ rm %{buildroot}%{_libdir}/%{name}.la
|
|||||||
make check
|
make check
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (-,root,root,-)
|
|
||||||
%doc AUTHORS README.md THANKS TODO LICENSE-MIT
|
%doc AUTHORS README.md THANKS TODO LICENSE-MIT
|
||||||
%{_libdir}/%{name}.so.1*
|
%{_libdir}/%{name}.so.1*
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (-,root,root,-)
|
|
||||||
%doc Examples
|
%doc Examples
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_includedir}/amqp*
|
%{_includedir}/amqp*
|
||||||
%{_libdir}/pkgconfig/librabbitmq.pc
|
%{_libdir}/pkgconfig/librabbitmq.pc
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/amqp-*
|
%{_bindir}/amqp-*
|
||||||
%doc %{_mandir}/man1/amqp-*.1*
|
%doc %{_mandir}/man1/amqp-*.1*
|
||||||
%doc %{_mandir}/man7/librabbitmq-tools.7.gz
|
%doc %{_mandir}/man7/librabbitmq-tools.7.gz
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 1 2013 Remi Collet <remi@fedoraproject.org> - 0.3.0-3
|
||||||
|
- cleanups
|
||||||
|
|
||||||
* Wed Mar 13 2013 Remi Collet <remi@fedoraproject.org> - 0.3.0-2
|
* Wed Mar 13 2013 Remi Collet <remi@fedoraproject.org> - 0.3.0-2
|
||||||
- remove tools from main package
|
- remove tools from main package
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user