From b1117ed8875493a28cccf959d0b5684a3d8c61ee Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 16 Jun 2011 20:51:14 +0300 Subject: [PATCH] Initial import (#713126) --- .gitignore | 1 + harfbuzz.spec | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 67 insertions(+) create mode 100644 harfbuzz.spec diff --git a/.gitignore b/.gitignore index e69de29..86074f0 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/harfbuzz-0.6.0.tar.bz2 diff --git a/harfbuzz.spec b/harfbuzz.spec new file mode 100644 index 0000000..4ac751e --- /dev/null +++ b/harfbuzz.spec @@ -0,0 +1,65 @@ +Name: harfbuzz +Version: 0.6.0 +Release: 1%{?dist} +Summary: Text shaping library + +License: MIT +URL: http://freedesktop.org/wiki/Software/HarfBuzz +Source0: http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-%{version}.tar.bz2 + +BuildRequires: cairo-devel +BuildRequires: freetype-devel +BuildRequires: glib2-devel +BuildRequires: libicu-devel + +%description +HarfBuzz is an implementation of the OpenType Layout engine. + + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static + +# Remove lib64 rpath +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + +make %{?_smp_mflags} V=1 + + +%install +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc COPYING README +%{_bindir}/hb-view +%{_libdir}/*.so.* + +%files devel +%{_includedir}/harfbuzz/ +%{_libdir}/*.so +%{_libdir}/pkgconfig/harfbuzz.pc + + +%changelog +* Tue Jun 14 2011 Kalev Lember - 0.6.0-1 +- Initial RPM release diff --git a/sources b/sources index e69de29..eb1a055 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +993807eb81ad61e08d50f28b57baf405 harfbuzz-0.6.0.tar.bz2