Sisyphus repositório
Última atualização: 19 abril 2021 | SRPMs: 17846 | Visitas: 20755233
en ru br
ALT Linux repositórios

Group :: Sistema/Bibliotecas
RPM: liblzf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%add_optflags %optflags_shared
# see
%define _localstatedir %{_var}
Name:           liblzf
Version:        3.6
Release:        alt2_12
Summary:        Small data compression library

Group:          System/Libraries
License:        BSD or GPLv2+
# Adds autoconf and in particular support for building shared libraries.
# 7th Feb 2011 - Mail sent upstream to author. Awaiting conclusion.
Patch0:         liblzf-%{version}-autoconf-20140314.patch

BuildRequires:  autoconf-common
BuildRequires:  automake-common
BuildRequires:  libtool-common

LibLZF is a very small data compression library. It consists
of only two .c and two .h files and is very easy to
incorporate into your own programs.  The compression algorithm
is very, very fast, yet still written in portable C.

%package        devel
Summary:        Development files for %{name}
Group:          Development/Other
Requires:       %{name} = %{version}-%{release}

%if 0%{?el4}%{?el5}
Requires:       pkg-config

%description    devel
The liblzf-devel package contains libraries and header files for
developing applications that use liblzf.

%setup -q
%patch0 -p1

sh ./
%configure --disable-static

make install DESTDIR=%{buildroot}
# Binary does different things depending
# on the name it is called by.
pushd %{buildroot}%{_bindir}
ln -s lzf unlzf
#Leave lzcat  out since it conflicts with xz-lzma-compat.
#If ever needed would need an alternative setting up,
#if someone ever asks I'll do it.
#ln -s lzf lzcat
rm -f %{buildroot}%{_libdir}/

# The cs directory contains a .net implementation of lzf.
# Will happily add a .net sub package if given a patch.
%doc README Changes LICENSE cs

%files devel


Todas as alterações você pod ver aqui

projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009