Compare commits

...

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

4 changed files with 11 additions and 102 deletions

3
.gitignore vendored
View File

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

1
.libgpiod.metadata Normal file
View File

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

View File

@ -1,25 +1,24 @@
#global candidate rc3
#global candidate rc2
Name: libgpiod
Version: 2.1.3
Release: 2%{?candidate:.%{candidate}}%{?dist}
Version: 1.6.3
Release: 1%{?candidate:.%{candidate}}%{?dist}
Summary: C library and tools for interacting with linux GPIO char device
License: LGPL-2.1-or-later
License: LGPLv2+
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
BuildRequires: automake autoconf autoconf-archive libtool
BuildRequires: doxygen
BuildRequires: gcc gcc-c++
BuildRequires: help2man
BuildRequires: kernel-headers
BuildRequires: kmod-devel
BuildRequires: libstdc++-devel
BuildRequires: make
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: systemd-devel
BuildRequires: make
%description
libgpiod is a C library and tools for interacting with the linux GPIO character
@ -31,7 +30,6 @@ open-source and open-drain GPIOs).
%package utils
Summary: Utilities for GPIO
License: GPL-2.0-or-later
Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils
@ -55,18 +53,12 @@ Python 3 bindings for development with %{name}.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-c++ = %{version}-%{release}
Requires: python3-%{name} = %{version}-%{release}
%description devel
Files for development with %{name}.
%prep
%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*
%setup -q -n %{name}-%{version}%{?candidate:-%{candidate}}
%build
autoreconf -vif
@ -87,105 +79,23 @@ find %{buildroot} -name '*.la' -delete
%files
%license COPYING
%doc README
%{_libdir}/%{name}.so.3*
%{_libdir}/%{name}.so.*
%files utils
%{_bindir}/gpio*
%{_mandir}/man*/gpio*
%files c++
%{_libdir}/libgpiodcxx.so.2*
%{_libdir}/libgpiodcxx.so.*
%files -n python3-%{name}
%{python3_sitearch}/gpiod/
%{python3_sitearch}/gpiod-*.egg-info/
%{python3_sitearch}/gpiod.so
%files devel
%{_includedir}/gpiod.*
%{_includedir}/gpiodcxx/
%{_libdir}/pkgconfig/libgpiod*.pc
%{_libdir}/%{name}*.so
%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
- Update to 1.6.3

View File

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