]> git.pld-linux.org Git - packages/harfbuzz.git/blame - harfbuzz.spec
- new
[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
8Version: 0.6.0
9Release: 1
10License: MIT
11Group: Libraries
12Source0: http://www.freedesktop.org/software/harfbuzz/release/%{name}-%{version}.tar.bz2
13# Source0-md5: 993807eb81ad61e08d50f28b57baf405
14URL: http://www.freedesktop.org/wiki/HarfBuzz
15BuildRequires: cairo-devel >= 1.8.0
16BuildRequires: freetype-devel >= 2
17BuildRequires: glib2-devel >= 1:2.16
18BuildRequires: libicu-devel
19BuildRequires: libstdc++-devel
20BuildRequires: pkgconfig
21Requires: cairo >= 1.8.0
22Requires: glib2 >= 1:2.16
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Internationalized OpenType text layout and rendering library.
27
28%description -l pl.UTF-8
29Biblioteka rozmieszczająca i rysująca tekst z fontów OpenType,
30obsługująca wiele języków.
31
32%package devel
33Summary: Header files for HarfBuzz library
34Summary(pl.UTF-8): Pliki nagłówkowe biblioteki HarfBuzz
35Group: Development/Libraries
36Requires: %{name} = %{version}-%{release}
37Requires: cairo-devel >= 1.8.0
38Requires: glib2-devel >= 1:2.16
39Requires: libstdc++-devel
40
41%description devel
42Header files for HarfBuzz library.
43
44%description devel -l pl.UTF-8
45Pliki nagłówkowe biblioteki HarfBuzz.
46
47%package static
48Summary: Static HarfBuzz library
49Summary(pl.UTF-8): Statyczna biblioteka HarfBuzz
50Group: Development/Libraries
51Requires: %{name}-devel = %{version}-%{release}
52
53%description static
54Static HarfBuzz library.
55
56%description static -l pl.UTF-8
57Statyczna biblioteka HarfBuzz.
58
59%package apidocs
60Summary: HarfBuzz API documentation
61Summary(pl.UTF-8): Dokumentacja API biblioteki HarfBuzz
62Group: Documentation
63
64%description apidocs
65API and internal documentation for HarfBuzz library.
66
67%description apidocs -l pl.UTF-8
68Dokumentacja API biblioteki HarfBuzz.
69
70%prep
71%setup -q
72
73%build
74%configure \
75 --disable-silent-rules \
76 %{?with_static_libs:--enable-static}
77%{__make}
78
79%install
80rm -rf $RPM_BUILD_ROOT
81
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT
84
85# .la kept - no .private dependencies in .pc
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
92
93%files
94%defattr(644,root,root,755)
95%doc COPYING ChangeLog README TODO
96%attr(755,root,root) %{_bindir}/hb-view
97%attr(755,root,root) %{_libdir}/libharfbuzz.so.*.*.*
98%attr(755,root,root) %ghost %{_libdir}/libharfbuzz.so.0
99
100%files devel
101%defattr(644,root,root,755)
102%attr(755,root,root) %{_libdir}/libharfbuzz.so
103%{_libdir}/libharfbuzz.la
104%{_includedir}/harfbuzz
105%{_pkgconfigdir}/harfbuzz.pc
106
107%if %{with static_libs}
108%files static
109%defattr(644,root,root,755)
110%{_libdir}/libharfbuzz.a
111%endif
This page took 0.066189 seconds and 4 git commands to generate.