SPECS: crossmingw32-pixman.spec (NEW) - new

qboosh qboosh at pld-linux.org
Sun Apr 13 12:14:54 CEST 2008


Author: qboosh                       Date: Sun Apr 13 10:14:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   crossmingw32-pixman.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/crossmingw32-pixman.spec
diff -u /dev/null SPECS/crossmingw32-pixman.spec:1.1
--- /dev/null	Sun Apr 13 12:14:54 2008
+++ SPECS/crossmingw32-pixman.spec	Sun Apr 13 12:14:49 2008
@@ -0,0 +1,128 @@
+# $Revision$, $Date$
+Summary:	Pixel manipulation library - cross Mingw32
+Summary(pl.UTF-8):	Biblioteka operacji na pikselach - wersja skrośna Mingw32
+Name:		crossmingw32-pixman
+Version:	0.10.0
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+Source0:	http://xorg.freedesktop.org/archive/individual/lib/pixman-%{version}.tar.bz2
+# Source0-md5:	fb23e17a8a0308e8fad6dc153753ba9a
+URL:		http://xorg.freedesktop.org/
+BuildRequires:	autoconf >= 2.57
+BuildRequires:	automake
+BuildRequires:	crossmingw32-gcc
+BuildRequires:	crossmingw32-zlib
+BuildRequires:	libtool
+BuildRequires:	sed >= 4.0
+Requires:	crossmingw32-runtime
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		no_install_post_strip	1
+
+%define		target			i386-mingw32
+%define		target_platform 	i386-pc-mingw32
+
+%define		_sysprefix		/usr
+%define		_prefix			%{_sysprefix}/%{target}
+%define		_libdir			%{_prefix}/lib
+%define		_pkgconfigdir		%{_prefix}/lib/pkgconfig
+%define		_dlldir			/usr/share/wine/windows/system
+%define		__cc			%{target}-gcc
+%define		__cxx			%{target}-g++
+
+%description
+pixman is a pixel manipulation library.
+
+This package contains the cross version for Win32.
+
+%description -l pl.UTF-8
+pixman to biblioteka do operacji na pikselach.
+
+Ten pakiet zawiera wersję skrośną dla Win32.
+
+%package static
+Summary:	Static pixman library (cross mingw32 version)
+Summary(pl.UTF-8):	Statyczna biblioteka pixman (wersja skrośna mingw32)
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description static
+Static pixman library (cross mingw32 version).
+
+%description static -l pl.UTF-8
+Statyczna biblioteka pixman (wersja skrośna mingw32).
+
+%package dll
+Summary:	DLL pixman library for Windows
+Summary(pl.UTF-8):	Biblioteka DLL pixman dla Windows
+Group:		Applications/Emulators
+Requires:	wine
+
+%description dll
+DLL pixman library for Windows.
+
+%description dll -l pl.UTF-8
+Biblioteka DLL pixman dla Windows.
+
+%prep
+%setup -q -n pixman-%{version}
+
+# disable gtk-based test
+:> test/Makefile.am
+# needed to build dll
+sed -i -e 's/^libpixman_1_la_LDFLAGS =/& -no-undefined/' pixman/Makefile.am
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--target=%{target} \
+	--host=%{target}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_dlldir}
+mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
+
+%if 0%{!?debug:1}
+%{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
+%{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README TODO
+%{_libdir}/libpixman-1.dll.a
+%{_libdir}/libpixman-1.la
+%{_includedir}/pixman-1
+%{_pkgconfigdir}/pixman-1.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libpixman-1.a
+
+%files dll
+%defattr(644,root,root,755)
+%{_dlldir}/libpixman-1-*.dll
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-04-13 10:14:49  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list