]>
Commit | Line | Data |
---|---|---|
22c8cfb6 | 1 | Summary: System for layout and rendering of internationalized text |
2 | Name: pango | |
fe585ac6 | 3 | Version: 0.16 |
22c8cfb6 | 4 | Release: 1 |
5 | License: LGPL | |
6 | Group: Libraries | |
91279052 | 7 | Source0: ftp://ftp.gtk.org/pub/gtk/v1.3/%{name}-%{version}.tar.gz |
22c8cfb6 | 8 | URL: http://www.pango.org/ |
9 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
89bc8f01 | 10 | BuildRequires: libunicode-devel |
a6b89e6e | 11 | |
22c8cfb6 | 12 | %define _prefix /usr/X11R6 |
89bc8f01 | 13 | |
14 | # pango is not GNOME-specific | |
15 | # %define _sysconfdir /etc/X11/GNOME | |
16 | %define _sysconfdir /etc/X11 | |
a6b89e6e | 17 | |
18 | %description | |
19 | System for layout and rendering of internationalized text. | |
20 | ||
21 | %package devel | |
22c8cfb6 | 22 | Summary: System for layout and rendering of internationalized text |
23 | Group: Development/Libraries | |
24 | Group(fr): Development/Librairies | |
25 | Group(pl): Programowanie/Biblioteki | |
22c8cfb6 | 26 | Requires: %{name} = %{version} |
9d5bf753 | 27 | Requires: libunicode-devel |
a6b89e6e | 28 | |
29 | %description devel | |
a6b89e6e | 30 | |
89bc8f01 | 31 | %package static |
32 | Summary: Static %{name} libraries | |
33 | Summary(pl): Biblioteki statyczne %{name} | |
34 | Group: Development/Libraries | |
35 | Group(fr): Development/Librairies | |
36 | Group(pl): Programowanie/Biblioteki | |
37 | Requires: %{name}-devel = %{version} | |
38 | ||
39 | %description static | |
40 | Static %{name} libraries. | |
41 | ||
42 | %description -l pl static | |
43 | Biblioteki statyczne %{name}. | |
44 | ||
a6b89e6e | 45 | %prep |
22c8cfb6 | 46 | %setup -q |
a6b89e6e | 47 | |
48 | %build | |
22c8cfb6 | 49 | %configure |
5b1dbc1c | 50 | %{__make} |
a6b89e6e | 51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
9d5bf753 | 54 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
a6b89e6e | 55 | |
7893a0d3 | 56 | > $RPM_BUILD_ROOT%{_sysconfdir}/pango/pango.modules |
57 | ||
22c8cfb6 | 58 | gzip -9nf README AUTHORS ChangeLog TODO examples/HELLO.utf8 |
7893a0d3 | 59 | |
a6b89e6e | 60 | %clean |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %post | |
64 | /sbin/ldconfig | |
7893a0d3 | 65 | %{_bindir}/pango-querymodules > %{_sysconfdir}/pango/pango.modules |
a6b89e6e | 66 | |
67 | %postun -p /sbin/ldconfig | |
68 | ||
69 | %files | |
22c8cfb6 | 70 | %defattr(644,root,root,755) |
71 | %doc *.gz examples/*gz | |
89bc8f01 | 72 | %attr(755,root,root) %{_libdir}/libpango-*.so |
73 | %attr(755,root,root) %{_libdir}/libpangox-*.so | |
9d5bf753 | 74 | %attr(755,root,root) %{_bindir}/pango-querymodules |
7893a0d3 | 75 | %dir %{_libdir}/pango |
76 | %dir %{_libdir}/pango/modules | |
77 | %attr(755,root,root) %{_libdir}/pango/modules/*.so | |
920e7ff9 | 78 | %dir %{_sysconfdir}/pango |
7893a0d3 | 79 | %config %{_sysconfdir}/pango/pangox.aliases |
80 | %ghost %{_sysconfdir}/pango/pango.modules | |
a6b89e6e | 81 | |
82 | %files devel | |
22c8cfb6 | 83 | %defattr(644,root,root,755) |
89bc8f01 | 84 | %attr(755,root,root) %{_libdir}/libpango.so |
85 | %attr(755,root,root) %{_libdir}/libpangox.so | |
9d5bf753 | 86 | %attr(755,root,root) %{_bindir}/pango-config |
22c8cfb6 | 87 | %{_includedir}/* |
89bc8f01 | 88 | |
89 | %files static | |
90 | %defattr(644,root,root,755) | |
91 | %{_libdir}/libpango*.a | |
7893a0d3 | 92 | %{_libdir}/pango/modules/*.a |