ALT Linux repositórios
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
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