Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:osmocom:nightly
osmo-modbus
osmo-modbus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File osmo-modbus.spec of Package osmo-modbus
# # spec file for package osmo-modbus # # Copyright (c) 2020, Martin Hauke <mardnh@gmx.de> # # 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/ # %define sover 0 Name: osmo-modbus Version: 0.0.0+git.20210815 Release: 0 Summary: Osmocom Modbus interface library License: GPL-2.0-or-later Group: Development/Libraries/C and C++ URL: https://osmocom.org/projects/osmo-modbus/wiki Source: %{name}-%{version}.tar.xz BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: pkgconfig >= 0.20 BuildRequires: pkgconfig(libosmocore) >= 1.4.0 BuildRequires: pkgconfig(libosmovty) >= 1.4.0 %description A C-Language library providing an implementation and interface to manage a Modbus node in a Modbus bus. This library relies heavily on the libosmocore library and it is aimed at being used by applications using that same library. %package -n libosmo-modbus%{sover} Summary: Osmocom Modbus interface library Group: System/Libraries %description -n libosmo-modbus%{sover} Osmocom Modbus interface library. %package devel Summary: Development files for the Osmocom Modbus interface library Group: Development/Libraries/C and C++ Requires: libosmo-modbus%{sover} = %{version} %description devel Osmocom Modbus interface library. This subpackage contains libraries and header files for developing applications that want to make use of libosmo-modbus. %prep %setup -q %build echo "%{version}" >.tarball-version autoreconf -fiv %configure \ --enable-shared \ --disable-static %make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %check %make_build check || find . -name testsuite.log -exec cat {} + %post -n libosmo-modbus%{sover} -p /sbin/ldconfig %postun -n libosmo-modbus%{sover} -p /sbin/ldconfig %files %license COPYING %doc README.md %{_bindir}/crc16_rtu_gen %{_bindir}/modbus_rtu_master %{_bindir}/modbus_rtu_slave %files -n libosmo-modbus%{sover} %{_libdir}/libosmo-modbus.so.%{sover}* %files devel %dir %{_includedir}/osmocom %{_includedir}/osmocom/modbus %{_libdir}/libosmo-modbus.so %{_libdir}/pkgconfig/libosmo-modbus.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor