Thu, 04 Oct 2012 20:00:55 +0200
Import package vendor original spec for necessary manipulations.
libpixman/libpixman.patch | file | annotate | diff | comparison | revisions | |
libpixman/libpixman.spec | file | annotate | diff | comparison | revisions |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libpixman/libpixman.patch Thu Oct 04 20:00:55 2012 +0200 1.3 @@ -0,0 +1,12 @@ 1.4 +Index: Makefile.in 1.5 +--- Makefile.in.orig 2011-02-22 21:41:58.000000000 +0100 1.6 ++++ Makefile.in 2011-02-23 09:45:34.000000000 +0100 1.7 +@@ -269,7 +269,7 @@ 1.8 + top_build_prefix = @top_build_prefix@ 1.9 + top_builddir = @top_builddir@ 1.10 + top_srcdir = @top_srcdir@ 1.11 +-SUBDIRS = pixman demos test 1.12 ++SUBDIRS = pixman 1.13 + pkgconfigdir = $(libdir)/pkgconfig 1.14 + pkgconfig_DATA = pixman-1.pc 1.15 + GPGKEY = 6FF7C1A8
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libpixman/libpixman.spec Thu Oct 04 20:00:55 2012 +0200 2.3 @@ -0,0 +1,76 @@ 2.4 +## 2.5 +## libpixman.spec -- OpenPKG RPM Package Specification 2.6 +## Copyright (c) 2000-2012 OpenPKG Foundation e.V. <http://openpkg.net/> 2.7 +## 2.8 +## Permission to use, copy, modify, and distribute this software for 2.9 +## any purpose with or without fee is hereby granted, provided that 2.10 +## the above copyright notice and this permission notice appear in all 2.11 +## copies. 2.12 +## 2.13 +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED 2.14 +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 2.15 +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2.16 +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR 2.17 +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2.18 +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2.19 +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF 2.20 +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 2.21 +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 2.22 +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 2.23 +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2.24 +## SUCH DAMAGE. 2.25 +## 2.26 + 2.27 +# package information 2.28 +Name: libpixman 2.29 +Summary: Cairo Pixel Manipulation Library 2.30 +URL: http://cairographics.org/ 2.31 +Vendor: The Cairo Project 2.32 +Packager: OpenPKG Foundation e.V. 2.33 +Distribution: OpenPKG Community 2.34 +Class: EVAL 2.35 +Group: XWindow 2.36 +License: MIT-style 2.37 +Version: 0.26.2 2.38 +Release: 20120630 2.39 + 2.40 +# list of sources 2.41 +Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz 2.42 +Patch0: libpixman.patch 2.43 + 2.44 +# build information 2.45 +BuildPreReq: OpenPKG, openpkg >= 20100101 2.46 +PreReq: OpenPKG, openpkg >= 20100101 2.47 + 2.48 +%description 2.49 + Pixman is the pixel manipulation library of the Cairo project. 2.50 + It provides pixel region and image compositing APIs. 2.51 + 2.52 +%track 2.53 + prog libpixman = { 2.54 + version = %{version} 2.55 + url = http://cairographics.org/releases/ 2.56 + regex = pixman-(__VER__)\.tar\.gz 2.57 + } 2.58 + 2.59 +%prep 2.60 + %setup -q -n pixman-%{version} 2.61 + %patch -p0 2.62 + 2.63 +%build 2.64 + CC="%{l_cc}" \ 2.65 + CFLAGS="%{l_cflags -O}" \ 2.66 + ./configure \ 2.67 + --prefix=%{l_prefix} \ 2.68 + --disable-gtk \ 2.69 + --disable-shared 2.70 + %{l_make} %{l_mflags -O} 2.71 + 2.72 +%install 2.73 + %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 2.74 + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} 2.75 + 2.76 +%files -f files 2.77 + 2.78 +%clean 2.79 +