]> git.pld-linux.org Git - packages/pango.git/blob - pango.spec
- more merges
[packages/pango.git] / pango.spec
1 Summary:        System for layout and rendering of internationalized text
2 Summary(pl):    System renderowania miêdzynarodowego tekstu
3 Summary(pt_BR): Sistema para layout e renderização de texto internacionalizado
4 Name:           pango
5 Version:        1.0.5
6 Release:        2
7 License:        LGPL
8 Group:          X11/Libraries
9 Source0:        ftp://ftp.gtk.org/pub/gtk/v2.0/%{name}-%{version}.tar.bz2
10 Patch0:         %{name}-am_ac.patch
11 URL:            http://www.pango.org/
12 Requires:       freetype >= 2.1.2
13 BuildRequires:  XFree86-devel
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  freetype-devel >= 2.0.1
17 BuildRequires:  glib2-devel >= 2.0.1
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes:      libpango24
22
23 %define         _prefix         /usr/X11R6
24 %define         _mandir         %{_prefix}/man
25 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
26
27 # pango is not GNOME-specific
28 %define         _sysconfdir     /etc/X11
29
30 %description
31 System for layout and rendering of internationalized text.
32
33 %description -l pl
34 System obs³ugi i renderowania miêdzynarodowego tekstu.
35
36 %description -l pt_BR
37 Pango é um sistema para layout e renderização de texto
38 internacionalizado.
39
40 %package devel
41 Summary:        System for layout and rendering of internationalized text
42 Summary(pl):    System obs³ugi i renderowania miêdzynarodowego tekstu
43 Summary(pt_BR): Sistema para layout e renderização de texto internacionalizado
44 Group:          X11/Development/Libraries
45 Requires:       %{name} = %{version}
46 Requires:       gtk-doc-common
47 Obsoletes:      libpango24-devel
48
49 %description devel
50 Developer files for pango.
51
52 %description devel -l pl
53 Pliki developerskie pango.
54
55 %description devel -l pt_BR
56 Pango é um sistema para layout e renderização de texto
57 internacionalizado.
58
59 %package static
60 Summary:        Static %{name} libraries
61 Summary(pl):    Biblioteki statyczne %{name}
62 Summary(pt_BR): Sistema para layout e renderização de texto internacionalizado
63 Group:          X11/Development/Libraries
64 Requires:       %{name}-devel = %{version}
65
66 %description static
67 Static %{name} libraries.
68
69 %description static -l pl
70 Biblioteki statyczne %{name}.
71
72 %description static -l pt_BR
73 Pango é um sistema para layout e renderização de texto
74 internacionalizado.
75
76 %package modules
77 Summary:        System for layout and rendering of internationalized text
78 Summary(pl):    System obs³ugi i renderowania miêdzynarodowego tekstu
79 Summary(pt_BR): Sistema para layout e renderização de texto internacionalizado
80 Group:          X11/Development/Libraries
81 Requires:       %{name} = %{version}
82
83 %description modules
84 System for layout and rendering of internationalized text.
85
86 This package contains pango modules for: arabic, bengali, devanagari,
87 gujarati, gurmukhi, hangul, hebrew, indic, myanmar, tamil, thai.
88
89 %description modules -l pl
90 System obs³ugi i renderowania miêdzynarodowego tekstu.
91
92 Pakiet zawiera modu³y pango dla jêzyków: arabic, bengali, devanagari,
93 gujarati, gurmukhi, hangul, hebrew, indic, myanmar, tamil, thai.
94
95 %description modules -l pt_BR
96 Pango é um sistema para layout e renderização de texto
97 internacionalizado.
98
99 %prep
100 %setup -q
101 %patch0 -p1
102
103 %build
104 rm -f missing acinclude.m4
105 %{__libtoolize}
106 %{__aclocal}
107 %{__autoconf}
108 %{__automake}
109 %configure \
110         --with-fribidi \
111         --enable-gtk-doc \
112         --with-html-dir=%{_gtkdocdir} \
113         --enable-static
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT \
121         pkgconfigdir=%{_pkgconfigdir} \
122         HTML_DIR=%{_gtkdocdir}
123
124 > $RPM_BUILD_ROOT%{_sysconfdir}/pango/pango.modules
125
126 %clean
127 rm -rf $RPM_BUILD_ROOT
128
129 %post
130 /sbin/ldconfig
131 umask 022
132 %{_bindir}/pango-querymodules > %{_sysconfdir}/pango/pango.modules
133
134 %postun -p /sbin/ldconfig
135
136 %files
137 %defattr(644,root,root,755)
138 %doc README AUTHORS examples/HELLO.utf8
139 %attr(755,root,root) %{_bindir}/pango-querymodules
140 %attr(755,root,root) %{_libdir}/lib*.so.*.*
141 %dir %{_libdir}/pango
142 %dir %{_libdir}/pango/1.0.0
143 %dir %{_libdir}/pango/1.0.0/modules
144 %attr(755,root,root) %{_libdir}/pango/1.0.0/modules/*basic*.so
145 %attr(755,root,root) %{_libdir}/pango/1.0.0/modules/*basic*.la
146 %dir %{_sysconfdir}/pango
147 %config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/pango/pangox.aliases
148 %ghost %{_sysconfdir}/pango/pango.modules
149
150 %files devel
151 %defattr(644,root,root,755)
152 %doc ChangeLog TODO
153 %attr(755,root,root) %{_libdir}/libpango*.so
154 %attr(755,root,root) %{_libdir}/libpango*.la
155 %{_pkgconfigdir}/*
156 %{_includedir}/*
157 %{_gtkdocdir}/pango
158
159 %files static
160 %defattr(644,root,root,755)
161 %{_libdir}/libpango*.a
162
163 %files modules
164 %defattr(644,root,root,755)
165 %attr(755,root,root) %{_libdir}/pango/1.0.0/modules/*.so
166 %exclude %{_libdir}/pango/1.0.0/modules/*basic*.so
167 %attr(755,root,root) %{_libdir}/pango/1.0.0/modules/*.la
168 %exclude %{_libdir}/pango/1.0.0/modules/*basic*.la
This page took 0.032876 seconds and 3 git commands to generate.