Name: libtwin Version: 0.0.2 Release: 2%{?dist} Summary: Tiny Window System Group: System Environment/Libraries License: LGPL URL: http://ozlabs.org/~jk/projects/petitboot/ Source0: http://ozlabs.org/~jk/projects/petitboot/downloads/%{name}-%{version}.tar.gz Patch0: libtwin-0.0.2-no-altivec.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libpng-devel zlib-devel libX11-devel libjpeg-devel BuildRequires: freetype-devel %description With embedded systems gaining high resolution displays and powerful cpus, the desire for sophisticated graphical user interfaces can be realized in even the smallest of systems. While the cpupower available for a given power budget has increased dramatically, these tiny systems remain severely memory constrained. This unique environment presents interesting challenges in graphical system design and implementation. To explore this particular space, a new window system, Twin, has been developed. Using ideas from modern window systems in larger environments, Twin offers overlapping translucent windows, anti-aliased graphics and scalable fonts in a total memory budget of 100KB. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING ChangeLog %{_libdir}/*.so.* %{_bindir}/twin_ttf %files devel %defattr(-,root,root,-) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/libtwin.pc %changelog * Thu Apr 5 2007 David Woodhouse 0.0.2-2 - Fix non-HAVE_ALTIVEC build * Thu Apr 5 2007 David Woodhouse 0.0.2-1 - Initial package