Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37562396
en ru br
Репозитории ALT
S:2.0.0-alt6_15
5.1: 1.6.7-alt1
4.1: 1.6.1-alt1
4.0: 1.4.4-alt1
3.0: 1.2.3-alt1
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: avr-libc

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# -*- rpm-spec -*-
# $Id: avr-libc,v 1.33 2005/06/03 10:59:46 grigory Exp $

%define cross_arch avr

Summary: AVR libc
Name: avr-libc
Version: 1.6.1
Release: alt1
Serial: 1
Copyright: GPL, LGPL, BSD, Public Domain
Group: Development/Other
URL: http://savannah.gnu.org/projects/avr-libc

Source0: http://savannah.gnu.org/download/avr-libc/avr-libc-%version.tar.bz2
Source1: %name-user-manual-%version.tar.bz2

# Automatically added by buildreq on Wed Oct 04 2006

BuildRequires: avr-gcc cm-super-fonts-pfb cm-super-fonts-tex-dvips doxygen ghostscript-module-X latex2html netpbm transfig xorg-x11-rgb

#BuildRequires: XFree86-libs avr-binutils avr-gcc doxygen ghostscript-classic ghostscript-common glib

# latex2html libgimp-print netpbm tetex-core tetex-dvips tetex-latex transfig urw-fonts

BuildRequires: avr-binutils >= 2.14
BuildRequires: avr-gcc >= 3.3
BuildRequires: avr-gcc-c++ >= 3.3

Requires: avr-binutils >= 2.14
Requires: avr-gcc >= 3.3
Requires: avr-gcc-c++ >= 3.3

%define libavrdir %_libdir/%cross_arch
%define includeavrdir %_includedir/%cross_arch

%description
Avr-libc is a C library for developing applications for Atmel AVR microcontrollers.

%package doc
Summary: Documentation for avr-libc
Group: Development/Other
%description doc
Documentation for avr-libc in html, postscript and pdf formats.


%prep
%setup -q -n %name-%version

%build

./configure \
--host=avr \
--build=$(./config.guess) \
--prefix=%_prefix \
--exec-prefix=%libavrdir \
--libdir=%_libdir \
--includedir=%includeavrdir \
--mandir=%_mandir \
--infodir=%_infodir \
--enable-doc --disable-versioned-doc

%__make
%__tar xjvf %SOURCE1

%install
%__make \
prefix=%buildroot%_prefix \
exec_prefix=%buildroot%_libdir \
mandir=%buildroot%_mandir \
infodir=%buildroot%_infodir \
libdir=%buildroot%_libdir \
includedir=%buildroot%includeavrdir \
install

# Move lib and include files from /usr/avr -> /usr/lib/avr

%__mkdir_p %buildroot%_libdir
%__mv %buildroot%_prefix/avr %buildroot%_libdir/

%files
%doc AUTHORS ChangeLog INSTALL LICENSE NEWS README
%doc doc/CHANGES.old doc/ChangeLog doc/INSTALL doc/TODO
%libavrdir/include/*
%libavrdir/lib/*

%files doc
%_bindir/*
%_datadir/doc/avr-libc/*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin