packages: harfbuzz/harfbuzz.spec (NEW) - new

qboosh qboosh at pld-linux.org
Fri Sep 30 18:04:48 CEST 2011


Author: qboosh                       Date: Fri Sep 30 16:04:48 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/harfbuzz:
   harfbuzz.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/harfbuzz/harfbuzz.spec
diff -u /dev/null packages/harfbuzz/harfbuzz.spec:1.1
--- /dev/null	Fri Sep 30 18:04:48 2011
+++ packages/harfbuzz/harfbuzz.spec	Fri Sep 30 18:04:43 2011
@@ -0,0 +1,122 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	HarfBuzz - internationalized text shaping library
+Summary(pl.UTF-8):	HarfBuzz - biblioteka rysująca tekst z obsługą wielu języków
+Name:		harfbuzz
+Version:	0.6.0
+Release:	1
+License:	MIT
+Group:		Libraries
+Source0:	http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2
+# Source0-md5:	993807eb81ad61e08d50f28b57baf405
+URL:		http://www.freedesktop.org/wiki/HarfBuzz
+BuildRequires:	cairo-devel >= 1.8.0
+BuildRequires:	freetype-devel >= 2
+BuildRequires:	glib2-devel >= 1:2.16
+BuildRequires:	libicu-devel
+BuildRequires:	libstdc++-devel
+BuildRequires:	pkgconfig
+Requires:	cairo >= 1.8.0
+Requires:	glib2 >= 1:2.16
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Internationalized OpenType text layout and rendering library.
+
+%description -l pl.UTF-8
+Biblioteka rozmieszczająca i rysująca tekst z fontów OpenType,
+obsługująca wiele języków.
+
+%package devel
+Summary:	Header files for HarfBuzz library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki HarfBuzz
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	cairo-devel >= 1.8.0
+Requires:	glib2-devel >= 1:2.16
+Requires:	libstdc++-devel
+
+%description devel
+Header files for HarfBuzz library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki HarfBuzz.
+
+%package static
+Summary:	Static HarfBuzz library
+Summary(pl.UTF-8):	Statyczna biblioteka HarfBuzz
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static HarfBuzz library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka HarfBuzz.
+
+%package apidocs
+Summary:	HarfBuzz API documentation
+Summary(pl.UTF-8):	Dokumentacja API biblioteki HarfBuzz
+Group:		Documentation
+
+%description apidocs
+API and internal documentation for HarfBuzz library.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API biblioteki HarfBuzz.
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--disable-silent-rules \
+	%{?with_static_libs:--enable-static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# .la kept - no .private dependencies in .pc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING ChangeLog README TODO
+%attr(755,root,root) %{_bindir}/hb-view
+%attr(755,root,root) %{_libdir}/libharfbuzz.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libharfbuzz.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libharfbuzz.so
+%{_libdir}/libharfbuzz.la
+%{_includedir}/harfbuzz
+%{_pkgconfigdir}/harfbuzz.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libharfbuzz.a
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/09/30 16:04:43  qboosh
+- new
+
================================================================


More information about the pld-cvs-commit mailing list