ALT Linux repositórios
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: alt2
Packager: Victor Forsyuk <force at altlinux.org>
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.bz2
# Automatically added by buildreq on Wed Dec 17 2008
BuildRequires: gcc-c++ 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.
%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
%build
%configure --enable-sdl \
%{subst_with largefile} \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install %{?_with_manpages: install-man3}
%files
%_libdir/lib*.so.*
%files devel
%doc docs/README.SDL
%_libdir/lib*.so
%_pkgconfigdir/*.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
%def_with largefile
%def_with manpages
Name: zziplib
Version: 0.13.49
Release: alt2
Packager: Victor Forsyuk <force at altlinux.org>
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.bz2
# Automatically added by buildreq on Wed Dec 17 2008
BuildRequires: gcc-c++ 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.
%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
%build
%configure --enable-sdl \
%{subst_with largefile} \
%{subst_enable static}
%make_build
%install
%make_install DESTDIR=%buildroot install %{?_with_manpages: install-man3}
%files
%_libdir/lib*.so.*
%files devel
%doc docs/README.SDL
%_libdir/lib*.so
%_pkgconfigdir/*.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