77 lines
2.0 KiB
RPMSpec
77 lines
2.0 KiB
RPMSpec
Name: avrdude
|
|
Version: 6.1
|
|
Release: 1mamba
|
|
Summary: AVR Downloader/UploaDEr
|
|
Group: System/Tools
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
URL: http://www.nongnu.org/avrdude
|
|
Source: http://download.savannah.gnu.org/releases/avrdude/avrdude-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libelf-devel
|
|
BuildRequires: libftdi1-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libreadline-devel
|
|
BuildRequires: libtermcap-devel
|
|
BuildRequires: libusb-compat-devel
|
|
BuildRequires: libusbx-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libftdi1-devel >= 1.1
|
|
Requires(post): %{__install_info}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
AVRDUDE is an utility to download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers using the in-system programming technique (ISP).
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
make -C doc \
|
|
DESTDIR=%{buildroot} \
|
|
install-info
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post
|
|
%install_info %{name}.info
|
|
exit 0
|
|
|
|
%preun
|
|
%uninstall_info %{name}.info
|
|
exit 0
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/avrdude
|
|
%config(noreplace) %{_sysconfdir}/avrdude.conf
|
|
%{_mandir}/man1/avrdude.1.gz
|
|
%{_infodir}/*.info.*
|
|
%doc AUTHORS COPYING ChangeLog* NEWS README
|
|
|
|
%changelog
|
|
* Sun Apr 06 2014 Automatic Build System <autodist@mambasoft.it> 6.1-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Feb 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.1-2mamba
|
|
- rebuilt with libftdi 1.1
|
|
|
|
* Thu Sep 19 2013 Automatic Build System <autodist@mambasoft.it> 6.0.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Thu Jun 07 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 5.11.1-2mamba
|
|
- fixed group
|
|
|
|
* Wed Mar 21 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 5.11.1-1mamba
|
|
- package created by autospec
|