update to 7.1 [release 7.1-1mamba;Tue May 09 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 20:43:13 +01:00
parent 03d915f978
commit 505d374c6e

View File

@ -1,5 +1,5 @@
Name: avrdude Name: avrdude
Version: 7.0 Version: 7.1
Release: 1mamba Release: 1mamba
Summary: AVR Downloader/UploaDEr Summary: AVR Downloader/UploaDEr
Group: System/Tools Group: System/Tools
@ -7,18 +7,16 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.nongnu.org/avrdude/ URL: http://www.nongnu.org/avrdude/
Source: http://download.savannah.gnu.org/releases/avrdude/avrdude-%{version}.tar.gz Source: https://github.com/avrdudes/avrdude.git/v%{version}/avrdude-%{version}.tar.bz2
#Source: http://download.savannah.gnu.org/releases/avrdude/avrdude-%{version}.tar.gz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libatomic-devel
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: libftdi-devel
BuildRequires: libftdi1-devel BuildRequires: libftdi1-devel
BuildRequires: libhidapi-devel BuildRequires: libhidapi-devel
BuildRequires: libncurses-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: libtermcap-devel
BuildRequires: libudev-devel
BuildRequires: libusb-compat-devel BuildRequires: libusb-compat-devel
BuildRequires: libusb-devel BuildRequires: libusb-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -52,51 +50,53 @@ This package contains static libraries and header files needed for development.
%setup -q %setup -q
%build %build
%configure %cmake -d build \
-DCMAKE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
-DBUILD_DOC=ON
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall -C build
make -C doc \
DESTDIR=%{buildroot} \
install-info
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post
%install_info %{name}.info %install_info %{name}.info
exit 0 :
%preun %preun
%uninstall_info %{name}.info %uninstall_info %{name}.info
exit 0 :
%post -n lib%{name} -p /sbin/ldconfig %post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/avrdude
%config(noreplace) %{_sysconfdir}/avrdude.conf %config(noreplace) %{_sysconfdir}/avrdude.conf
%{_bindir}/avrdude
%{_mandir}/man1/avrdude.1* %{_mandir}/man1/avrdude.1*
%{_infodir}/*.info.* %{_infodir}/*.info.*
#%doc AUTHORS COPYING
#ChangeLog* NEWS README
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libavrdude.so.* %{_libdir}/libavrdude.so.*
%doc COPYING
%files -n lib%{name}-devel %files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/libavrdude.h %{_includedir}/libavrdude.h
%{_libdir}/libavrdude.a
%{_libdir}/libavrdude.la
%{_libdir}/libavrdude.so %{_libdir}/libavrdude.so
%dir %{_docdir}/avrdude
%{_docdir}/avrdude/*
%changelog %changelog
* Tue May 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1-1mamba
- update to 7.1
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 7.0-1mamba * Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 7.0-1mamba
- automatic version update by autodist - automatic version update by autodist