# HG changeset patch # User Michael Schloh von Bennewitz # Date 1349373655 -7200 # Node ID 84a9f800fa375fa0a723f2877f571df74a725249 # Parent 1b957bfaea122815c00969945e566c8937b4e26a Import package vendor original spec for necessary manipulations. diff -r 1b957bfaea12 -r 84a9f800fa37 libpixman/libpixman.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpixman/libpixman.patch Thu Oct 04 20:00:55 2012 +0200 @@ -0,0 +1,12 @@ +Index: Makefile.in +--- Makefile.in.orig 2011-02-22 21:41:58.000000000 +0100 ++++ Makefile.in 2011-02-23 09:45:34.000000000 +0100 +@@ -269,7 +269,7 @@ + top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ +-SUBDIRS = pixman demos test ++SUBDIRS = pixman + pkgconfigdir = $(libdir)/pkgconfig + pkgconfig_DATA = pixman-1.pc + GPGKEY = 6FF7C1A8 diff -r 1b957bfaea12 -r 84a9f800fa37 libpixman/libpixman.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libpixman/libpixman.spec Thu Oct 04 20:00:55 2012 +0200 @@ -0,0 +1,76 @@ +## +## libpixman.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2000-2012 OpenPKG Foundation e.V. +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: libpixman +Summary: Cairo Pixel Manipulation Library +URL: http://cairographics.org/ +Vendor: The Cairo Project +Packager: OpenPKG Foundation e.V. +Distribution: OpenPKG Community +Class: EVAL +Group: XWindow +License: MIT-style +Version: 0.26.2 +Release: 20120630 + +# list of sources +Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz +Patch0: libpixman.patch + +# build information +BuildPreReq: OpenPKG, openpkg >= 20100101 +PreReq: OpenPKG, openpkg >= 20100101 + +%description + Pixman is the pixel manipulation library of the Cairo project. + It provides pixel region and image compositing APIs. + +%track + prog libpixman = { + version = %{version} + url = http://cairographics.org/releases/ + regex = pixman-(__VER__)\.tar\.gz + } + +%prep + %setup -q -n pixman-%{version} + %patch -p0 + +%build + CC="%{l_cc}" \ + CFLAGS="%{l_cflags -O}" \ + ./configure \ + --prefix=%{l_prefix} \ + --disable-gtk \ + --disable-shared + %{l_make} %{l_mflags -O} + +%install + %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean +