]> git.pld-linux.org Git - packages/icu-le-hb.git/blob - icu-le-hb.spec
- icu 67 rebuild
[packages/icu-le-hb.git] / icu-le-hb.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static libraries
4 #
5 Summary:        ICU Layout Engine API on top of HarfBuzz shaping library
6 Summary(pl.UTF-8):      API ICU Layout Engine oparte na bibliotece tworzenia kształtów HarfBuzz
7 Name:           icu-le-hb
8 Version:        1.0.3
9 Release:        7
10 License:        ICU (MIT-like)
11 Group:          Libraries
12 Source0:        http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.gz
13 # Source0-md5:  e9b6ad05e19597bb90d1aa087c149b23
14 Patch0:         %{name}-link.patch
15 URL:            http://www.freedesktop.org/wiki/HarfBuzz
16 BuildRequires:  autoconf >= 2.56
17 BuildRequires:  automake >= 1:1.9
18 BuildRequires:  harfbuzz-devel >= 1.0.3
19 BuildRequires:  libicu-devel
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  libtool >= 2:1.5
22 BuildRequires:  pkgconfig
23 Requires:       harfbuzz >= 1.0.3
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 icu-le-hb is a library implementing the ICU Layout Engine (icu-le) API
28 using external HarfBuzz library for implementation. This is useful as
29 a compatibility layer to make applications using ICU Layout Engine to
30 use HarfBuzz without porting them to use the HarfBuzz API.
31
32 %description -l pl.UTF-8
33 icu-le-hb to biblioteka implementująca API ICU Layout Engine (icu-le)
34 przy użyciu zewnętrznej biblioteki HarfBuzz. Jest przydatna jako
35 warstwa zgodności, aby aplikacje wykorzystujące silnik ICU Layout
36 Engine mogły używać biblioteki HarfBuzz bez potrzeby portowania do API
37 biblioteki HarfBuzz.
38
39 %package devel
40 Summary:        Header files for icu-le-hb library
41 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki icu-le-hb
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       harfbuzz-devel >= 1.0.3
45 Requires:       libicu-devel
46 Requires:       libstdc++-devel
47
48 %description devel
49 Header files for icu-le-hb library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki icu-le-hb.
53
54 %package static
55 Summary:        Static icu-le-hb library
56 Summary(pl.UTF-8):      Statyczna biblioteka icu-le-hb
57 Group:          Development/Libraries
58 Requires:       %{name}-devel = %{version}-%{release}
59
60 %description static
61 Static icu-le-hb library.
62
63 %description static -l pl.UTF-8
64 Statyczna biblioteka icu-le-hb.
65
66 %prep
67 %setup -q
68 %patch0 -p1
69
70 %build
71 %{__libtoolize}
72 %{__aclocal}
73 %{__autoconf}
74 %{__automake}
75 %configure \
76         %{!?with_static_libs:--disable-static}
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 # obsoleted by pkg-config
86 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libicu-le-hb.la
87
88 # conflict with libicu-devel (or: split libicu and package it in subpackage)
89 %{__rm} $RPM_BUILD_ROOT%{_pkgconfigdir}/icu-le.pc
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc AUTHORS COPYING NEWS README
100 %attr(755,root,root) %{_libdir}/libicu-le-hb.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libicu-le-hb.so.0
102
103 %files devel
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libicu-le-hb.so
106 %{_includedir}/icu-le-hb
107 %{_pkgconfigdir}/icu-le-hb.pc
108
109 %if %{with static_libs}
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libicu-le-hb.a
113 %endif
This page took 0.029633 seconds and 3 git commands to generate.