Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37567374
en ru br
Репозитории ALT
S:0.92.3-alt5
5.1: 0.90.3-alt1
4.1: 0.16.2-alt2.1
4.0: 0.16.2-alt2.1
3.0: 0.16.2-alt2
www.altlinux.org/Changes

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

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

# vim: set ft=spec: -*- rpm-spec -*-

%define platform %(%_datadir/automake/config.sub %_target_platform | sed -e 's,-%_vendor,,')

Name: librep
Version: 0.90.3
Release: alt1

Summary: An embeddable LISP environment
License: GPL
Group: Development/Other
Url: http://librep.sourceforge.net/

Provides: %_datadir/rep/%version/lisp
Provides: %_datadir/rep/site-lisp
Provides: %_libexecdir/rep/%version/%platform
Provides: %_libexecdir/rep/%platform

Source: %name-%version.tar
Patch: %name-%version-%release.patch

# Automatically added by buildreq on Fri Dec 26 2008

BuildRequires: libffi-devel libgdbm-devel libgmp-devel libncurses-devel libreadline-devel

%description
This is a lightweight LISP environment for UNIX. It contains a LISP
interpreter, byte-code compiler and virtual machine. Applications may
use the LISP interpreter as an extension language, or it may be used for
standalone scripts.

Originally inspired by Emacs Lisp, the language dialect combines many of
the elisp features while trying to remove some of the main deficiencies,
with features from Common Lisp and Scheme.

%package devel
Summary: librep include files and link libraries
Group: Development/Other
Requires: %name = %version-%release

%description devel
Link libraries and C header files for librep development.

%prep
%setup -q
%patch -p1
cp -pfv %_datadir/automake/config.{guess,sub} .

%build
%autoreconf
%configure \
--disable-static \
--with-readline \
--with-ffi \
--with-extra-cflags=-fstrength-reduce
# Fix platform name
sed -ie 's,^host_type=.*$,host_type=%platform,g' librep.pc
%make_build host_type=%platform

%install
%make_build install host_type=%platform DESTDIR=%buildroot
mkdir -p %buildroot%_datadir/rep/site-lisp

mkdir -p %buildroot%_rpmlibdir
cat <<EOF >%buildroot%_rpmlibdir/librep-files.req.list
# librep dirlist for %_rpmlibdir/files.req
%_datadir/rep/%version/lisp librep
%_datadir/rep/site-lisp librep
%_libexecdir/rep/%version/%platform librep
%_libexecdir/rep/%platform librep
EOF

%files
%doc AUTHORS BUGS README THANKS TODO TREE
%_bindir/rep
%_bindir/rep-remote
%_libdir/librep.so.*
%dir %_datadir/rep
%dir %_datadir/rep/%version
%dir %_datadir/rep/%version/lisp
%dir %_datadir/rep/site-lisp
%_datadir/rep/%version/lisp/*
%dir %_libexecdir/rep
%dir %_libexecdir/rep/%version
%dir %_libexecdir/rep/%version/%platform
%dir %_libexecdir/rep/%platform
%_libexecdir/rep/%version/%platform/*
%_rpmlibdir/librep-files.req.list
%_man1dir/rep.1*
%_man1dir/rep-remote.1*
%_infodir/librep*

%files devel
%doc ChangeLog HACKING doc/*
%_bindir/rep-xgettext
%_bindir/repdoc
%_libdir/librep.so
%_includedir/*
%_pkgconfigdir/*
%_libexecdir/rep/%platform/*
%_man1dir/rep-xgettext.1*
%_man1dir/repdoc.1*

%changelog

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

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