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