[Tizen-submit] 20370: New package Tizen:IVI:Genivi/python-cairo

noreply at tizen.org noreply at tizen.org
Fri Jan 31 03:19:57 GMT 2014


Hi,
Adding new package python-cairo in project Tizen:IVI:Genivi. Please review and accept ASAP.

Justification for this new package:

Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.031651
Git project: platform/upstream/python-cairo
Tag: submit/tizen_ivi_genivi/20140131.031651
Commit: 57fd7f1e0f60e7e685c4abae1200f75561973d67 resetting manifest requested domain to floor

Thank You,
Graydon, Tracy

[This message was auto-generated]

---

Request: #20370

  submit:       Tizen:IVI:Genivi:build/python-cairo(cleanup) -> Tizen:IVI:Genivi


Message:
Submitter: Graydon, Tracy <tracy.graydon at intel.com>
Comments: submit/tizen_ivi_genivi/20140131.031651
Git project: platform/upstream/python-cairo
Tag: submit/tizen_ivi_genivi/20140131.031651
Commit: 57fd7f1e0f60e7e685c4abae1200f75561973d67 resetting manifest requested domain to floor

State:   new        2014-01-31T03:21:53 tizenrobot
Comment: <no comment>
new:
----
  py2cairo-1.10.0.tar.bz2
  python-cairo.manifest
  python-cairo.spec

spec files:
-----------

++++++ new spec file:
--- python-cairo.spec
+++ python-cairo.spec
@@ -0,0 +1,57 @@
+Name:           python-cairo
+VCS:            platform/upstream/python-cairo#57fd7f1e0f60e7e685c4abae1200f75561973d67
+Version:        1.10.0
+Release:        0
+Summary:        Python Bindings for Cairo
+License:        LGPL-2.1+ or MPL-1.1
+Group:          Development/Libraries/Python
+# FIXME: on update, check if we still need to manually compile the byte-code in %%install
+Url:            http://www.cairographics.org/
+Source:         py2cairo-%{version}.tar.bz2
+Source1001: 	python-cairo.manifest
+BuildRequires:  cairo-devel
+BuildRequires:  fdupes
+BuildRequires:  python-devel
+
+%description
+Python bindings for cairo.
+
+%package devel
+Summary:        Headers for python-cairo
+Group:          Development/Libraries/C and C++
+Requires:       %name = %{version}
+Requires:       cairo-devel
+Requires:       python-devel
+
+%description devel
+Headers for python-cairo
+
+%prep
+%setup -n py2cairo-%{version}
+cp %{SOURCE1001} .
+
+%build
+export CFLAGS='%{optflags}'
+./waf configure --prefix=%{_prefix} --libdir=%{_libdir}
+./waf build
+
+%install
+./waf install --destdir=%{buildroot}
+# waf is broken and generated byte-code that references the build root, see http://code.google.com/p/waf/issues/detail?id=986
+%py_compile %{buildroot}/%{py_sitedir}
+%py_compile -O %{buildroot}/%{py_sitedir}
+%fdupes %{buildroot}/%{py_sitedir}
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%doc COPYING COPYING-*
+%{python_sitearch}/cairo/
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_includedir}/pycairo/
+%{_libdir}/pkgconfig/pycairo.pc
+
+%changelog

other changes:
--------------

++++++ py2cairo-1.10.0.tar.bz2 (new)

++++++ python-cairo.manifest (new)
--- python-cairo.manifest
+++ python-cairo.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>


More information about the Tizen-submit mailing list