Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37041181
en ru br
ALT Linux repos
S:3.0.13-alt4.1

Group :: System/Libraries
RPM: ferrisloki

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

Name: ferrisloki
Version: 3.0.13
Release: alt4.1
Summary: Loki C++ library from Modern C++ Design
License: GPL
Group: System/Libraries
Url: http://www.libferris.com/

# https://sourceforge.net/projects/witme/files/ferrisloki/

Source: %name-%version.tar

BuildRequires: gcc-c++ libsigc++2-devel

%description
Loki library adapted for Linux and containing extensions
in Extensions.hh that have not been feed back into the
main Loki tree yet. Note that the main library has been
renamed to libferrisloki and headers installed into
FerrisLoki/ in include so as to highlight that this is
not the standard version.

%package -n lib%name
Group: System/Libraries
Summary: Loki C++ library from Modern C++ Design

%description -n lib%name
Loki library adapted for Linux and containing extensions
in Extensions.hh that have not been feed back into the
main Loki tree yet. Note that the main library has been
renamed to libferrisloki and headers installed into
FerrisLoki/ in include so as to highlight that this is
not the standard version.

%package -n lib%name-devel
Group: Development/C++
Summary: Development files for Loki C++ library

%description -n lib%name-devel
Loki library adapted for Linux and containing extensions
in Extensions.hh that have not been feed back into the
main Loki tree yet. Note that the main library has been
renamed to libferrisloki and headers installed into
FerrisLoki/ in include so as to highlight that this is
not the standard version.

This package includes development files.

%prep
%setup
%ifarch %e2k
# workaround for this compiler crash:
# ecf_opt64 terminated by signal "Illegal instruction" (4)
sed -i 's/throw ( std::bad_alloc )//' \
include/FerrisLoki/loki/SmallObj.h
%endif

find -name '*.h' -exec sed -i '/sigc++\/object.h/d' {} + || die
find -name '*.hh' -exec sed -i '/sigc++\/object.h/d' {} + || die

%build
%add_optflags -std=c++14
%configure
%make_build

%install
%makeinstall_std

rm -f %buildroot%_libdir/*.a

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

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

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin