Репозитории ALT
Группа :: Система/Библиотеки
Пакет: libffcall
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
# vim: set ft=spec: -*- mode: rpm-spec; -*-
# $Id: libffcall,v 1.5 2004/07/15 06:29:38 raorn Exp $
%def_enable static
%define lname ffcall
%define version 1.10
%define release alt1
Name: lib%lname
Version: %version
Release: %release
Summary: Foreign Function Call Libraries
Group: System/Libraries
License: GPL
URL: http://www.haible.de/bruno/packages-ffcall.html
Source: http://www.haible.de/bruno/gnu/%lname-%version.tar.gz
%{?_enable_static:BuildPreReq: glibc-devel-static}
%description
This is a collection of four libraries which can be used to build
foreign function call interfaces in embedded interpreters.
The four packages are:
avcall - calling C functions with variable arguments
vacall - C functions accepting variable argument prototypes
trampoline - closures as first-class C functions
callback - closures with variable arguments as first-class C functions
(a reentrant combination of vacall and trampoline)
%package devel
Summary: Development headers for Foreign Function Call Libraries
Group: Development/C
Requires: %name = %version-%release
%description devel
This is a collection of four libraries which can be used to build
foreign function call interfaces in embedded interpreters.
The four packages are:
avcall - calling C functions with variable arguments
vacall - C functions accepting variable argument prototypes
trampoline - closures as first-class C functions
callback - closures with variable arguments as first-class C functions
(a reentrant combination of vacall and trampoline)
This package contains development headers for FFCall libraries
%if_enabled static
%package devel-static
Summary: Development headers for Foreign Function Call Libraries
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This is a collection of four libraries which can be used to build
foreign function call interfaces in embedded interpreters.
The four packages are:
avcall - calling C functions with variable arguments
vacall - C functions accepting variable argument prototypes
trampoline - closures as first-class C functions
callback - closures with variable arguments as first-class C functions
(a reentrant combination of vacall and trampoline)
This package contains static verions of FFCall libraries
%endif
%prep
%setup -q -n %lname-%version
%build
# SMP b0rken...
%define __nprocs 1
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure \
--enable-shared \
%{subst_enable static}
%make_build
%install
%__mkdir_p %buildroot{%_includedir,%_libdir,%_mandir,%_datadir}
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc COPYING NEWS PLATFORMS README
%_libdir/*.so.*
%files devel
%doc */*.html
%_includedir/*
%_libdir/*.so
%_mandir/man?/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь
# $Id: libffcall,v 1.5 2004/07/15 06:29:38 raorn Exp $
%def_enable static
%define lname ffcall
%define version 1.10
%define release alt1
Name: lib%lname
Version: %version
Release: %release
Summary: Foreign Function Call Libraries
Group: System/Libraries
License: GPL
URL: http://www.haible.de/bruno/packages-ffcall.html
Source: http://www.haible.de/bruno/gnu/%lname-%version.tar.gz
%{?_enable_static:BuildPreReq: glibc-devel-static}
%description
This is a collection of four libraries which can be used to build
foreign function call interfaces in embedded interpreters.
The four packages are:
avcall - calling C functions with variable arguments
vacall - C functions accepting variable argument prototypes
trampoline - closures as first-class C functions
callback - closures with variable arguments as first-class C functions
(a reentrant combination of vacall and trampoline)
%package devel
Summary: Development headers for Foreign Function Call Libraries
Group: Development/C
Requires: %name = %version-%release
%description devel
This is a collection of four libraries which can be used to build
foreign function call interfaces in embedded interpreters.
The four packages are:
avcall - calling C functions with variable arguments
vacall - C functions accepting variable argument prototypes
trampoline - closures as first-class C functions
callback - closures with variable arguments as first-class C functions
(a reentrant combination of vacall and trampoline)
This package contains development headers for FFCall libraries
%if_enabled static
%package devel-static
Summary: Development headers for Foreign Function Call Libraries
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
This is a collection of four libraries which can be used to build
foreign function call interfaces in embedded interpreters.
The four packages are:
avcall - calling C functions with variable arguments
vacall - C functions accepting variable argument prototypes
trampoline - closures as first-class C functions
callback - closures with variable arguments as first-class C functions
(a reentrant combination of vacall and trampoline)
This package contains static verions of FFCall libraries
%endif
%prep
%setup -q -n %lname-%version
%build
# SMP b0rken...
%define __nprocs 1
%{?!_enable_static:export lt_cv_prog_cc_static_works=no}
%configure \
--enable-shared \
%{subst_enable static}
%make_build
%install
%__mkdir_p %buildroot{%_includedir,%_libdir,%_mandir,%_datadir}
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc COPYING NEWS PLATFORMS README
%_libdir/*.so.*
%files devel
%doc */*.html
%_includedir/*
%_libdir/*.so
%_mandir/man?/*
%if_enabled static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Полный changelog можно просмотреть здесь