Репозиторий Sisyphus
Последнее обновление: 14 октября 2019 | Пакетов: 17518 | Посещений: 15266033
en ru br
Репозитории ALT
S:2.0.0-alt6_6
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.2.3
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
Patch0: %name-doc-makefile.patch

# Automatically added by buildreq on Fri May 28 2004

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
# ghostscript-module-X

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
# patch0 -p1

%build
%__mkdir obj-%_target_platform
cd obj-%_target_platform

../configure \
--prefix=%_prefix \
--exec-prefix=%libavrdir \
--libdir=%_libdir \
--includedir=%includeavrdir \
--mandir=%_mandir \
--infodir=%_infodir
# \
# --enable-doc

%__make
# __make -C doc/api/

%__tar xjvf %SOURCE1

%install
%__mkdir_p %buildroot{%_prefix,%_bindir}
cd obj-%_target_platform
%__make \
prefix=%buildroot%_prefix \
exec_prefix=%buildroot%_libdir \
mandir=%buildroot%_mandir \
infodir=%buildroot%_infodir \
install
%__mv %buildroot%_libdir/bin/avr-man %buildroot%_bindir/

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

%files doc
%doc obj-%_target_platform/avr-libc-user-manual*
%doc doc/examples

%changelog

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

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