Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37867923
en ru br
ALT Linux repositórios
S:3.7.20-alt1
5.0: 3.3.4-alt1

Group :: Sistema/Bibliotecas
RPM: libaff

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oname afflib

Name: libaff
Version: 3.3.4
Release: alt1

Summary: A set of programs for creating and manipulating AFF files

Group: System/Libraries
License: BSD
Url: http://www.afflib.org/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source0: http://www.afflib.org/downloads/%oname-%version.tar.gz
Patch0: afflib-shared.diff
Patch1: afflib-no_win32.diff

# Automatically added by buildreq on Fri Nov 07 2008

BuildRequires: gcc-c++ glibc-devel libcurl-devel libewf-devel libexpat-devel libfuse-devel libncurses-devel libreadline-devel

%description
AFFLIB is an open source library developed by Simson Garfinkel and Basis
Technology that implements the AFF standard. AFFLIB is distributed under
4-clause Berkeley License and may be freely incorporated into both Open
Source and Proprietary software.

In addition to the library, AFFLIB also comes with the AFF Tools, a set of
programs for creating and manipulating AFF files.

%package devel
Summary: Header files for the afflib library
Group: Development/C
Requires: %name = %version-%release

%description devel
AFFLIB is an open source library developed by Simson Garfinkel and Basis
Technology that implements the AFF standard. AFFLIB is distributed under
4-clause Berkeley License and may be freely incorporated into both Open
Source and Proprietary software.

This package contains the header files.

%prep
%setup -q -n %oname-%version
#%patch0 -p1
#%patch1 -p0

%build
%__subst "s|-static.*||g" tools/Makefile.am lib/Makefile.am
%autoreconf

%configure \
   --enable-libewf=yes \
   --enable-s3=yes \
   --enable-fuse=yes \
   --with-curl=%prefix \
   --disable-static

%make_build

%install
%makeinstall_std

# install headers as well

#install -d %buildroot%_includedir/afflib
#install -m0644 lib/*.h %buildroot%_includedir/afflib/

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%_bindir/afcat
%_bindir/afcompare
%_bindir/afcrypto
%_bindir/afrecover
%_bindir/afsign
%_bindir/afverify
%_bindir/afconvert
%_bindir/afcopy
%_bindir/affix
%_bindir/affuse
%_bindir/afinfo
%_bindir/afsegment
%_bindir/afstats
%_bindir/aftest
%_bindir/afxml
#%_bindir/aimage
%_bindir/s3
%doc AUTHORS BUGLIST.txt COPYING ChangeLog NEWS README* doc/*
%_libdir/*.so.*

%files devel
%dir %_includedir/afflib/
%_includedir/afflib/*.h
%_libdir/*.so
%_pkgconfigdir/*.pc

%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