From 214fe00a03c084e9776a9898c47a4986cdfd8b6d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 14 May 2014 09:55:32 +0300 Subject: [PATCH] split -progs to get cairo deps out of main package --- harfbuzz.spec | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/harfbuzz.spec b/harfbuzz.spec index c3b4697..10e5dc8 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -9,7 +9,7 @@ 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.9.28 -Release: 1.1 +Release: 2 License: MIT Group: Libraries Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2 @@ -24,7 +24,6 @@ BuildRequires: gtk-doc >= 1.15 %{?with_icu:BuildRequires: libicu-devel} BuildRequires: libstdc++-devel BuildRequires: pkgconfig >= 1:0.20 -Requires: cairo >= 1.8.0 Requires: freetype >= 2.3.8 Requires: glib2 >= 1:2.16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -68,6 +67,7 @@ Statyczna biblioteka HarfBuzz. Summary: Harfbuzz GObject interface Summary(pl.UTF-8): Interfejs GObject do Harfbuzz Group: Libraries +Requires: %{name} = %{version}-%{release} %description gobject Harfbuzz GObject interface. @@ -140,6 +140,15 @@ Static HarfBuzz ICU library. %description icu-static -l pl.UTF-8 Biblioteka statyczna HarfBuzz ICU. +%package progs +Summary: HarfBuzz programs +Group: Libraries +Requires: %{name} = %{version}-%{release} +Requires: cairo >= 1.8.0 + +%description progs +HarfBuzz programs. + %package apidocs Summary: HarfBuzz API documentation Summary(pl.UTF-8): Dokumentacja API bibliotek HarfBuzz @@ -199,9 +208,6 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO -%attr(755,root,root) %{_bindir}/hb-ot-shape-closure -%attr(755,root,root) %{_bindir}/hb-shape -%attr(755,root,root) %{_bindir}/hb-view %attr(755,root,root) %{_libdir}/libharfbuzz.so.*.*.* %attr(755,root,root) %ghost %{_libdir}/libharfbuzz.so.0 @@ -275,6 +281,12 @@ rm -rf $RPM_BUILD_ROOT %endif %endif +%files progs +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/hb-ot-shape-closure +%attr(755,root,root) %{_bindir}/hb-shape +%attr(755,root,root) %{_bindir}/hb-view + %files apidocs %defattr(644,root,root,755) %{_gtkdocdir}/harfbuzz -- 2.44.0