]> git.pld-linux.org Git - packages/pango.git/blame - pango.spec
- updated to 1.48.0
[packages/pango.git] / pango.spec
CommitLineData
4548a4b0 1#
77eb1db2 2# Conditional build:
8b1c8047 3%bcond_without apidocs # disable gtk-doc
5f8250c9
JB
4%bcond_without libthai # thai-lang module
5%bcond_with sysprof # sysprof tracing support
239a12cd 6
22c8cfb6 7Summary: System for layout and rendering of internationalized text
f5b08396
ER
8Summary(pl.UTF-8): System renderowania międzynarodowego tekstu
9Summary(pt_BR.UTF-8): Sistema para layout e renderização de texto internacionalizado
22c8cfb6 10Name: pango
5f8250c9 11Version: 1.48.0
7cf5e600 12Release: 1
fe0b7782 13Epoch: 1
4c82e71c 14License: LGPL v2+
712888e1 15Group: X11/Libraries
5f8250c9
JB
16Source0: https://download.gnome.org/sources/pango/1.48/%{name}-%{version}.tar.xz
17# Source0-md5: ee5826242abd661fb5238e19b9e2e1aa
57fc5620 18URL: https://pango.gnome.org/
f8016c2f 19# cairo-ft cairo-pdf cairo-png cairo-ps cairo-xlib
5d95bfd7
JB
20BuildRequires: cairo-devel >= 1.12.10
21BuildRequires: cairo-gobject-devel >= 1.12.10
6d53487d 22BuildRequires: docbook-dtd412-xml
23BuildRequires: docbook-style-xsl
5f8250c9 24BuildRequires: fontconfig-devel >= 1:2.12.92
6d53487d 25BuildRequires: freetype-devel >= 2.1.7
83ef73dc 26BuildRequires: fribidi-devel >= 0.19.7
7cf5e600 27BuildRequires: glib2-devel >= 1:2.60.0
10174948 28BuildRequires: gobject-introspection-devel >= 0.9.5
c5af4488 29%if %{with apidocs}
f8016c2f 30BuildRequires: gtk-doc >= 1.15
c5af4488 31%endif
c7f8ca97 32BuildRequires: harfbuzz-devel >= 2.6.0
7cf5e600 33BuildRequires: harfbuzz-gobject-devel >= 2.6.0
2477e965 34%{?with_libthai:BuildRequires: libthai-devel >= 0.1.9}
5f8250c9 35BuildRequires: meson >= 0.54.0
21710c38 36BuildRequires: ninja >= 1.5
9526067d 37BuildRequires: perl-base
fc102159 38BuildRequires: pkgconfig
1ad2b379 39BuildRequires: python-modules
5f8250c9
JB
40BuildRequires: rpmbuild(macros) >= 1.752
41%{?with_sysprof:BuildRequires: sysprof-devel >= 3.38}
8a548634 42BuildRequires: tar >= 1:1.22
f67517b7
ER
43BuildRequires: xorg-lib-libX11-devel
44BuildRequires: xorg-lib-libXft-devel >= 2.1.0
f8016c2f 45BuildRequires: xorg-lib-libXrender-devel
8a548634 46BuildRequires: xz
5d95bfd7 47Requires: cairo >= 1.12.10
5f8250c9 48Requires: fontconfig-libs >= 1:2.12.92
6d53487d 49Requires: freetype >= 2.1.7
969bcaec 50Requires: fribidi >= 0.19.7
7cf5e600 51Requires: glib2 >= 1:2.60.0
c7f8ca97 52Requires: harfbuzz >= 2.6.0
54fdbbf8 53Obsoletes: libpango24
5932fede 54Obsoletes: pango-modules < 1:1.38.0-1
f28958a9 55BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
a6b89e6e 56
a6b89e6e 57%description
58System for layout and rendering of internationalized text.
59
22bfacc6
JR
60%description -l pl.UTF-8
61System obsługi i renderowania międzynarodowego tekstu.
a6bc9fc7 62
22bfacc6
JR
63%description -l pt_BR.UTF-8
64Pango é um sistema para layout e renderização de texto
ce4a83d9 65internacionalizado.
66
3d718a03
JP
67%package tools
68Summary: Pango tools
69Summary(pl.UTF-8): Narzędzia pango
a15f5a43
JR
70Group: X11/Applications
71Requires: %{name} = %{epoch}:%{version}-%{release}
3d718a03 72Obsoletes: pango-view < 1:1.42.2
a15f5a43 73
3d718a03
JP
74%description tools
75Pango tools:
76- text viewer
77- list availabe fonts
a15f5a43 78
3d718a03
JP
79%description tools -l pl.UTF-8
80Narzędzia pango:
81- przeglądarka tekstu
82- wyświetlanie dostępnych fontów
a15f5a43 83
a6b89e6e 84%package devel
01a1eef9
JB
85Summary: Header files for Pango libraries
86Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Pango
712888e1 87Group: X11/Development/Libraries
fe0b7782 88Requires: %{name} = %{epoch}:%{version}-%{release}
5d95bfd7 89Requires: cairo-devel >= 1.12.10
5f8250c9 90Requires: fontconfig-devel >= 1:2.12.92
6d53487d 91Requires: freetype-devel >= 2.1.7
969bcaec 92Requires: fribidi-devel >= 0.19.7
7cf5e600 93Requires: glib2-devel >= 1:2.60.0
c7f8ca97 94Requires: harfbuzz-devel >= 2.6.0
5abf4470 95%{?with_libthai:Requires: libthai-devel >= 0.1.9}
f67517b7
ER
96Requires: xorg-lib-libX11-devel
97Requires: xorg-lib-libXft-devel >= 2.1.0
54fdbbf8 98Obsoletes: libpango24-devel
a6b89e6e 99
100%description devel
01a1eef9 101Header files for Pango libraries.
a6bc9fc7 102
22bfacc6 103%description devel -l pl.UTF-8
01a1eef9 104Pliki nagłówkowe bibliotek Pango.
ce4a83d9 105
89bc8f01 106%package static
73d98c3b 107Summary: Static pango libraries
f5b08396 108Summary(pl.UTF-8): Biblioteki statyczne pango
712888e1 109Group: X11/Development/Libraries
fe0b7782 110Requires: %{name}-devel = %{epoch}:%{version}-%{release}
89bc8f01 111
112%description static
73d98c3b 113Static pango libraries.
89bc8f01 114
22bfacc6 115%description static -l pl.UTF-8
73d98c3b 116Biblioteki statyczne pango.
89bc8f01 117
518211d5 118%package modules
01a1eef9
JB
119Summary: Pango modules for various scripts
120Summary(pl.UTF-8): Moduły Pango dla różnych systemów pisma
518211d5 121Group: X11/Development/Libraries
f7e43318 122Requires(post,postun): %{name} = %{epoch}:%{version}-%{release}
fe0b7782 123Requires: %{name} = %{epoch}:%{version}-%{release}
75372f11 124%{?with_libthai:Requires: libthai >= 0.1.9}
518211d5 125
126%description modules
01a1eef9 127Pango is a system for layout and rendering of internationalized text.
518211d5 128
129This package contains pango modules for: arabic, bengali, devanagari,
130gujarati, gurmukhi, hangul, hebrew, indic, myanmar, tamil, thai.
131
22bfacc6 132%description modules -l pl.UTF-8
01a1eef9 133Pango to system obsługi i renderowania międzynarodowego tekstu.
518211d5 134
22bfacc6 135Pakiet zawiera moduły pango dla języków: arabic, bengali, devanagari,
518211d5 136gujarati, gurmukhi, hangul, hebrew, indic, myanmar, tamil, thai.
137
21e03050
JB
138%package apidocs
139Summary: Pango API documentation
f5b08396 140Summary(pl.UTF-8): Dokumentacja API pango
21e03050
JB
141Group: Documentation
142Requires: gtk-doc-common
5f8250c9 143%{?noarchpackage}
21e03050
JB
144
145%description apidocs
146Pango API documentation.
147
22bfacc6 148%description apidocs -l pl.UTF-8
21e03050
JB
149Dokumentacja API pango.
150
9b50e132
MB
151%package examples
152Summary: pango - example programs
153Summary(pl.UTF-8): pango - przykładowe programy
154Group: X11/Development/Libraries
5f8250c9 155%{?noarchpackage}
9b50e132
MB
156
157%description examples
158pango - example programs.
159
160%description examples -l pl.UTF-8
161pango - przykładowe programy.
162
a6b89e6e 163%prep
a08120ab 164%setup -q
a6b89e6e 165
166%build
300b5824 167%meson build \
5f8250c9
JB
168 -Dgtk_doc=%{__true_false apidocs} \
169 %{?with_sysprof:-Dsysprof=enabled}
300b5824
JP
170
171%ninja_build -C build
a6b89e6e 172
173%install
174rm -rf $RPM_BUILD_ROOT
5932fede 175install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
a6bc9fc7 176
300b5824 177%ninja_install -C build
dc501d35 178
9b50e132
MB
179cp examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
180
a6b89e6e 181%clean
182rm -rf $RPM_BUILD_ROOT
183
8fc43188
JB
184%post -p /sbin/ldconfig
185%postun -p /sbin/ldconfig
fc102159 186
a6b89e6e 187%files
22c8cfb6 188%defattr(644,root,root,755)
300b5824 189%doc NEWS README.md THANKS
21f2d1ad 190%attr(755,root,root) %{_libdir}/libpango-1.0.so.*.*.*
ea049355 191%attr(755,root,root) %ghost %{_libdir}/libpango-1.0.so.0
21f2d1ad 192%attr(755,root,root) %{_libdir}/libpangocairo-1.0.so.*.*.*
ea049355 193%attr(755,root,root) %ghost %{_libdir}/libpangocairo-1.0.so.0
21f2d1ad 194%attr(755,root,root) %{_libdir}/libpangoft2-1.0.so.*.*.*
ea049355 195%attr(755,root,root) %ghost %{_libdir}/libpangoft2-1.0.so.0
21f2d1ad 196%attr(755,root,root) %{_libdir}/libpangoxft-1.0.so.*.*.*
ea049355 197%attr(755,root,root) %ghost %{_libdir}/libpangoxft-1.0.so.0
21710c38
JB
198%{_libdir}/girepository-1.0/Pango-1.0.typelib
199%{_libdir}/girepository-1.0/PangoCairo-1.0.typelib
200%{_libdir}/girepository-1.0/PangoFT2-1.0.typelib
e92618c7
JP
201%{_libdir}/girepository-1.0/PangoFc-1.0.typelib
202%{_libdir}/girepository-1.0/PangoOT-1.0.typelib
21710c38 203%{_libdir}/girepository-1.0/PangoXft-1.0.typelib
a15f5a43 204
3d718a03 205%files tools
a15f5a43 206%defattr(644,root,root,755)
3d718a03 207%attr(755,root,root) %{_bindir}/pango-list
a15f5a43 208%attr(755,root,root) %{_bindir}/pango-view
5f9c4bf0 209%{_mandir}/man1/pango-view.1*
910f71d7 210
a6b89e6e 211%files devel
22c8cfb6 212%defattr(644,root,root,755)
21f2d1ad
MB
213%attr(755,root,root) %{_libdir}/libpango-1.0.so
214%attr(755,root,root) %{_libdir}/libpangocairo-1.0.so
215%attr(755,root,root) %{_libdir}/libpangoft2-1.0.so
21f2d1ad 216%attr(755,root,root) %{_libdir}/libpangoxft-1.0.so
21710c38
JB
217%{_datadir}/gir-1.0/Pango-1.0.gir
218%{_datadir}/gir-1.0/PangoCairo-1.0.gir
219%{_datadir}/gir-1.0/PangoFT2-1.0.gir
e92618c7
JP
220%{_datadir}/gir-1.0/PangoFc-1.0.gir
221%{_datadir}/gir-1.0/PangoOT-1.0.gir
21710c38
JB
222%{_datadir}/gir-1.0/PangoXft-1.0.gir
223%{_includedir}/pango-1.0
21f2d1ad
MB
224%{_pkgconfigdir}/pango.pc
225%{_pkgconfigdir}/pangocairo.pc
7cf5e600 226%{_pkgconfigdir}/pangofc.pc
21f2d1ad 227%{_pkgconfigdir}/pangoft2.pc
7cf5e600 228%{_pkgconfigdir}/pangoot.pc
21f2d1ad 229%{_pkgconfigdir}/pangoxft.pc
89bc8f01 230
231%files static
232%defattr(644,root,root,755)
21f2d1ad
MB
233%{_libdir}/libpango-1.0.a
234%{_libdir}/libpangocairo-1.0.a
235%{_libdir}/libpangoft2-1.0.a
21f2d1ad 236%{_libdir}/libpangoxft-1.0.a
518211d5 237
21e03050
JB
238%if %{with apidocs}
239%files apidocs
240%defattr(644,root,root,755)
241%{_gtkdocdir}/pango
242%endif
9b50e132
MB
243
244%files examples
245%defattr(644,root,root,755)
246%{_examplesdir}/%{name}-%{version}
This page took 0.08655 seconds and 4 git commands to generate.