]>
Commit | Line | Data |
---|---|---|
66c63df4 | 1 | Summary: libXML library |
2 | Name: libxml | |
3 | Version: 0.30 | |
4 | Release: 2 | |
5 | Copyright: LGPL | |
6 | Group: X11/Libraries | |
7 | Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz | |
8 | BuildRoot: /tmp/%{name}-%{version}-root | |
9 | URL: http://www.gnome.org | |
10 | Prereq: /sbin/install-info | |
11 | ||
12 | %description | |
13 | This library allows you to manipulate XML files. | |
14 | ||
15 | %package devel | |
16 | Summary: Header files etc to develop libxml applications | |
17 | Group: X11/libraries | |
18 | Requires: %{name} = %{version} | |
19 | ||
20 | %description devel | |
21 | Header files etc you can use to develop libxml applications. | |
22 | ||
23 | %package static | |
24 | Summary: Static libxml libraries | |
25 | Group: X11/libraries | |
26 | Requires: %{name}-devel = %{version} | |
27 | ||
28 | %description static | |
29 | Static libxml libraries. | |
30 | ||
31 | %prep | |
32 | %setup -q | |
33 | ||
34 | %build | |
35 | CFLAGS="$RPM_OPT_FLAGS" ./configure \ | |
36 | --prefix=/usr/X11R6 | |
37 | make | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | make prefix=$RPM_BUILD_ROOT/usr/X11R6 install | |
42 | ||
43 | strip $RPM_BUILD_ROOT/usr/X11R6/lib/lib*.so.*.* | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %post -p /sbin/ldconfig | |
49 | %postun -p /sbin/ldconfig | |
50 | ||
51 | %files | |
52 | %defattr(-, root, root) | |
53 | %doc AUTHORS ChangeLog NEWS README TODO | |
54 | /usr/X11R6/lib/lib*.so.*.* | |
55 | ||
56 | %files devel | |
57 | %defattr(644, root, root, 755) | |
58 | /usr/X11R6/lib/lib*.so | |
59 | /usr/X11R6/lib/*.sh | |
60 | /usr/X11R6/include/* | |
61 | ||
62 | %files static | |
63 | %attr(644, root, root) /usr/X11R6/lib/*a | |
64 | ||
65 | %changelog | |
66 |