]> git.pld-linux.org Git - packages/expat.git/blob - expat.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/expat.git] / expat.spec
1 Summary:        XML 1.0 parser
2 Summary(es):    expat XML library
3 Summary(pl):    XML 1.0 parser
4 Summary(pt_BR): Biblioteca XML expat
5 Name:           expat
6 Version:        1.95.2
7 Release:        3
8 License:        Thai Open Source Software Center Ltd (distributable)
9 Group:          Applications/Publishing/XML
10 Source0:        ftp://download.sourceforge.net/pub/sourceforge/expat/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-ac_fix.patch
12 URL:            http://expat.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Obsoletes:      libexpat1_95
18
19 %description
20 Expat is an XML parser written in C. It aims to be fully conforming.
21 It is currently not a validating XML parser.
22
23 %description -l es
24 This is James Clark's expat XML parser library in C. It is a stream
25 oriented parser that requires setting handlers to deal with the
26 structure that the parser discovers in the document.
27
28 %description -l pl
29 Expat to parser XML napisany w jêzyku C.
30
31 %description -l pt_BR
32 Esta é a biblioteca, em C, XML expat, de James Clark. É um analisador
33 orientado a fluxo de informações que pede o uso de handlers para lidar
34 com a estrutura que o analisador encontrar no documento.
35
36 %package devel
37 Summary:        Expat header files
38 Summary(es):    Archivos de inclusión del expat
39 Summary(pl):    Pliki nag³ówkowe do biblioteki expat
40 Summary(pt_BR): Arquivos de inclusão do expat
41 Group:          Development/Libraries
42 Requires:       %{name} = %{version}
43 Obsoletes:      libexpat1_95-devel
44
45 %description devel
46 Expat header files.
47
48 %description devel -l es
49 Archivos de inclusión del expat
50
51 %description devel -l pl
52 Pliki nag³ówkowe do biblioteki expat.
53
54 %description devel -l pt_BR
55 Arquivos de inclusão do expat
56
57 %package static
58 Summary:        Expat static library
59 Summary(es):    Expat static libs
60 Summary(pl):    Biblioteka statyczna expat
61 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com a biblioteca expat
62 Group:          Development/Libraries
63 Requires:       %{name} = %{version}
64
65 %description static
66 Expat static library.
67
68 %description static -l es
69 Expat static libs
70
71 %description static -l pl
72 Bioblioteka statyczna expat.
73
74 %description static -l pt_BR
75 Bibliotecas estáticas para desenvolvimento com a biblioteca expat
76
77 %prep
78 %setup -q
79 %patch0 -p1
80
81 %build
82 libtoolize --copy --force
83 aclocal
84 %{__autoconf}
85 %configure
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install DESTDIR=$RPM_BUILD_ROOT
92
93 gzip -9nf Changes COPYING README
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104
105 %files devel
106 %defattr(644,root,root,755)
107 %doc *.gz doc/*
108 %attr(755,root,root) %{_libdir}/lib*.so
109 %attr(755,root,root) %{_libdir}/lib*.la
110 %{_includedir}/*
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.0494059999999999 seconds and 3 git commands to generate.