Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
electronics
libsigrokdecode
libsigrokdecode.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libsigrokdecode.spec of Package libsigrokdecode
# # spec file for package libsigrokdecode # # Copyright (c) 2022 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: libsigrokdecode %define libname %{name}4 %define baseversion 0.5.3 Version: 0.5.3 Release: 0 Summary: Protocol Decoders for sigrok License: GPL-3.0-or-later Group: Productivity/Scientific/Electronics URL: https://sigrok.org/ Source0: https://sigrok.org/download/source/libsigrokdecode/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE Patch0: libsigrokdecode-versioned-decoders.patch # PATCH-FIX-OPENSUSE Patch1: 0001-Properly-detect-python-library-for-3.9.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: check-devel >= 0.9.4 BuildRequires: gcc-c++ BuildRequires: glib2-devel >= 2.24.0 BuildRequires: libsigrok-devel >= 0.3.0 BuildRequires: libtool BuildRequires: python3-devel >= 3.2 %description The sigrok project aims at creating a portable, cross-platform, Free/Libre/Open-Source logic analyzer software that supports various logic analyzer hardware products. libsigrokdecode is a shared library written in C which provides the basic API for running sigrok protocol decoders. The protocol decoders themselves are written in Python. %package -n %{libname} Summary: Protocol Decoder Library for sigrok Group: System/Libraries Requires: python3-base %description -n %{libname} The sigrok project aims at creating a portable, cross-platform, Free/Libre/Open-Source logic analyzer software that supports various logic analyzer hardware products. libsigrokdecode is a shared library written in C which provides the basic API for running sigrok protocol decoders. The protocol decoders themselves are written in Python. %package devel Summary: Protocol Decoder Library for sigrok Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: python3-devel %description devel The sigrok project aims at creating a portable, cross-platform, Free/Libre/Open-Source logic analyzer software that supports various logic analyzer hardware products. libsigrokdecode is a shared library written in C which provides the basic API for running sigrok protocol decoders. The protocol decoders themselves are written in Python. %prep %setup -q %autopatch -p1 %build autoreconf -fiv %configure \ --disable-static %make_build %install %make_install find %{buildroot} -type f -name "*.la" -delete -print %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %license COPYING %doc README HACKING NEWS %{_libdir}/*.so.* %{_datadir}/%{name}-%{baseversion}/ %files devel %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/* %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