2014-03-26 18:35:19 +00:00
|
|
|
#
|
2021-02-13 09:07:17 +00:00
|
|
|
# spec file for package activemq-cpp
|
2014-03-26 18:35:19 +00:00
|
|
|
#
|
2021-02-13 09:07:17 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-03-26 18:35:19 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2021-02-13 09:07:17 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-03-26 18:35:19 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-02-13 09:07:17 +00:00
|
|
|
%global soname libactivemq-cpp19
|
2014-03-26 18:35:19 +00:00
|
|
|
Name: activemq-cpp
|
2021-02-13 09:07:17 +00:00
|
|
|
Version: 3.9.5
|
|
|
|
Release: 0
|
|
|
|
Summary: C++ Messaging Service library
|
|
|
|
License: Apache-2.0
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
URL: https://activemq.apache.org/cms/index.html
|
|
|
|
Source0: https://downloads.apache.org/activemq/%{name}/%{version}/%{name}-library-%{version}-src.tar.bz2
|
|
|
|
Source1: https://downloads.apache.org/activemq/%{name}/%{version}/%{name}-library-%{version}-src.tar.bz2.asc
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: pkgconfig(apr-1)
|
|
|
|
BuildRequires: pkgconfig(cppunit)
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
CMS (stands for C++ Messaging Service) is a JMS-like API for C++
|
|
|
|
for interfacing with Message Brokers such as Apache ActiveMQ. CMS
|
|
|
|
helps to make your C++ client code much neater and easier to follow.
|
|
|
|
To get a better feel for CMS try the API Reference. ActiveMQ-CPP is
|
|
|
|
a client only library, a message broker such as Apache ActiveMQ is still
|
|
|
|
needed for your clients to communicate.
|
|
|
|
|
|
|
|
%package -n %{soname}
|
2021-02-13 09:07:17 +00:00
|
|
|
Summary: Shared Library for activemq-cpp
|
2015-01-16 13:24:01 +00:00
|
|
|
Group: System/Libraries
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%description -n %{soname}
|
2021-02-13 09:07:17 +00:00
|
|
|
Shared Library for activemq-cpp.
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%package devel
|
2021-02-13 09:07:17 +00:00
|
|
|
Summary: Devel files for activemq-cpp
|
2015-01-16 13:24:01 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-02-13 09:07:17 +00:00
|
|
|
Requires: %{soname} = %{version}
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%description devel
|
2021-02-13 09:07:17 +00:00
|
|
|
Headers, so file and pkg-config files for activemq-cpp.
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%package doc
|
2021-02-13 09:07:17 +00:00
|
|
|
Summary: Documentation for activemq-cpp
|
|
|
|
Group: Documentation/HTML
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%description doc
|
2021-02-13 09:07:17 +00:00
|
|
|
Doxygen documentation for activemq-cpp.
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-library-%{version}
|
|
|
|
|
|
|
|
chmod a-x LICENSE.txt
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2021-02-13 09:07:17 +00:00
|
|
|
make %{?_smp_mflags} doxygen-run
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/*.a
|
2021-02-13 09:07:17 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%check
|
2021-02-13 09:07:17 +00:00
|
|
|
make %{?_smp_mflags} check
|
2014-03-26 18:35:19 +00:00
|
|
|
|
|
|
|
%post -n %{soname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{soname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2021-02-13 09:07:17 +00:00
|
|
|
%license LICENSE.txt
|
|
|
|
%doc NOTICE.txt README.txt RELEASE_NOTES.txt
|
2014-03-26 18:35:19 +00:00
|
|
|
%{_bindir}/activemqcpp-config
|
|
|
|
%{_bindir}/example
|
|
|
|
|
|
|
|
%files -n %{soname}
|
2021-02-13 09:07:17 +00:00
|
|
|
%license LICENSE.txt
|
2014-03-26 18:35:19 +00:00
|
|
|
%{_libdir}/libactivemq-cpp.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/%{name}-%{version}/
|
|
|
|
%{_libdir}/libactivemq-cpp.so
|
|
|
|
%{_libdir}/pkgconfig/activemq-cpp.pc
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc doc/html
|
|
|
|
|
|
|
|
%changelog
|