]> git.pld-linux.org Git - packages/expat.git/blob - expat.spec
- release 2: libexpat1_95{,-devel} added to Obsoletes for allow upgrade from MDK.
[packages/expat.git] / expat.spec
1 Summary:        XML 1.0 parser
2 Summary(pl):    XML 1.0 parser
3 Name:           expat
4 Version:        1.95.2
5 Release:        2
6 License:        Thai Open Source Software Center Ltd (distributable)
7 Group:          Applications/Publishing/XML
8 Group(de):      Applikationen/Publizieren/XML
9 Group(pl):      Aplikacje/Publikowanie/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 pl
24 Expat to parser XML napisany w jêzyku C.
25
26 %package devel
27 Summary:        Expat header files
28 Summary(pl):    Pliki nag³ówkowe do biblioteki expat
29 Group:          Development/Libraries
30 Group(de):      Entwicklung/Libraries
31 Group(fr):      Development/Librairies
32 Group(pl):      Programowanie/Biblioteki
33 Requires:       %{name} = %{version}
34 Obsoletes:      libexpat1_95-devel
35
36 %description devel
37 Expat header files.
38
39 %description -l pl devel
40 Pliki nag³ówkowe do biblioteki expat.
41
42 %package static
43 Summary:        Expat static library
44 Summary(pl):    Biblioteka statyczna expat
45 Group:          Development/Libraries
46 Group(de):      Entwicklung/Libraries
47 Group(fr):      Development/Librairies
48 Group(pl):      Programowanie/Biblioteki
49 Requires:       %{name} = %{version}
50
51 %description static
52 Expat static library.
53
54 %description -l pl static
55 Bioblioteka statyczna expat.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60
61 %build
62 libtoolize --copy --force
63 aclocal
64 autoconf
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72
73 gzip -9nf Changes COPYING README
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/lib*.so.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %doc *.gz doc/*
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %attr(755,root,root) %{_libdir}/lib*.la
90 %{_includedir}/*
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/lib*.a
This page took 0.040677 seconds and 4 git commands to generate.