2024-01-05 20:43:06 +01:00
|
|
|
%define _avrdir %{_prefix}/avr
|
|
|
|
|
|
|
|
Name: avr-libc
|
2024-01-05 20:43:06 +01:00
|
|
|
Version: 2.0.0
|
2024-01-05 20:43:06 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: High quality C library for use with GCC on Atmel AVR microcontrollers
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
|
|
URL: http://www.nongnu.org/avr-libc/
|
|
|
|
Source: http://download.savannah.gnu.org/releases/avr-libc/avr-libc-%{version}.tar.bz2
|
|
|
|
License: BSD
|
|
|
|
BuildRequires: cross-avr-gcc
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
AVR Libc is a Free Software project whose goal is to provide a high quality C library for use with GCC on Atmel AVR microcontrollers.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--host=avr
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
# force no files stripping
|
|
|
|
%define __os_install_post /usr/lib/rpm/brp-compress
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/avr-man
|
|
|
|
%{_avrdir}/include
|
|
|
|
%{_avrdir}/lib
|
|
|
|
%doc AUTHORS LICENSE ChangeLog* NEWS README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 20:43:06 +01:00
|
|
|
* Tue Mar 01 2016 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 20:43:06 +01:00
|
|
|
* Sat Aug 30 2014 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 20:43:06 +01:00
|
|
|
* Tue Mar 20 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.8.0-1mamba
|
|
|
|
- package created by autospec
|