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