]> git.pld-linux.org Git - packages/harfbuzz.git/blame - harfbuzz.spec
- updated to 0.9.5
[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
d9ba18f6
JB
8Version: 0.9.5
9Release: 1
cf468305
JB
10License: MIT
11Group: Libraries
12Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2
d9ba18f6 13# Source0-md5: 4a1356c5c5dbfdc661f1cf6600df6265
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
90%{__make} install \
91 DESTDIR=$RPM_BUILD_ROOT
92
4e2c56b4 93%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
cf468305
JB
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%post -p /sbin/ldconfig
99%postun -p /sbin/ldconfig
100
101%files
102%defattr(644,root,root,755)
103%doc COPYING ChangeLog README TODO
4e2c56b4
ŁK
104%attr(755,root,root) %{_bindir}/hb-ot-shape-closure
105%attr(755,root,root) %{_bindir}/hb-shape
cf468305
JB
106%attr(755,root,root) %{_bindir}/hb-view
107%attr(755,root,root) %{_libdir}/libharfbuzz.so.*.*.*
108%attr(755,root,root) %ghost %{_libdir}/libharfbuzz.so.0
109
110%files devel
111%defattr(644,root,root,755)
112%attr(755,root,root) %{_libdir}/libharfbuzz.so
cf468305
JB
113%{_includedir}/harfbuzz
114%{_pkgconfigdir}/harfbuzz.pc
115
116%if %{with static_libs}
117%files static
118%defattr(644,root,root,755)
119%{_libdir}/libharfbuzz.a
120%endif
This page took 0.035946 seconds and 4 git commands to generate.