avr-libc/avr-libc.spec

71 lines
1.9 KiB
RPMSpec
Raw Normal View History

%define gitver %(echo %version | tr . _)
Name: avr-libc
Version: 2.2.0
Release: 1mamba
Summary: High quality C library for use with GCC on Atmel AVR microcontrollers
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.nongnu.org/avr-libc/
Source: https://github.com/avrdudes/avr-libc.git/avr-libc-%{gitver}-release/avr-libc-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
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.
%debug_package
# force no files stripping
%define __os_install_post /usr/lib/rpm/brp-compress
%prep
%setup -q
./bootstrap
%build
%configure \
--host=avr
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/avr-man
%dir %{_prefix}/avr
%dir %{_prefix}/avr/include
%{_prefix}/avr/include/*
%dir %{_prefix}/avr/lib
%{_prefix}/avr/lib/*
%dir %{_docdir}/avr-libc-%{version}
%{_docdir}/avr-libc-%{version}/*
%doc AUTHORS LICENSE
#ChangeLog* NEWS README
%changelog
* Sun Jun 23 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Mon Jan 31 2022 Automatic Build System <autodist@mambasoft.it> 2.1.0-1mamba
- automatic version update by autodist
* Tue Mar 01 2016 Automatic Build System <autodist@mambasoft.it> 2.0.0-1mamba
- automatic update by autodist
* Sat Aug 30 2014 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
- automatic version update by autodist
* Tue Mar 20 2012 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.8.0-1mamba
- package created by autospec