Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37634145
en ru br
Репозитории ALT

Группа :: Development/Tools
Пакет: sexpr

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

%define sover 0

Name: sexpr
Version: 1.3
Release: alt1
Summary: Small, fast s-expression library (sexpr)
License: LGPLv2.1+
Group: Development/Tools
Url: http://sexpr.sourceforge.net/
Packager: Eugeny A. Rostovtsev (REAL) <real at altlinux.org>

Source: %name-%version.tar

BuildPreReq: doxygen gcc-c++

%description
This library is intended to provide a minimal C/C++ API to efficiently
create, manipulate, and parse LISP-style symbolic expressions.

%package -n lib%name
Summary: Small, fast s-expression library
Group: System/Libraries

%description -n lib%name
This library is intended to provide a minimal C/C++ API to efficiently
create, manipulate, and parse LISP-style symbolic expressions.

%package -n lib%name-devel
Summary: Development files of small, fast s-expression library (sexpr)
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This library is intended to provide a minimal C/C++ API to efficiently
create, manipulate, and parse LISP-style symbolic expressions.

This package contains development files of sexpr.

%package -n lib%name-devel-docs
Summary: Development documentation, examples and tests for sexpr
Group: Development/Documentation
BuildArch: noarch

%description -n lib%name-devel-docs
This library is intended to provide a minimal C/C++ API to efficiently
create, manipulate, and parse LISP-style symbolic expressions.

This package contains development documentation, examples and tests for
sexpr.

%prep
%setup

%build
%add_optflags %optflags_shared
%autoreconf
%configure
%make_build

autoconf
doxygen

%install
%makeinstall_std LIBDIR=%_libdir

pushd %buildroot%_libdir
gcc -shared -Wl,-whole-archive libsexp.a -Wl,-no-whole-archive \
-Wl,-soname,libsexp.so.%sover -o libsexp.so.%sover
ln -s libsexp.so.%sover libsexp.so
popd

install -d %buildroot%_man3dir
install -m644 doxygen/man/man3/* %buildroot%_man3dir/

rm -f examples/Makefile.in tests/Makefile.in

%files -n lib%name
%doc COPYING README
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so
%_man3dir/*

%files -n lib%name-devel-docs
%doc doxygen/html examples tests

%changelog

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

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