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