Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37733520
en ru br
ALT Linux repositórios
S:0.13.72-alt1
5.0: 0.13.49-alt2
4.1: 0.13.49-alt1
4.0: 0.13.49-alt1
3.0: 0.13.38-alt1

Group :: Sistema/Bibliotecas
RPM: zziplib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static
%def_with largefile
%def_with manpages

Name: zziplib
Version: 0.13.49
Release: alt1

Summary: Lightweight library to easily extract data from zip files
Group: System/Libraries
License: LGPL/MPL

URL: http://zziplib.sourceforge.net/
Source: http://dl.sourceforge.net/zziplib/zziplib-%version.tar.bz2

# Automatically added by buildreq on Wed Mar 21 2007

BuildRequires: gcc-c++ libSDL-devel python-modules-encodings xmlto zip zlib-devel

%{?_enable_static:BuildPreReq: glibc-devel-static}

%description
The zziplib provides read access to zipped files in a zip-archive,
using compression based solely on free algorithms provided by zlib.
It also provides a functionality to overlay the archive filesystem
with the filesystem of the operating system environment.

%package devel
Summary: Header files needed to develop programs using zziplib
Group: Development/C
Requires: %name = %version-%release
Requires: pkgconfig >= 0.9.0

%description devel
The zziplib provides read access to zipped files in a zip-archive,
using compression based solely on free algorithms provided by zlib.
It also provides a functionality to overlay the archive filesystem
with the filesystem of the operating system environment.

This package contains header files needed to develop programs using
zziplib.

%if_enabled static
%package devel-static
Summary: Static version of zziplib
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
The zziplib provides read access to zipped files in a zip-archive,
using compression based solely on free algorithms provided by zlib.
It also provides a functionality to overlay the archive filesystem
with the filesystem of the operating system environment.

This package contains static version of zziplib.
%endif

%package utils
Summary: ZZipLib utilites
Group: Archiving/Compression
Requires: %name = %version-%release

%description utils
The zziplib provides read access to zipped files in a zip-archive,
using compression based solely on free algorithms provided by zlib.
It also provides a functionality to overlay the archive filesystem
with the filesystem of the operating system environment.

This package contains some useful ZZipLib utilites.

%prep
%setup -q

%build
%configure --enable-sdl \
%{subst_with largefile} \
%{subst_enable static}
%make_build

%install
%make_install DESTDIR=%buildroot install %{?_with_manpages: install-man3}

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%files
%doc ChangeLog README TODO
%_libdir/lib*.so.*

%files devel
%doc docs/README.SDL
%_libdir/lib*.so
%_libdir/pkgconfig/*.pc
%_datadir/aclocal/*.m4
%_datadir/zziplib
%_includedir/*
%if_with manpages
%_man3dir/*
%endif

%if_enabled static
%files devel-static
%_libdir/lib*.a
%endif

%files utils
%_bindir/*

%changelog

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