Группа :: Система/Библиотеки
Пакет: libggi
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Name: libggi
Version: 2.2.2
Release: alt4
# consider shlib policy on API change
%define major 2
%def_disable static
%define gii_ver 1.0.2
BuildRequires: libgii >= %gii_ver
Summary: A fast, simple, small and flexible user-space graphics library (General Graphics Interface)
License: GPLv2+
Group: System/Libraries
URL: http://www.ggi-project.org/
Source: http://www.ggi-project.org/ftp/ggi/v2.2/%name-%version.src.tar.bz2
Patch0: libggi-2.0.1-no-lcd823-ppc.patch
Patch3: libggi-2.0.3-xpath.patch
Patch4: libggi_wformat.patch
# Automatically added by buildreq on Fri Aug 20 2010
BuildRequires: aalib-devel imake libICE-devel libXext-devel libXt-devel libXxf86dga-devel libXxf86vm-devel libgii-devel libncurses-devel xorg-cf-files
%description
LibGGI is a fast, simple, small and flexible user-space graphics
library developed by the GGI Project <http://www.ggi-project.org/>.
It attempts to abstract the many different graphics output systems
existing under Unix (and in the future, other platforms). The support
for all of these different types of displays and hardware are provided
by dynamically-loaded mini-libraries.
LibGGI can transparently (to the LibGGI-using application) display
graphics on an X window, fbcon (Linux framebuffer driver), or the
glide library, through their respective graphics drivers, or targets.
There are also some other targets which display through another
target, such as multi to display simultaneously on multiple displays
at once, and tile to tile your display to different monitors.
LibGGI supports acceleration of graphics primitives where possible.
LibGGI is a very generic piece of software, that will run on about
every platform that has remotely heard of POSIX (ports to other systems
such as Win32 are underway) and on many display subsystems.
%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 devel-static
Summary: development part of %name, static build
Group: Development/C
Requires: %name = %version-%release
Requires: libgii-devel >= %gii_ver
%description devel-static
development files for %name, static build
%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
%patch0 -p1 -b .ppc
%patch3 -p1 -b .xpath
%patch4 -p1 -b .wformat
#%patch5 -p1 -b .glibc2.4
# regenerate configure script
#./autogen.sh
#cat m4/[^l]*.m4 > acinclude.m4
#sed -i 's at PROG_RANLIB at PROG_LIBTOOL at
#/^LT_/d' configure.in
%build
#autoreconf -fisv
%configure %{subst_enable static}
sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool
%make_build
%install
%makeinstall
find %buildroot -name *.la -delete
%files
%doc FAQ NEWS README doc/env.txt doc/targets.txt
%config(noreplace) %_sysconfdir/ggi/*.conf
%config(noreplace) %_sysconfdir/ggi/targets/*.conf
%_libdir/ggi/default/*.so
%_libdir/ggi/display/*.so
%_libdir/ggi/helper/*.so
%_libdir/ggi/default/fbdev/*.so
%_mandir/man?/*
%_libdir/*.so.%{major}
%_libdir/*.so.%{major}.*
%files devel
%_includedir/*
%_libdir/*.so
%if_enabled static
%files devel-static
%_libdir/*.a
#_libdir/ggi/*/*.a
#_libdir/ggi/*/*/*.a
%endif
%files -n ggi-utils
%_bindir/*
%changelog
…
Полный changelog можно просмотреть здесь
Name: libggi
Version: 2.2.2
Release: alt4
# consider shlib policy on API change
%define major 2
%def_disable static
%define gii_ver 1.0.2
BuildRequires: libgii >= %gii_ver
Summary: A fast, simple, small and flexible user-space graphics library (General Graphics Interface)
License: GPLv2+
Group: System/Libraries
URL: http://www.ggi-project.org/
Source: http://www.ggi-project.org/ftp/ggi/v2.2/%name-%version.src.tar.bz2
Patch0: libggi-2.0.1-no-lcd823-ppc.patch
Patch3: libggi-2.0.3-xpath.patch
Patch4: libggi_wformat.patch
# Automatically added by buildreq on Fri Aug 20 2010
BuildRequires: aalib-devel imake libICE-devel libXext-devel libXt-devel libXxf86dga-devel libXxf86vm-devel libgii-devel libncurses-devel xorg-cf-files
%description
LibGGI is a fast, simple, small and flexible user-space graphics
library developed by the GGI Project <http://www.ggi-project.org/>.
It attempts to abstract the many different graphics output systems
existing under Unix (and in the future, other platforms). The support
for all of these different types of displays and hardware are provided
by dynamically-loaded mini-libraries.
LibGGI can transparently (to the LibGGI-using application) display
graphics on an X window, fbcon (Linux framebuffer driver), or the
glide library, through their respective graphics drivers, or targets.
There are also some other targets which display through another
target, such as multi to display simultaneously on multiple displays
at once, and tile to tile your display to different monitors.
LibGGI supports acceleration of graphics primitives where possible.
LibGGI is a very generic piece of software, that will run on about
every platform that has remotely heard of POSIX (ports to other systems
such as Win32 are underway) and on many display subsystems.
%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 devel-static
Summary: development part of %name, static build
Group: Development/C
Requires: %name = %version-%release
Requires: libgii-devel >= %gii_ver
%description devel-static
development files for %name, static build
%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
%patch0 -p1 -b .ppc
%patch3 -p1 -b .xpath
%patch4 -p1 -b .wformat
#%patch5 -p1 -b .glibc2.4
# regenerate configure script
#./autogen.sh
#cat m4/[^l]*.m4 > acinclude.m4
#sed -i 's at PROG_RANLIB at PROG_LIBTOOL at
#/^LT_/d' configure.in
%build
#autoreconf -fisv
%configure %{subst_enable static}
sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool
%make_build
%install
%makeinstall
find %buildroot -name *.la -delete
%files
%doc FAQ NEWS README doc/env.txt doc/targets.txt
%config(noreplace) %_sysconfdir/ggi/*.conf
%config(noreplace) %_sysconfdir/ggi/targets/*.conf
%_libdir/ggi/default/*.so
%_libdir/ggi/display/*.so
%_libdir/ggi/helper/*.so
%_libdir/ggi/default/fbdev/*.so
%_mandir/man?/*
%_libdir/*.so.%{major}
%_libdir/*.so.%{major}.*
%files devel
%_includedir/*
%_libdir/*.so
%if_enabled static
%files devel-static
%_libdir/*.a
#_libdir/ggi/*/*.a
#_libdir/ggi/*/*/*.a
%endif
%files -n ggi-utils
%_bindir/*
%changelog
…
Полный changelog можно просмотреть здесь