]> git.pld-linux.org Git - packages/harfbuzz.git/blame - harfbuzz.spec
- updated to 0.9.12
[packages/harfbuzz.git] / harfbuzz.spec
CommitLineData
cf468305
JB
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
5Summary: HarfBuzz - internationalized text shaping library
6Summary(pl.UTF-8): HarfBuzz - biblioteka rysująca tekst z obsługą wielu języków
7Name: harfbuzz
aa251187 8Version: 0.9.12
d9ba18f6 9Release: 1
cf468305
JB
10License: MIT
11Group: Libraries
12Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2
aa251187 13# Source0-md5: 35551b8cdf53b75aa9c42460f210e89f
cf468305
JB
14URL: http://www.freedesktop.org/wiki/HarfBuzz
15BuildRequires: cairo-devel >= 1.8.0
4e2c56b4 16BuildRequires: freetype-devel >= 2.3.8
e1674d2f 17BuildRequires: graphite2-devel
cf468305
JB
18BuildRequires: glib2-devel >= 1:2.16
19BuildRequires: libicu-devel
20BuildRequires: libstdc++-devel
d9ba18f6 21BuildRequires: pkgconfig >= 1:0.20
cf468305
JB
22Requires: cairo >= 1.8.0
23Requires: glib2 >= 1:2.16
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27Internationalized OpenType text layout and rendering library.
28
29%description -l pl.UTF-8
30Biblioteka rozmieszczająca i rysująca tekst z fontów OpenType,
31obsługująca wiele języków.
32
33%package devel
34Summary: Header files for HarfBuzz library
35Summary(pl.UTF-8): Pliki nagłówkowe biblioteki HarfBuzz
36Group: Development/Libraries
37Requires: %{name} = %{version}-%{release}
b91a948b 38Requires: freetype-devel >= 2.3.8
cf468305 39Requires: glib2-devel >= 1:2.16
e1674d2f 40Requires: graphite2-devel
b91a948b 41Requires: libicu-devel
cf468305
JB
42Requires: libstdc++-devel
43
44%description devel
45Header files for HarfBuzz library.
46
47%description devel -l pl.UTF-8
48Pliki nagłówkowe biblioteki HarfBuzz.
49
50%package static
51Summary: Static HarfBuzz library
52Summary(pl.UTF-8): Statyczna biblioteka HarfBuzz
53Group: Development/Libraries
54Requires: %{name}-devel = %{version}-%{release}
55
56%description static
57Static HarfBuzz library.
58
59%description static -l pl.UTF-8
60Statyczna biblioteka HarfBuzz.
61
62%package apidocs
63Summary: HarfBuzz API documentation
64Summary(pl.UTF-8): Dokumentacja API biblioteki HarfBuzz
65Group: Documentation
66
67%description apidocs
68API and internal documentation for HarfBuzz library.
69
70%description apidocs -l pl.UTF-8
71Dokumentacja API biblioteki HarfBuzz.
72
73%prep
74%setup -q
75
76%build
77%configure \
78 --disable-silent-rules \
79 %{?with_static_libs:--enable-static}
80%{__make}
81
e1674d2f
JB
82# missing
83cat >> harfbuzz.pc <<EOF
bf075999 84Requires.private: glib-2.0 gobject-2.0 icu-le icu-uc freetype2 graphite2
e1674d2f
JB
85EOF
86
cf468305
JB
87%install
88rm -rf $RPM_BUILD_ROOT
89
b832ba9c
JB
90# parallel install broken (hb-version.h both in pkginclude_HEADERS and
91# nodist_pkginclude_HEADERS)
92%{__make} -j1 install \
cf468305
JB
93 DESTDIR=$RPM_BUILD_ROOT
94
4e2c56b4 95%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
cf468305
JB
96
97%clean
98rm -rf $RPM_BUILD_ROOT
99
100%post -p /sbin/ldconfig
101%postun -p /sbin/ldconfig
102
103%files
104%defattr(644,root,root,755)
105%doc COPYING ChangeLog README TODO
4e2c56b4
ŁK
106%attr(755,root,root) %{_bindir}/hb-ot-shape-closure
107%attr(755,root,root) %{_bindir}/hb-shape
cf468305
JB
108%attr(755,root,root) %{_bindir}/hb-view
109%attr(755,root,root) %{_libdir}/libharfbuzz.so.*.*.*
110%attr(755,root,root) %ghost %{_libdir}/libharfbuzz.so.0
111
112%files devel
113%defattr(644,root,root,755)
114%attr(755,root,root) %{_libdir}/libharfbuzz.so
cf468305
JB
115%{_includedir}/harfbuzz
116%{_pkgconfigdir}/harfbuzz.pc
117
118%if %{with static_libs}
119%files static
120%defattr(644,root,root,755)
121%{_libdir}/libharfbuzz.a
122%endif
This page took 0.130726 seconds and 4 git commands to generate.