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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1037203 - (hide annotations) (download)
Wed Jun 22 15:11:07 2016 UTC (7 years, 9 months ago) by luigiwalser
Original Path: cauldron/expat/current/SPECS/expat.spec
File size: 1654 byte(s)
2.2.0
1 wally 448454 %define major 1
2     %define libname %mklibname expat %{major}
3     %define devname %mklibname -d expat
4 blino 722
5     Summary: XML parser written in C
6     Name: expat
7 luigiwalser 1037203 Version: 2.2.0
8     Release: %mkrel 1
9 wally 448454 License: MIT
10 malo 310510 Group: Text tools
11 blino 722 URL: http://www.libexpat.org
12 shlomif 1002687 Source0: http://prdownloads.sourceforge.net/expat/expat-%{version}.tar.bz2
13 blino 722
14     %description
15     Expat is an XML 1.0 parser written in C by James Clark. It aims to be
16     fully conforming. It is currently not a validating XML parser.
17    
18     %package -n %{libname}
19     Summary: Main library for expat
20     Group: Development/C
21    
22     %description -n %{libname}
23     This package contains the library needed to run programs dynamically
24     linked with expat.
25    
26 guillomovitch 227472 %package -n %{devname}
27 blino 722 Summary: Development environment for the expat XML parser
28     Group: Development/C
29     Requires: %{libname} = %{version}-%{release}
30 wally 448454 Provides: lib%{name}-devel = %{version}-%{release}
31 blino 722 Provides: %{name}-devel = %{version}-%{release}
32 wally 448454 Obsoletes: %{_lib}expat1-devel < 2.1.0-5
33 blino 722
34 guillomovitch 227472 %description -n %{devname}
35 blino 722 Development environment for the expat XML parser.
36    
37     %prep
38     %setup -q
39 ovitters 876058 %autopatch -p1
40 blino 722
41     %build
42 guillomovitch 227472 #rm -rf autom4te*.cache
43     #rm conftools/libtool.m4
44     #libtoolize --copy --force --automake; aclocal; autoheader; autoconf
45     #export CFLAGS="%{optflags} -fPIC"
46 blino 722
47 wally 448454 %configure2_5x \
48     --disable-static
49 blino 722 %make
50    
51     %check
52     make check
53    
54     %install
55 wally 448454 %makeinstall_std
56 blino 722
57 wally 448454 #we don't want these
58     find %{buildroot} -name "*.la" -delete
59 blino 722
60     %files
61     %{_bindir}/xmlwf
62     %{_mandir}/man*/*
63    
64     %files -n %{libname}
65 ovitters 876058 %{_libdir}/libexpat.so.%{major}{,.*}
66 blino 722
67 guillomovitch 227472 %files -n %{devname}
68 blino 722 %doc doc/reference.html
69     %{_libdir}/libexpat.so
70     %{_includedir}/expat.h
71 shlomif 1002687 %{_includedir}/expat_config.h
72 blino 722 %{_includedir}/expat_external.h
73 guillomovitch 227472 %{_libdir}/pkgconfig/expat.pc

  ViewVC Help
Powered by ViewVC 1.1.30