rabbitmq-c/rabbitmq-c.spec

93 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: rabbitmq-c
Version: 0.15.0
Release: 1mamba
Summary: RabbitMQ C AMQP client library
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/alanxz/rabbitmq-c
Source: https://github.com/alanxz/rabbitmq-c.git/v%{version}/rabbitmq-c-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
RabbitMQ C AMQP client library.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Obsoletes: rabbitmq-c < 0.12.0
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
#%files
#%defattr(-,root,root)
#%{_bindir}/amqp-*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/librabbitmq.so.*
%doc AUTHORS THANKS
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/amqp*.h
%dir %{_includedir}/rabbitmq-c
%{_includedir}/rabbitmq-c/*.h
%{_libdir}/librabbitmq.a
%{_libdir}/librabbitmq.so
%{_libdir}/pkgconfig/librabbitmq.pc
%dir %{_libdir}/cmake/rabbitmq-c
%{_libdir}/cmake/rabbitmq-c/rabbitmq-*.cmake
%doc ChangeLog.md README.md
%changelog
* Fri Nov 22 2024 Automatic Build System <autodist@openmamba.org> 0.15.0-1mamba
- automatic version update by autodist
* Sun Mar 24 2024 Automatic Build System <autodist@openmamba.org> 0.14.0-1mamba
- automatic update by autodist
* Thu Feb 09 2023 Automatic Build System <autodist@mambasoft.it> 0.13.0-1mamba
- automatic version update by autodist
* Sat Feb 04 2023 Automatic Build System <autodist@mambasoft.it> 0.12.0-1mamba
- automatic version update by autodist
* Fri May 06 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.0-1mamba
- package created using the webbuild interface