/[packages]/updates/8/expat/current/SPECS/expat.spec
ViewVC logotype

Contents of /updates/8/expat/current/SPECS/expat.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389213 - (show annotations) (download)
Thu Jan 17 21:29:26 2013 UTC (11 years, 3 months ago) by pterjan
Original Path: obsolete/cauldron/expat/current/SPECS/expat.spec
File size: 1749 byte(s)
Drop 
1 %define libname_orig libexpat
2 %define major 1
3 %define libname %mklibname expat %{major}
4 %define devname %mklibname -d expat %{major}
5
6 Summary: XML parser written in C
7 Name: expat
8 Version: 2.1.0
9 Release: %mkrel 4
10 License: MPL or GPL
11 Group: Text tools
12 URL: http://www.libexpat.org
13 Source0: http://prdownloads.sourceforge.net/expat/expat-%{version}.tar.gz
14
15 %description
16 Expat is an XML 1.0 parser written in C by James Clark. It aims to be
17 fully conforming. It is currently not a validating XML parser.
18
19 %package -n %{libname}
20 Summary: Main library for expat
21 Group: Development/C
22
23 %description -n %{libname}
24 This package contains the library needed to run programs dynamically
25 linked with expat.
26
27 %package -n %{devname}
28 Summary: Development environment for the expat XML parser
29 Group: Development/C
30 Requires: %{libname} = %{version}-%{release}
31 Provides: %{libname_orig}-devel = %{version}-%{release}
32 Provides: %{name}-devel = %{version}-%{release}
33 Obsoletes: %{mklibname expat -d 0}
34 Provides: %{mklibname expat -d 0} = %{version}-%{release}
35
36 %description -n %{devname}
37 Development environment for the expat XML parser.
38
39 %prep
40
41 %setup -q
42
43 %build
44 #rm -rf autom4te*.cache
45 #rm conftools/libtool.m4
46 #libtoolize --copy --force --automake; aclocal; autoheader; autoconf
47 #export CFLAGS="%{optflags} -fPIC"
48
49 %configure2_5x
50 %make
51
52 %check
53 make check
54
55 %install
56 rm -rf %{buildroot}
57
58 %makeinstall_std mandir=%{buildroot}%{_mandir}/man1
59
60 rm -f %{buildroot}%{_libdir}/libexpat.la
61
62 %files
63 %{_bindir}/xmlwf
64 %{_mandir}/man*/*
65
66 %files -n %{libname}
67 %{_libdir}/libexpat.so.%{major}*
68
69 %files -n %{devname}
70 %doc doc/reference.html
71 %{_libdir}/libexpat.so
72 %{_includedir}/expat.h
73 %{_includedir}/expat_external.h
74 %{_libdir}/libexpat.a
75 %{_libdir}/pkgconfig/expat.pc
76
77

  ViewVC Help
Powered by ViewVC 1.1.30