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