Sisyphus repository
Last update: 26 november 2021 | SRPMs: 17424 | Visits: 22401546
en ru br
ALT Linux repos
S:0.1-alt1_13

Group :: System/Libraries
RPM: liblettertree

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: gcc-c++
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define major 0
%define libname liblettertree%{major}
%define devname liblettertree-devel

Name: liblettertree
Version: 0.1
Release: alt1_13
Summary: A letter tree data structure
License: LGPL
Group: System/Libraries
Source: ftp://ftp.inria.fr/INRIA/Atoll/Guillaume.Rousse/%{name}-%{version}.tar.bz2
Source44: import.info

%description
This is a simple implementation of a lettertree, an efficient data structure
for storing and indexing string sharing a common prefix.

%package -n %{libname}
Summary: A letter tree data structur
Group: System/Libraries

%description -n %{libname}
This is a simple implementation of a lettertree, an efficient data structure
for storing and indexing string sharing a common prefix.

%package -n %{devname}
Summary: Development files for %{name}
Group: Development/C
Requires: %{libname} = %{version}-%{release}
Provides: %{name}-devel = %{version}-%{release}
Provides: lettertree-devel = %{version}-%{release}
Obsoletes: %{_lib}lettertree0-devel < 0.1-8

%description -n %{devname}
This package contains development files for %{name}.

%prep
%setup -q

%build
# fix build on aarch64
autoreconf -vfi

%configure \
--disable-static
%make_build

%install
%makeinstall_std

#we don't want these

find %{buildroot} -name "*.la" -delete

%files -n %{libname}
%doc AUTHORS ChangeLog README
%{_libdir}/%{name}.so.%{major}
%{_libdir}/%{name}.so.%{major}.*

%files -n %{devname}
%{_libdir}/%{name}.so
%{_includedir}/lettertree.h


%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