]> git.pld-linux.org Git - packages/harfbuzz.git/blame - harfbuzz.spec
- graphite2 is also supported if found
[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
4e2c56b4 8Version: 0.9.3
cf468305
JB
9Release: 1
10License: MIT
11Group: Libraries
12Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2
4e2c56b4 13# Source0-md5: 883a40644d3b120b7013e11876ea5af3
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
21BuildRequires: pkgconfig
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}
38Requires: cairo-devel >= 1.8.0
39Requires: glib2-devel >= 1:2.16
e1674d2f 40Requires: graphite2-devel
cf468305
JB
41Requires: libstdc++-devel
42
43%description devel
44Header files for HarfBuzz library.
45
46%description devel -l pl.UTF-8
47Pliki nagłówkowe biblioteki HarfBuzz.
48
49%package static
50Summary: Static HarfBuzz library
51Summary(pl.UTF-8): Statyczna biblioteka HarfBuzz
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54
55%description static
56Static HarfBuzz library.
57
58%description static -l pl.UTF-8
59Statyczna biblioteka HarfBuzz.
60
61%package apidocs
62Summary: HarfBuzz API documentation
63Summary(pl.UTF-8): Dokumentacja API biblioteki HarfBuzz
64Group: Documentation
65
66%description apidocs
67API and internal documentation for HarfBuzz library.
68
69%description apidocs -l pl.UTF-8
70Dokumentacja API biblioteki HarfBuzz.
71
72%prep
73%setup -q
74
75%build
76%configure \
77 --disable-silent-rules \
78 %{?with_static_libs:--enable-static}
79%{__make}
80
e1674d2f
JB
81# missing
82cat >> harfbuzz.pc <<EOF
83Requires.private: glib-2.0 gobject-2.0 icu-uc freetype2 graphite2
84EOF
85
cf468305
JB
86%install
87rm -rf $RPM_BUILD_ROOT
88
89%{__make} install \
90 DESTDIR=$RPM_BUILD_ROOT
91
4e2c56b4 92%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
cf468305
JB
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
100%files
101%defattr(644,root,root,755)
102%doc COPYING ChangeLog README TODO
4e2c56b4
ŁK
103%attr(755,root,root) %{_bindir}/hb-ot-shape-closure
104%attr(755,root,root) %{_bindir}/hb-shape
cf468305
JB
105%attr(755,root,root) %{_bindir}/hb-view
106%attr(755,root,root) %{_libdir}/libharfbuzz.so.*.*.*
107%attr(755,root,root) %ghost %{_libdir}/libharfbuzz.so.0
108
109%files devel
110%defattr(644,root,root,755)
111%attr(755,root,root) %{_libdir}/libharfbuzz.so
cf468305
JB
112%{_includedir}/harfbuzz
113%{_pkgconfigdir}/harfbuzz.pc
114
115%if %{with static_libs}
116%files static
117%defattr(644,root,root,755)
118%{_libdir}/libharfbuzz.a
119%endif
This page took 0.040378 seconds and 4 git commands to generate.