Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37432798
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_with largefile
%def_with manpages

Name: zziplib
Version: 0.13.69
Release: alt1

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

URL: http://zziplib.sourceforge.net/
Source: http://downloads.sourceforge.net/zziplib/zziplib-%version.tar
Patch0: %name-%version-alt.patch

# Automatically added by buildreq on Fri Nov 26 2010

BuildRequires: libSDL-devel python-modules xmlto zip zlib-devel

%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: Files needed to develop programs using zziplib
Group: Development/C
Requires: %name = %version-%release

%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 files needed to develop programs using zziplib.

%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
%patch0 -p1
sed -i 's|^\(CFLAGS.*\)|\1 -g|' $(find ./ -name Makefile.in)

%build
autoconf
%configure --enable-sdl --disable-static %{subst_with largefile}
# strip rpath
subst 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' */libtool
subst 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' */libtool
%make_build

%install
%makeinstall_std %{?_with_manpages: install-man3}

%files
%_libdir/lib*.so.*

%files devel
%doc docs/README.SDL
%_libdir/lib*.so
%_pkgconfigdir/*.pc
%_datadir/aclocal/*.m4
%_includedir/*
%if_with manpages
%_man3dir/*
%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