Compare commits

...

No commits in common. "c9-beta" and "c10s" have entirely different histories.

4 changed files with 102 additions and 11 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/libgpiod-1.6.3.tar.xz /libgpiod-*.tar.gz
/libgpiod-*.tar.xz

View File

@ -1 +0,0 @@
e207658e2809b7fdd267373d2335b84b674698fd SOURCES/libgpiod-1.6.3.tar.xz

View File

@ -1,24 +1,25 @@
#global candidate rc2 #global candidate rc3
Name: libgpiod Name: libgpiod
Version: 1.6.3 Version: 2.1.3
Release: 1%{?candidate:.%{candidate}}%{?dist} Release: 2%{?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: LGPL-2.1-or-later
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
BuildRequires: automake autoconf autoconf-archive libtool BuildRequires: automake autoconf autoconf-archive libtool
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: gcc gcc-c++ BuildRequires: gcc gcc-c++
BuildRequires: help2man
BuildRequires: kernel-headers BuildRequires: kernel-headers
BuildRequires: kmod-devel BuildRequires: kmod-devel
BuildRequires: libstdc++-devel BuildRequires: libstdc++-devel
BuildRequires: make
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: systemd-devel BuildRequires: systemd-devel
BuildRequires: make
%description %description
libgpiod is a C library and tools for interacting with the linux GPIO character libgpiod is a C library and tools for interacting with the linux GPIO character
@ -30,6 +31,7 @@ open-source and open-drain GPIOs).
%package utils %package utils
Summary: Utilities for GPIO Summary: Utilities for GPIO
License: GPL-2.0-or-later
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils %description utils
@ -53,12 +55,18 @@ Python 3 bindings for development with %{name}.
%package devel %package devel
Summary: Development package for %{name} Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-c++ = %{version}-%{release}
Requires: python3-%{name} = %{version}-%{release}
%description devel %description devel
Files for development with %{name}. Files for development with %{name}.
%prep %prep
%setup -q -n %{name}-%{version}%{?candidate:-%{candidate}} %autosetup -p1
# to prevent setuptools from installing an .egg, we need to pass --root to setup.py install
# see https://github.com/pypa/setuptools/issues/3143
# and https://github.com/pypa/pip/issues/11501
sed -i 's/--prefix=$(DESTDIR)$(prefix)/--root=$(DESTDIR) --prefix=$(prefix)/' bindings/python/Makefile*
%build %build
autoreconf -vif autoreconf -vif
@ -79,23 +87,105 @@ find %{buildroot} -name '*.la' -delete
%files %files
%license COPYING %license COPYING
%doc README %doc README
%{_libdir}/%{name}.so.* %{_libdir}/%{name}.so.3*
%files utils %files utils
%{_bindir}/gpio* %{_bindir}/gpio*
%{_mandir}/man*/gpio*
%files c++ %files c++
%{_libdir}/libgpiodcxx.so.* %{_libdir}/libgpiodcxx.so.2*
%files -n python3-%{name} %files -n python3-%{name}
%{python3_sitearch}/gpiod.so %{python3_sitearch}/gpiod/
%{python3_sitearch}/gpiod-*.egg-info/
%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
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.1.3-2
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Thu Aug 01 2024 Iker Pedrosa <ipedrosa@redhat.com> - 2.1.3-1
- Update to 2.1.3
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.1-5
- Bump release for June 2024 mass rebuild
* Mon Jan 29 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Nov 03 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.1-1
- Update to 2.1
* Fri Aug 25 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.2-1
- Update to 2.02
* Thu Jul 27 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.1-5
- migrated to SPDX license
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.0.1-3
- Rebuilt for Python 3.12
* Tue Apr 25 2023 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-2
- Don't install a Python .egg
* Tue Apr 11 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0.1-1
- Update to 2.0.1
* Thu Mar 02 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0-1
- Update to 2.0
* Mon Feb 27 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0-0.4.rc3
- libgpiod 2.0 RC3
* Thu Feb 16 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0-0.3.rc2
- libgpiod 2.0 RC2
* Mon Feb 13 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 2.0-0.2.rc1
- Add deps for man pages build
* 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
- Update to 1.6.4
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Aug 23 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.3-7
- Update devel dependencies
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.6.3-5
- Rebuilt for Python 3.11
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.6.3-2
- Rebuilt for Python 3.10
* Mon Mar 22 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.3-1 * Mon Mar 22 2021 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.3-1
- Update to 1.6.3 - Update to 1.6.3

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libgpiod-2.1.3.tar.xz) = 6a3dd14185642e97eb0a691999b99a9cba5d3e111d3a15d1461e18ce41a6238ce5b17476e16e10e933d926ff66205c2a371b37d4b1b9dd216af8b08a084c635f