Accepting request 227517 from home:mvyskocil

add activemq-cpp to d:l:c_c++

OBS-URL: https://build.opensuse.org/request/show/227517
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/activemq-cpp?expand=0&rev=1
This commit is contained in:
Ismail Dönmez
2014-03-26 18:35:19 +00:00
committed by Git OBS Bridge
commit 75006ee0d9
6 changed files with 161 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f9ef2824015d0840e114bc0df54a28d92604adad3e33e1301df93a77bd115da7
size 1569057

View File

@@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCgAGBQJSn4EbAAoJEBsWEgMBJnLrROIP/3Vv82YgKWnznU9rwNHwDeQi
EE1e3BZRqlYcSYhoki+h8eADyy86dAnx39Q4wHnlQTgKhWWQzqzUWFHVUveMpYU9
ouF5YTVwcHtljqk0spRdk+VtNHZLAfMocONaV1aFmMEOtx4R3gGljXXVUfr67ZVE
weTaDobG5ISGfUJryBIgPQCbYqfbqcZTAAPB4iCCz8HlR/Nbd5+aeeLYrjqYRrFZ
+VyruTH0cAYcWZhZNSSjMCtXd7MANHkAMlCNSN0lm+aOArHEMpHUps0t9yeAI0rm
ItzkNFJR/RB8C3oTcefzjZCvvNLyx5qMEkmdlwFx2VHqmUQuHNaAdxjOebo9HVT+
qOiRjZFn4o9yrxB2CmPPOoHX9Wm64OrMtv3CJs2w/AdpHQgMR5qB1K3AxK/NIZI/
Qv7sBoOqTof6l0j3PlQ00zBp+EmJL+nZcfxbsWvzHbz0JgyIwOrnOWZbi6tv0vSO
dKscJcs+eVwFObM8uISTHfDlskd0l2GybKP1Vg6pOg3m6sSPfbqeg3nu1i0xWN9x
sQYoAZBhYCETzeh8JOi+ofL600v5L2eM04zPdxssfFiOnFMzTAAwHFr3ruaGDo8Z
pkcH5423qLRqLxkPTtOUGdomMKnIl9+vTTm+FmjfBLRLptSEaoNPaA+z1LRIp7SV
tOMmeNAnMwY2aNBZdxms
=lMz/
-----END PGP SIGNATURE-----

5
activemq-cpp.changes Normal file
View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Mar 26 08:22:49 UTC 2014 - mvyskocil@opensuse.org
- Package activemq-cpp for openSUSE

112
activemq-cpp.spec Normal file
View File

@@ -0,0 +1,112 @@
#
# spec file for package
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%global soname libactivemq-cpp18
Name: activemq-cpp
Version: 3.8.2
Release: 1
License: Apache-2.0
Summary: C++ Messaging Service library
Url: https://activemq.apache.org/cms/index.html
Group: Development/Libraries/C_C++
Source0: %{name}-library-%{version}-src.tar.bz2
Source1: %{name}-library-%{version}-src.tar.bz2.asc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
BuildRequires: doxygen
BuildRequires: pkgconfig(cppunit)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(apr-1)
BuildRequires: pkg-config
BuildRequires: perl
BuildRequires: graphviz
%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}
Summary: Shared Library for %{name}
%description -n %{soname}
Shared Library for %{name}.
%package devel
Summary: Devel files for %{name}
Requires: %{soname} = %{version}
%description devel
Headers, so file and pkg-config files for %{name}.
%package doc
Summary: Documentation for %{name}
Group: Documentation/HTML
%description doc
Doxygen documentation for %{name}.
%prep
%setup -q -n %{name}-library-%{version}
chmod a-x LICENSE.txt
%build
%configure
make %{?_smp_mflags}
make doxygen-run
%install
%make_install
rm -rf %{buildroot}/%{_libdir}/*.a
rm -rf %{buildroot}/%{_libdir}/*.la
%check
make check
%post -n %{soname} -p /sbin/ldconfig
%postun -n %{soname} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt
%{_bindir}/activemqcpp-config
%{_bindir}/example
%files -n %{soname}
%defattr(-,root,root)
%doc LICENSE.txt
%{_libdir}/libactivemq-cpp.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}-%{version}/
%{_libdir}/libactivemq-cpp.so
%{_libdir}/pkgconfig/activemq-cpp.pc
%files doc
%defattr(-,root,root)
%doc doc/html
%changelog