From 9e750a4bbfdf5dea9e3368e097fa45826da259cd9702721e7b11fbf978c3eded Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Fri, 7 Sep 2012 15:29:55 +0000 Subject: [PATCH] Accepting request 132819 from GNOME:Next New package, needed by pango OBS-URL: https://build.opensuse.org/request/show/132819 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/harfbuzz?expand=0&rev=1 --- .gitattributes | 23 ++++++++++ .gitignore | 1 + baselibs.conf | 1 + harfbuzz-0.9.3.tar.bz2 | 3 ++ harfbuzz.changes | 5 +++ harfbuzz.spec | 98 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 131 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 harfbuzz-0.9.3.tar.bz2 create mode 100644 harfbuzz.changes create mode 100644 harfbuzz.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..b733ce8 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libharfbuzz0 diff --git a/harfbuzz-0.9.3.tar.bz2 b/harfbuzz-0.9.3.tar.bz2 new file mode 100644 index 0000000..87740b6 --- /dev/null +++ b/harfbuzz-0.9.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02fbe8375dbbc7240cbb9183695359843a6c9fa52f6d0a6534edefc383f5b04d +size 717318 diff --git a/harfbuzz.changes b/harfbuzz.changes new file mode 100644 index 0000000..81b6592 --- /dev/null +++ b/harfbuzz.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Aug 21 15:43:57 UTC 2012 - vuntz@opensuse.org + +- Initial package (version 0.9.3). + diff --git a/harfbuzz.spec b/harfbuzz.spec new file mode 100644 index 0000000..efb8b4d --- /dev/null +++ b/harfbuzz.spec @@ -0,0 +1,98 @@ +# +# spec file for package harfbuzz +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: harfbuzz +Version: 0.9.3 +Release: 0 +# FIXME: graphite2 is not packaged / http://projects.palaso.org/projects/graphitedev +Summary: An OpenType text shaping engine +License: MIT +Group: Productivity/Text/Utilities +Url: http://www.freedesktop.org/wiki/Software/HarfBuzz +Source: http://www.freedesktop.org/software/harfbuzz/release//%{name}-%{version}.tar.bz2 +Source99: baselibs.conf +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(cairo) >= 1.8.0 +BuildRequires: pkgconfig(cairo-ft) +BuildRequires: pkgconfig(freetype2) >= 2.3.8 +BuildRequires: pkgconfig(glib-2.0) >= 2.16 +BuildRequires: pkgconfig(gobject-2.0) +#BuildRequires: pkgconfig(graphite2) +BuildRequires: pkgconfig(gthread-2.0) +BuildRequires: pkgconfig(icu-uc) +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +HarfBuzz is an OpenType text shaping engine. + +%package -n libharfbuzz0 +Summary: An OpenType text shaping engine +Group: System/Libraries + +%description -n libharfbuzz0 +HarfBuzz is an OpenType text shaping engine. + +%package tools +Summary: An OpenType text shaping engine -- Tools +Group: Productivity/Text/Utilities + +%description tools +HarfBuzz is an OpenType text shaping engine. + +%package devel +Summary: An OpenType text shaping engine -- Development Files +Group: Development/Libraries/C and C++ +Requires: libharfbuzz0 = %{version} + +%description devel +HarfBuzz is an OpenType text shaping engine. + +%prep +%setup -q + +%build +%configure \ + --disable-static +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n libharfbuzz0 -p /sbin/ldconfig + +%postun -n libharfbuzz0 -p /sbin/ldconfig + +%files -n libharfbuzz0 +%defattr(-,root,root) +%doc AUTHORS COPYING NEWS README THANKS +%{_libdir}/libharfbuzz.so.0* + +%files tools +%defattr(-,root,root) +%{_bindir}/hb-ot-shape-closure +%{_bindir}/hb-shape +%{_bindir}/hb-view + +%files devel +%defattr(-,root,root) +%{_includedir}/harfbuzz/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/harfbuzz.pc + +%changelog