2017-04-18 09:07:53 +00:00
|
|
|
#
|
|
|
|
# spec file for package nanomsg
|
|
|
|
#
|
2022-12-05 19:04:34 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2024-02-05 08:40:21 +00:00
|
|
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
2017-04-18 09:07:53 +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.
|
|
|
|
|
2020-03-31 08:04:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-04-18 09:07:53 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2022-12-05 19:04:34 +00:00
|
|
|
%define sover 6
|
2017-04-18 09:07:53 +00:00
|
|
|
Name: nanomsg
|
2024-02-05 08:40:21 +00:00
|
|
|
Version: 1.2.1
|
2017-04-18 09:07:53 +00:00
|
|
|
Release: 0
|
2017-04-28 20:27:02 +00:00
|
|
|
Summary: Socket library providing several common communication patterns
|
2017-04-18 09:07:53 +00:00
|
|
|
License: MIT
|
|
|
|
Group: Development/Languages/C and C++
|
2022-12-05 19:04:34 +00:00
|
|
|
URL: https://nanomsg.org/
|
2017-04-29 08:44:04 +00:00
|
|
|
Source: https://github.com/nanomsg/nanomsg/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2020-03-31 08:04:27 +00:00
|
|
|
Patch0: nanomsg-fix-rpath-issue.patch
|
2017-04-18 09:07:53 +00:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
|
|
|
%description
|
2017-04-28 20:27:02 +00:00
|
|
|
nanomsg is a C socket library providing several common communication
|
|
|
|
patterns.
|
2017-04-18 09:07:53 +00:00
|
|
|
|
|
|
|
%package -n libnanomsg%{sover}
|
|
|
|
Summary: Shared library for nanomsg
|
2017-04-28 20:27:02 +00:00
|
|
|
Group: System/Libraries
|
2017-04-18 09:07:53 +00:00
|
|
|
|
|
|
|
%description -n libnanomsg%{sover}
|
2017-04-28 20:27:02 +00:00
|
|
|
nanomsg is a C socket library providing several common communication
|
|
|
|
patterns.
|
2017-04-18 09:07:53 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files for nanomsg
|
2017-04-28 20:27:02 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2017-04-18 09:07:53 +00:00
|
|
|
Requires: libnanomsg%{sover} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
2017-04-28 20:27:02 +00:00
|
|
|
Development and header files for nanomsg.
|
2017-04-18 09:07:53 +00:00
|
|
|
|
|
|
|
%prep
|
2024-02-05 08:40:21 +00:00
|
|
|
%autosetup -p1
|
2017-04-18 09:07:53 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake
|
2024-02-05 08:40:21 +00:00
|
|
|
%make_build
|
2017-04-18 09:07:53 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
2024-02-05 08:40:21 +00:00
|
|
|
%check
|
|
|
|
%ctest
|
|
|
|
|
|
|
|
%ldconfig_scriptlets -n libnanomsg%{sover}
|
2017-04-18 09:07:53 +00:00
|
|
|
|
|
|
|
%files -n libnanomsg%{sover}
|
2018-06-04 08:05:28 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc RELEASING AUTHORS README.md
|
2017-04-18 09:07:53 +00:00
|
|
|
%{_libdir}/libnanomsg.so.*
|
|
|
|
|
|
|
|
%files devel
|
2024-02-05 08:40:21 +00:00
|
|
|
%license COPYING
|
2017-04-18 09:07:53 +00:00
|
|
|
%{_includedir}/nanomsg
|
|
|
|
%{_libdir}/libnanomsg.so
|
|
|
|
%{_bindir}/nanocat
|
|
|
|
%{_libdir}/pkgconfig/nanomsg.pc
|
2024-02-05 08:40:21 +00:00
|
|
|
%{_libdir}/cmake/nanomsg-*
|
2017-04-18 09:07:53 +00:00
|
|
|
|
|
|
|
%changelog
|