]> git.pld-linux.org Git - packages/libxml.git/blob - libxml.spec
[1.3.0-1]
[packages/libxml.git] / libxml.spec
1 Summary:        libXML library
2 Summary(pl):    Biblioteka libxml
3 Name:           libxml
4 Version:        1.3.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 Patch1:         libxml-DESTDIR.patch
12 URL:            http://rufus.w3.org/veillard/XML/messages/
13 BuildPrereq:    zlib-devel
14 Prereq:         /sbin/install-info
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %define _prefix /usr/X11R6
18
19 %description
20 This library allows you to manipulate XML files.
21
22 %description -l pl
23 Biblioteka libxml umo¿liwia manipulowaie zawarto¶ci± plików XML.
24
25 %package devel
26 Summary:        Header files etc to develop libxml applications
27 Summary(pl):    Pliki nag³ówkowe i inne do libxml
28 Group:          Development/Libraries
29 Group(pl):      Programowanie/Biblioteki
30 Requires:       %{name} = %{version}
31
32 %description devel
33 Header files etc you can use to develop libxml applications.
34
35 %description -l pl devel
36 Pakiet ten zaziewra pliki nag³ówkowe i inne do libxml niezbêdne przy
37 tworzeniu aplikacji opartych o t± bibliotekê.
38
39 %package static
40 Summary:        Static libxml libraries
41 Summary(pl):    Biblioteka statyczna libxml
42 Group:          Development/Libraries
43 Group(pl):      Programowanie/Biblioteki
44 Requires:       %{name}-devel = %{version}
45
46 %description static
47 Static libxml libraries.
48
49 %description -l pl static
50 Biblioteka statyczna libxml.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55 %patch1 -p1
56
57 %build
58 automake
59 LDFLAGS="-s"; export LDFLAGS
60 %configure 
61 make
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 make install DESTDIR=$RPM_BUILD_ROOT
66
67 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
68
69 gzip -9nf AUTHORS ChangeLog NEWS README TODO
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %attr(755,root,root) %{_libdir}/lib*.so.*.*
79
80 %files devel
81 %defattr(644,root,root,755)
82 %doc {AUTHORS,ChangeLog,NEWS,README,TODO}.gz doc/{*.{gif,html},html/*}
83 %attr(755,root,root) %{_bindir}/xml-config
84 %attr(755,root,root) %{_libdir}/lib*.so
85 %attr(755,root,root) %{_libdir}/lib*.la
86 %attr(755,root,root) %{_libdir}/*.sh
87 %{_includedir}/gnome-xml
88
89 %files static
90 %defattr(644,root,root,755)
91 %{_libdir}/lib*.a
92
93 %changelog
94 * Sat Jul 10 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
95   [1.3.0-1]
96 - removed VERSION patch,
97 - added DESTDIR patch,
98 - added --strip-unneeded on stripping shared libraries,
99 - added using %%configure macro,
100 - added lib*.la files to devel.
101
102 * Tue May 25 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
103   [1.0.0-5]
104 - based on RH spec,
105 - spec rewrited by PLD team.
This page took 0.059837 seconds and 3 git commands to generate.