]> git.pld-linux.org Git - packages/crossmingw32-expat.git/blob - crossmingw32-expat.spec
- updated to 1.99.7, simplified macros, fixed files
[packages/crossmingw32-expat.git] / crossmingw32-expat.spec
1 %define         realname                expat
2 Summary:        XML 1.0 parser
3 Summary(pl):    Analizator sk³adni XML 1.0
4 Summary(pt_BR): Biblioteca XML expat
5 Summary(ru):    ðÅÒÅÎÏÓÉÍÁÑ ÂÉÂÌÉÏÔÅËÁ ÒÁÚÂÏÒÁ XML (expat)
6 Summary(uk):    ðÅÒÅÎÏÓÉÍÁ Â¦Â̦ÏÔÅËÁ ÒÏÚÂÏÒÕ XML (expat)
7 Name:           crossmingw32-%{realname}
8 Version:        1.95.7
9 Release:        1
10 License:        Thai Open Source Software Center Ltd (distributable)
11 Group:          Applications/Publishing/XML
12 Source0:        http://dl.sourceforge.net/expat/%{realname}-%{version}.tar.gz
13 # Source0-md5:  2ff59c2a5cbdd21a285c5f343e214fa9
14 Patch0:         %{realname}-DESTDIR.patch
15 Patch1:         %{realname}-ac_fixes.patch
16 URL:            http://expat.sourceforge.net/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  crossmingw32-gcc
20 BuildRequires:  libtool
21 Requires:       crossmingw32-runtime
22 BuildRoot:      %{tmpdir}/%{realname}-%{version}-root-%(id -u -n)
23
24 %define         no_install_post_strip   1
25
26 %define         target                  i386-mingw32
27 %define         target_platform         i386-pc-mingw32
28 %define         _sysprefix              /usr
29 %define         _prefix                 %{_sysprefix}/%{target}
30
31 %define         __cc                    %{target}-gcc
32 %define         __cxx                   %{target}-g++
33
34 %description
35 Expat is an XML parser written in C. It aims to be fully conforming.
36 It is currently not a validating XML parser.
37
38 %description -l pl
39 Expat to napisany w jêzyku C analizator sk³adni XML. D±¿y do pe³nej
40 zgodno¶ci ze specyfikacj±. Aktualnie nie jest analizatorem, który
41 potwiedza³by zgodno¶æ ze specyfikacj±.
42
43 %description -l pt_BR
44 Esta é a biblioteca, em C, XML expat, de James Clark. É um analisador
45 orientado a fluxo de informações que pede o uso de handlers para lidar
46 com a estrutura que o analisador encontrar no documento.
47
48 %description -l ru
49 Expat -- ÐÁÒÓÅÒ XML 1.0, ÎÁÐÉÓÁÎÎÙÊ ÎÁ C. ïΠÐÒÅÄÎÁÚÎÁÞÅΠÄÌÑ ÔÏÇÏ,
50 ÞÔÏÂÙ ÂÙÔØ ÐÏÌÎÏÓÔØÀ ÓÏ×ÍÅÓÔÉÍÙÍ. ÷ ÎÁÓÔÏÑÝÅÅ ×ÒÅÍÑ ÜÔÏ ÎÅ ÐÒÏ×ÅÒÑÀÝÉÊ
51 ("not a validating") XML ÐÁÒÓÅÒ.
52
53 %description -l uk
54 Expat -- ÐÁÒÓÅÒ XML 1.0, ÎÁÐÉÓÁÎÉÊ ÎÁ C. òÏÚÒÁÈÏ×ÁÎÉÊ ÎÁ ÔÅ, ÝÏ ÂÕÔÉ
55 ÐÏ×ΦÓÔÀ ÓÕͦÓÎÉÍ. îÁÒÁÚ¦ ÃÅ ÎÅ ÐÅÒÅצÒÑÀÞÉÊ ("not a validating") XML
56 ÐÁÒÓÅÒ.
57
58 %prep
59 %setup -q -n %{realname}-%{version}
60 %patch0 -p1
61 %patch1 -p1
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %configure \
68         --target=%{target} \
69         --host=%{target_platform} \
70         --disable-static
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %clean
80 rm -rf $RPM_BUILD_ROOT
81
82 %files
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_bindir}/libexpat-0.dll
85 %{_libdir}/libexpat.dll.a
86 %{_libdir}/libexpat.la
87 %{_includedir}/expat.h
This page took 0.060959 seconds and 4 git commands to generate.