From c9cd9345349f0e1f8e74e7f152ab8e8d99317701 Mon Sep 17 00:00:00 2001 From: Stefano Cotta Ramusino Date: Fri, 5 Jan 2024 20:43:06 +0100 Subject: [PATCH] package created by autospec [release 1.8.0-1mamba;Tue Mar 20 2012] --- README.md | 2 ++ avr-libc.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 avr-libc.spec diff --git a/README.md b/README.md index a84dab3..f0ae25a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # avr-libc +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. + diff --git a/avr-libc.spec b/avr-libc.spec new file mode 100644 index 0000000..e3abe33 --- /dev/null +++ b/avr-libc.spec @@ -0,0 +1,49 @@ +%define _avrdir %{_prefix}/avr + +Name: avr-libc +Version: 1.8.0 +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 +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 +* Tue Mar 20 2012 Stefano Cotta Ramusino 1.8.0-1mamba +- package created by autospec