Package libgpiod: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | Name: libgpiod Version: 1.6.4 Release: alt1 Summary: Linux GPIO interacting library License: LGPL-2.1 Group: System/Libraries Url: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/ Source0: %name-%version-%release.tar BuildRequires: autoconf-archive gcc-c++ help2man BuildRequires: python3-devel python3-module-setuptools %package c++ Summary: C++ bindings for libgpiod Group: System/Libraries %package devel Summary: Linux GPIO interacting library Group: Development/C %package -n gpio-tools Summary: Linux GPIO interacting tools Group: System/Kernel and hardware Provides: libgpiod-utils = %EVR Obsoletes: libgpiod-utils %package -n python3-module-gpiod Summary: Python 3 bindings for %name Group: Development/Python3 Provides: python3-module-libgpiod = %EVR Obsoletes: python3-module-libgpiod %define desc C library and tools for interacting with the linux GPIO \ character device (gpiod stands for GPIO device).\ Since linux 4.8 the GPIO sysfs interface is deprecated. User space should use\ the character device instead. This library encapsulates the ioctl calls and\ data structures behind a straightforward API. %description %desc %description c++ %desc This package contains C++ bindings for libgpiod. %description devel %desc This package contains development part of libgpiod. %description -n gpio-tools %desc This package contains command-line tools. %description -n python3-module-gpiod %desc This package contains Python bindings for libgpiod. %prep %setup %build %autoreconf %configure --enable-tools \ --disable-static \ --enable-bindings-cxx \ --enable-bindings-python %make_build %install %makeinstall_std %files %doc COPYING README %_libdir/libgpiod.so.* %files c++ %_libdir/libgpiodcxx.so.* %files devel %_includedir/gpiod.h %_includedir/gpiod.hpp %_libdir/libgpiod.so %_libdir/libgpiodcxx.so %_pkgconfigdir/libgpiod.pc %_pkgconfigdir/libgpiodcxx.pc %files -n gpio-tools %doc COPYING NEWS README TODO %_bindir/gpio* %_man1dir/gpio*.1* %files -n python3-module-gpiod %python3_sitelibdir/gpiod.so %changelog * Fri Feb 10 2023 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.6.4-alt1 - 1.6.4 released * Fri Mar 26 2021 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.6.3-alt1 - 1.6.3 reelased * Mon Dec 21 2020 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.6.2-alt1 - 1.6.2 released * Wed Sep 23 2020 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.4.4-alt1 - 1.4.4 released * Thu Jan 16 2020 Anton Midyukov <antohami@altlinux.org> 1.4.1-alt1 - initial build for ALT |