[Tizen-submit] 3007: New package Tizen:2.1:Main/fontconfig

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:14:57 GMT 2013


Hi,
Adding new package fontconfig 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/fontconfig
Tag: submit/tizen_2.1/20130424.231518
Commit: 1ff13a8 merge with master

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3007

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


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/graphics/fontconfig
Tag: submit/tizen_2.1/20130424.231518
Commit: 1ff13a8 merge with master

State:   new        2013-04-24T15:45:36 tizenrobot
Comment: <no comment>
new:
----
  fontconfig-2.9.0.tar.gz
  fontconfig.manifest
  fontconfig.spec

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

++++++ new spec file:
--- fontconfig.spec
+++ fontconfig.spec
@@ -0,0 +1,133 @@
+#sbs-git:slp/pkgs/f/fontconfig fontconfig 2.6.0 70f07428c05d43eef8009f4dfbe28723b040e865
+%global freetype_version 2.1.4
+
+Name:       fontconfig
+Summary:    Font configuration and customization library
+Version:    2.9.0
+Release:    2
+VCS:        framework/graphics/fontconfig#2.1_release-0-g1ff13a8
+Group:      System/Libraries
+License:    MIT
+URL:        http://fontconfig.org
+Source0:    http://fontconfig.org/release/fontconfig-%{version}.tar.gz
+Source1001: packaging/fontconfig.manifest
+Requires(pre): /usr/bin/fc-cache, /bin/mkdir /bin/rm, /bin/grep
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires:  pkgconfig(freetype2) >= %{freetype_version}
+BuildRequires:  gawk
+BuildRequires:  expat-devel
+BuildRequires:  perl
+
+%description
+Fontconfig is designed to locate fonts within the
+system and select them according to requirements specified by
+applications.
+
+%package devel
+Summary:    Font configuration and customization library
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+Requires:   fontconfig = %{version}-%{release}
+Requires:   freetype-devel >= %{freetype_version}
+Requires:   pkgconfig
+
+%description devel
+The fontconfig-devel package includes the header files,
+and developer docs for the fontconfig package.
+
+Install fontconfig-devel if you want to develop programs which
+will use fontconfig.
+
+%prep
+%setup -q -n %{name}-%{version}
+
+%build
+cp %{SOURCE1001} .
+# We don't want to rebuild the docs, but we want to install the included ones.
+export HASDOCBOOK=no
+
+%reconfigure --disable-static \
+    --with-expat=/usr \
+    --with-expat-include=%{_includedir} \
+    --with-expat-lib=%{_libdir} \
+    --with-freetype-config=%{_bindir}/freetype-config \
+    --with-add-fonts=/opt/share/fonts,/usr/share/app_fonts,/usr/share/fallback_fonts \
+    --with-cache-dir=/var/cache/fontconfig \
+    --with-confdir=/usr/etc/fonts \
+    --disable-docs
+
+make %{?jobs:-j%jobs}
+
+make check
+%install
+rm -rf %{buildroot}
+
+%make_install
+
+#install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+#install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
+#install -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
+#ln -s ../conf.avail/25-unhint-nonlatin.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+#ln -s ../conf.avail/10-autohint.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
+#ln -s ../conf.avail/10-antialias.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d

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


More information about the Tizen-submit mailing list