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