Group :: Sistema/Bibliotecas
RPM: libggi
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libggi
Version: 2.1.0
Release: alt1
%define gii_ver 0.9.0
BuildPreReq: libgii >= %gii_ver
Serial: 1
Summary: LibGGI, the dynamic GGI (General Graphics Interface) library
Copyright: Public Domain
Group: System/Libraries
URL: http://www.ggi-project.org/
Source: ftp://ftp.ggi-project.org:/pub/ggi/ggi/2_0_beta_3/%name-%version.src.tar.bz2
# Automatically added by buildreq on Tue Sep 16 2003
BuildRequires: XFree86-devel-static XFree86-libs aalib-devel directfb-devel glibc-devel-static libgii-devel libncurses-devel libslang libtinfo-devel
%description
LibGGI, the dynamic GGI (General Graphics Interface) library is a flexible
drawing library.
It provides an opaque interface to the display's acceleration functions. It
was originally intended to allow user programs to interface with KGI, the
GGI Kernel Graphics Interface, but other display types can be easily used by
loading the appropriate "display target" (e.g. X, memory).
LibGGI consists of a main library (libggi.so) and a multitude of
dynamic drivers. The library then loads the necessary "drivers" for the
requested mode, taking hints from the graphics device if necessary. LibGGI
can also load extension libraries, e.g. to provide enhanced 2D and 3D
functions.
%package devel
Summary: development part of %name
Group: Development/C
Requires: %name = %version-%release
Requires: libgii-devel >= %gii_ver
%description devel
development files for %name
%package -n ggi-utils
Group: Graphics
Summary: some usefull utils from %name
Provides: %name-utils = %version
Obsoletes: %name-utils
%description -n ggi-utils
some usefull utils from %name
%prep
%setup -q
%add_optflags -I/usr/include/directfb-internal
%build
#./autogen.sh
%undefine __libtoolize
%configure
#NO SMP
%make
%install
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc README NEWS ChangeLog INSTALL FAQ
%config(noreplace) %_sysconfdir/ggi/*
%_libdir/*.so.*
%_libdir/ggi/default/*.so
%_libdir/ggi/display/*.so
%_libdir/ggi/helper/*.so
%_libdir/ggi/default/fbdev/*/*.so
%_mandir/man?/*
%files devel
%_includedir/*
%_libdir/*.so
%files -n ggi-utils
%_bindir/*
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.1.0
Release: alt1
%define gii_ver 0.9.0
BuildPreReq: libgii >= %gii_ver
Serial: 1
Summary: LibGGI, the dynamic GGI (General Graphics Interface) library
Copyright: Public Domain
Group: System/Libraries
URL: http://www.ggi-project.org/
Source: ftp://ftp.ggi-project.org:/pub/ggi/ggi/2_0_beta_3/%name-%version.src.tar.bz2
# Automatically added by buildreq on Tue Sep 16 2003
BuildRequires: XFree86-devel-static XFree86-libs aalib-devel directfb-devel glibc-devel-static libgii-devel libncurses-devel libslang libtinfo-devel
%description
LibGGI, the dynamic GGI (General Graphics Interface) library is a flexible
drawing library.
It provides an opaque interface to the display's acceleration functions. It
was originally intended to allow user programs to interface with KGI, the
GGI Kernel Graphics Interface, but other display types can be easily used by
loading the appropriate "display target" (e.g. X, memory).
LibGGI consists of a main library (libggi.so) and a multitude of
dynamic drivers. The library then loads the necessary "drivers" for the
requested mode, taking hints from the graphics device if necessary. LibGGI
can also load extension libraries, e.g. to provide enhanced 2D and 3D
functions.
%package devel
Summary: development part of %name
Group: Development/C
Requires: %name = %version-%release
Requires: libgii-devel >= %gii_ver
%description devel
development files for %name
%package -n ggi-utils
Group: Graphics
Summary: some usefull utils from %name
Provides: %name-utils = %version
Obsoletes: %name-utils
%description -n ggi-utils
some usefull utils from %name
%prep
%setup -q
%add_optflags -I/usr/include/directfb-internal
%build
#./autogen.sh
%undefine __libtoolize
%configure
#NO SMP
%make
%install
%makeinstall
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%doc README NEWS ChangeLog INSTALL FAQ
%config(noreplace) %_sysconfdir/ggi/*
%_libdir/*.so.*
%_libdir/ggi/default/*.so
%_libdir/ggi/display/*.so
%_libdir/ggi/helper/*.so
%_libdir/ggi/default/fbdev/*/*.so
%_mandir/man?/*
%files devel
%_includedir/*
%_libdir/*.so
%files -n ggi-utils
%_bindir/*
%changelog
…
Todas as alterações você pod ver aqui