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