[Tizen-submit] 3008: New package Tizen:2.1:Main/freetype

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:15:08 GMT 2013


Hi,
Adding new package freetype in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/graphics/freetype
Tag: submit/tizen_2.1/20130424.231529
Commit: ed63c8d sync with master

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3008

  submit:       Tizen:2.1:Main:build/freetype(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/graphics/freetype
Tag: submit/tizen_2.1/20130424.231529
Commit: ed63c8d sync with master

State:   new        2013-04-24T15:45:47 tizenrobot
Comment: <no comment>
new:
----
  freetype-2.4.9.tar.gz
  freetype.manifest
  freetype.spec

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

++++++ new spec file:
--- freetype.spec
+++ freetype.spec
@@ -0,0 +1,107 @@
+Name:       freetype
+Summary:    A free and portable font rendering engine
+Version:    2.4.9
+Release:    1
+VCS:        framework/graphics/freetype#2.1_release-0-ged63c8d
+Group:      System/Libraries
+License:    FTL or GPLv2+
+URL:        http://www.freetype.org
+Source0:    http://download.savannah.gnu.org/releases-noredirect/freetype/freetype-%{version}.tar.gz
+Source1001: packaging/freetype.manifest
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Provides:   %{name}-bytecode
+
+
+%description
+The FreeType engine is a free and portable font rendering
+engine, developed to provide advanced font support for a variety of
+platforms and environments. FreeType is a library which can open and
+manages font files as well as efficiently load, hint and render
+individual glyphs. FreeType is not a font server or a complete
+text-rendering library.
+
+
+
+%package devel
+Summary:    FreeType development libraries and header files
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   zlib-devel
+Requires:   pkgconfig
+
+%description devel
+The freetype-devel package includes the static libraries and header files
+for the FreeType font rendering engine.
+
+Install freetype-devel if you want to develop programs which will use
+FreeType.
+
+
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+
+%configure --disable-static
+sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' builds/unix/libtool
+sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' builds/unix/libtool
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+%makeinstall gnulocaledir=$RPM_BUILD_ROOT%{_datadir}/locale
+
+
+# fix multilib issues
+%ifarch x86_64 s390x ia64 ppc64 alpha sparc64
+%define wordsize 64
+%else
+%define wordsize 32
+%endif
+
+mv $RPM_BUILD_ROOT%{_includedir}/freetype2/freetype/config/ftconfig.h \
+$RPM_BUILD_ROOT%{_includedir}/freetype2/freetype/config/ftconfig-%{wordsize}.h
+cat >$RPM_BUILD_ROOT%{_includedir}/freetype2/freetype/config/ftconfig.h <<EOF
+#ifndef __FTCONFIG_H__MULTILIB
+#define __FTCONFIG_H__MULTILIB
+
+#include <bits/wordsize.h>
+

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list