]> git.pld-linux.org Git - packages/libxml.git/blob - libxml.spec
- update to 1.4.0,
[packages/libxml.git] / libxml.spec
1 Summary:        libXML library
2 Summary(pl):    Biblioteka libxml
3 Name:           libxml
4 Version:        1.4.0
5 Release:        1
6 Copyright:      LGPL
7 Group:          Libraries
8 Group(pl):      Biblioteki
9 Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
10 Patch0:         libxml-zlib.patch
11 URL:            http://rufus.w3.org/veillard/XML/messages/
12 BuildRequires:  zlib-devel
13 Prereq:         /sbin/install-info
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %define _prefix /usr/X11R6
17
18 %description
19 This library allows you to manipulate XML files.
20
21 %description -l pl
22 Biblioteka libxml umo¿liwia manipulowaie zawarto¶ci± plików XML.
23
24 %package devel
25 Summary:        Header files etc to develop libxml applications
26 Summary(pl):    Pliki nag³ówkowe i inne do libxml
27 Group:          Development/Libraries
28 Group(pl):      Programowanie/Biblioteki
29 Requires:       %{name} = %{version}
30
31 %description devel
32 Header files etc you can use to develop libxml applications.
33
34 %description -l pl devel
35 Pakiet ten zaziewra pliki nag³ówkowe i inne do libxml niezbêdne przy
36 tworzeniu aplikacji opartych o t± bibliotekê.
37
38 %package static
39 Summary:        Static libxml libraries
40 Summary(pl):    Biblioteka statyczna libxml
41 Group:          Development/Libraries
42 Group(pl):      Programowanie/Biblioteki
43 Requires:       %{name}-devel = %{version}
44
45 %description static
46 Static libxml libraries.
47
48 %description -l pl static
49 Biblioteka statyczna libxml.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54
55 %build
56 automake
57 LDFLAGS="-s"; export LDFLAGS
58 %configure 
59 make
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 make install DESTDIR=$RPM_BUILD_ROOT
64
65 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
66
67 gzip -9nf AUTHORS ChangeLog NEWS README TODO
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post   -p /sbin/ldconfig
73 %postun -p /sbin/ldconfig
74
75 %files
76 %attr(755,root,root) %{_libdir}/lib*.so.*.*
77
78 %files devel
79 %defattr(644,root,root,755)
80 %doc {AUTHORS,ChangeLog,NEWS,README,TODO}.gz doc/{*.{gif,html},html/*}
81 %attr(755,root,root) %{_bindir}/xml-config
82 %attr(755,root,root) %{_libdir}/lib*.so
83 %attr(755,root,root) %{_libdir}/lib*.la
84 %attr(755,root,root) %{_libdir}/*.sh
85 %{_includedir}/gnome-xml
86
87 %files static
88 %defattr(644,root,root,755)
89 %{_libdir}/lib*.a
This page took 0.063053 seconds and 4 git commands to generate.