2024-06-23 23:05:45 +02:00
|
|
|
%define gitver %(echo %version | tr . _)
|
2024-01-05 20:43:06 +01:00
|
|
|
Name: avr-libc
|
2024-08-04 12:15:58 +02:00
|
|
|
Version: 2.2.1
|
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
|
2024-01-05 20:43:07 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 20:43:06 +01:00
|
|
|
URL: http://www.nongnu.org/avr-libc/
|
2024-06-23 23:05:45 +02:00
|
|
|
Source: https://github.com/avrdudes/avr-libc.git/avr-libc-%{gitver}-release/avr-libc-%{version}.tar.bz2
|
2024-01-05 20:43:06 +01:00
|
|
|
License: BSD
|
2024-01-05 20:43:07 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 20:43:06 +01:00
|
|
|
BuildRequires: cross-avr-gcc
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-05 20:43:07 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-06-23 23:05:45 +02:00
|
|
|
# force no files stripping
|
|
|
|
%define __os_install_post /usr/lib/rpm/brp-compress
|
|
|
|
|
2024-01-05 20:43:06 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-06-23 23:05:45 +02:00
|
|
|
./bootstrap
|
2024-01-05 20:43:06 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--host=avr
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/avr-man
|
2024-06-23 23:05:45 +02:00
|
|
|
%dir %{_prefix}/avr
|
|
|
|
%dir %{_prefix}/avr/include
|
|
|
|
%{_prefix}/avr/include/*
|
|
|
|
%dir %{_prefix}/avr/lib
|
|
|
|
%{_prefix}/avr/lib/*
|
2024-01-05 20:43:07 +01:00
|
|
|
%dir %{_docdir}/avr-libc-%{version}
|
|
|
|
%{_docdir}/avr-libc-%{version}/*
|
|
|
|
%doc AUTHORS LICENSE
|
|
|
|
#ChangeLog* NEWS README
|
2024-01-05 20:43:06 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-08-04 12:15:58 +02:00
|
|
|
* Sat Aug 03 2024 Automatic Build System <autodist@openmamba.org> 2.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-06-23 23:05:45 +02:00
|
|
|
* Sun Jun 23 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
|
|
|
|
- update to 2.2.0
|
|
|
|
|
2024-01-05 20:43:07 +01:00
|
|
|
* Mon Jan 31 2022 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
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
|