Initial import (#713126)
This commit is contained in:
parent
e127e63d85
commit
b1117ed887
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/harfbuzz-0.6.0.tar.bz2
|
65
harfbuzz.spec
Normal file
65
harfbuzz.spec
Normal file
@ -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 <kalev@smartlink.ee> - 0.6.0-1
|
||||
- Initial RPM release
|
Loading…
Reference in New Issue
Block a user