libgpiod 2.0 RC1
This commit is contained in:
parent
3aba3c72cf
commit
0546ef38f8
11
fix-python-install.patch
Normal file
11
fix-python-install.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- libgpiod-2.0/bindings/python/Makefile.am.orig 2023-02-13 16:18:49.337516185 +0000
|
||||||
|
+++ libgpiod-2.0/bindings/python/Makefile.am 2023-02-13 16:19:08.952659326 +0000
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
|
||||||
|
install-exec-local:
|
||||||
|
GPIOD_WITH_TESTS= \
|
||||||
|
- $(PYTHON) $(srcdir)/setup.py install --prefix=$(prefix)
|
||||||
|
+ $(PYTHON) $(srcdir)/setup.py install --prefix=$(DESTDIR)$(prefix)
|
||||||
|
|
||||||
|
SUBDIRS = gpiod
|
||||||
|
|
@ -1,13 +1,14 @@
|
|||||||
#global candidate rc2
|
%global candidate rc1
|
||||||
|
|
||||||
Name: libgpiod
|
Name: libgpiod
|
||||||
Version: 1.6.4
|
Version: 2.0
|
||||||
Release: 1%{?candidate:.%{candidate}}%{?dist}
|
Release: 0.1%{?candidate:.%{candidate}}%{?dist}
|
||||||
Summary: C library and tools for interacting with linux GPIO char device
|
Summary: C library and tools for interacting with linux GPIO char device
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
|
URL: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/
|
||||||
Source0: https://mirrors.edge.kernel.org/pub/software/libs/%{name}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.xz
|
Source0: https://mirrors.edge.kernel.org/pub/software/libs/%{name}/%{name}-%{version}%{?candidate:-%{candidate}}.tar.xz
|
||||||
|
Patch0: fix-python-install.patch
|
||||||
|
|
||||||
BuildRequires: automake autoconf autoconf-archive libtool
|
BuildRequires: automake autoconf autoconf-archive libtool
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
@ -60,7 +61,7 @@ Requires: python3-%{name} = %{version}-%{release}
|
|||||||
Files for development with %{name}.
|
Files for development with %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}%{?candidate:-%{candidate}}
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
@ -85,19 +86,24 @@ find %{buildroot} -name '*.la' -delete
|
|||||||
|
|
||||||
%files utils
|
%files utils
|
||||||
%{_bindir}/gpio*
|
%{_bindir}/gpio*
|
||||||
|
%{_mandir}/man*/gpio*
|
||||||
|
|
||||||
%files c++
|
%files c++
|
||||||
%{_libdir}/libgpiodcxx.so.*
|
%{_libdir}/libgpiodcxx.so.*
|
||||||
|
|
||||||
%files -n python3-%{name}
|
%files -n python3-%{name}
|
||||||
%{python3_sitearch}/gpiod.so
|
%{python3_sitearch}/gpiod-*/
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/gpiod.*
|
%{_includedir}/gpiod.*
|
||||||
|
%{_includedir}/gpiodcxx/
|
||||||
%{_libdir}/pkgconfig/libgpiod*.pc
|
%{_libdir}/pkgconfig/libgpiod*.pc
|
||||||
%{_libdir}/%{name}*.so
|
%{_libdir}/%{name}*.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 13 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0-0.1.rc1
|
||||||
|
- Update to libgpiod 2.0 RC1
|
||||||
|
|
||||||
* Wed Feb 08 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.4-1
|
* Wed Feb 08 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.4-1
|
||||||
- Update to 1.6.4
|
- Update to 1.6.4
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libgpiod-1.6.4.tar.xz) = 23ea27147039ae34505263dbfbb3ca9985fc671d26e489ccaf150543d4e853f709393f46a8a5a1e682fa91378163bd2db6c689159ef73c3a8d1eeea422eacda0
|
SHA512 (libgpiod-2.0-rc1.tar.xz) = d8cd8c7c978fcb577cfec4d86e034d12e86078ff236e3404c73c0d6ed8d04984cc29063372ff097a4dd4356f5fdccc2e0eebce566ccaf4c830ba4030d226410d
|
||||||
|
Loading…
Reference in New Issue
Block a user