Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37856387
en ru br
ALT Linux repositórios
S:0.7.1-alt5_0.29.20080502cvs
5.0: 0.7-alt1
4.1: 0.6.1-alt2
4.0: 0.6.1-alt2
3.0: 0.6.1-alt1

Group :: Sistema/Bibliotecas
RPM: libast

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable static

Name: libast
Version: 0.6.1
Release: alt2

Summary: Library of Assorted Spiffy Things
Group: System/Libraries
License: BSD
Url: http://www.eterm.org/
Packager: Yuri N. Sedunov <aris at altlinux.ru>

Source: %url/download/%name-%version.tar.gz

%define imlib2_ver 1.1.1
%define pcre_ver 4.5

PreReq: imlib2 >= %imlib2_ver

BuildPreReq: libpcre-devel >= %pcre_ver
BuildPreReq: imlib2-devel >= %imlib2_ver

%if_enabled static
BuildPreReq: xorg-x11-devel-static glibc-devel-static
%endif

# Automatically added by buildreq on Thu Jan 06 2005

BuildRequires: xorg-x11-devel freetype2-devel imlib2-devel libpcre-devel zlib-devel

%description
LibAST is the Library of Assorted Spiffy Things.  It contains various
handy routines and drop-in substitutes for some good-but-non-portable
functions.  It currently has a built-in memory tracking subsystem as
well as some debugging aids and other similar tools.

It's not documented yet, mostly because it's not finished.  Hence the
version number that begins with 0.

%package devel
Summary: LibAST header files and development libraries
Group: Development/C
Requires: %name = %version-%release
Requires: libpcre-devel >= %pcre_ver
Requires: imlib2-devel >= %imlib2_ver

%description devel
Header files and development libraries for LibAST.

%if_enabled static
%package devel-static
Summary: LibAST static libraries
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
LibAST static libraries.
%endif

%prep
%setup -q

%build
export ac_cv_prog_CTAGS=ctags
%configure \
   %{subst_enable static}

%make_build

%install
%makeinstall

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

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

%files devel
%_bindir/*
%_includedir/*
%_libdir/*.so
%_datadir/aclocal/*
%doc DESIGN

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

%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