]>
Commit | Line | Data |
---|---|---|
55495e79 | 1 | Summary: ekhtml - a speedy HTML parser |
94eadf3a | 2 | Summary(pl.UTF-8): ekhtml - szybki analizator HTML-a |
24754364 AG |
3 | Name: ekhtml |
4 | Version: 0.3.2 | |
9da17c4a | 5 | Release: 2 |
24754364 AG |
6 | License: BSD |
7 | Group: Libraries | |
9da17c4a | 8 | Source0: http://downloads.sourceforge.net/ekhtml/%{name}-%{version}.tar.gz |
39dc6911 | 9 | # Source0-md5: cc9d2e4adaccacfacefddbd75ccccfdf |
24754364 | 10 | URL: http://ekhtml.sourceforge.net/ |
89d83497 AG |
11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
13 | BuildRequires: libtool | |
24754364 AG |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
55495e79 JB |
17 | ekhtml is a speedy, yet forgiving, SAX-style HTML parser. |
18 | ||
037b1230 JR |
19 | %description -l pl.UTF-8 |
20 | ekhtml to szybki ale odpuszczający analizator HTML-a w stylu SAX. | |
24754364 AG |
21 | |
22 | %package devel | |
23 | Summary: Header files for ekhtml | |
94eadf3a | 24 | Summary(pl.UTF-8): Pliki nagłówkowe do ekhtml |
24754364 | 25 | Group: Development/Libraries |
7392634f | 26 | Requires: %{name} = %{version}-%{release} |
24754364 AG |
27 | |
28 | %description devel | |
29 | Header files for ekhtml. | |
30 | ||
037b1230 JR |
31 | %description devel -l pl.UTF-8 |
32 | Pliki nagłówkowe do ekhtml. | |
24754364 AG |
33 | |
34 | %package static | |
55495e79 | 35 | Summary: Static ekhtml library |
94eadf3a | 36 | Summary(pl.UTF-8): Biblioteka statyczna ekhtml |
24754364 | 37 | Group: Development/Libraries |
7392634f | 38 | Requires: %{name}-devel = %{version}-%{release} |
24754364 AG |
39 | |
40 | %description static | |
55495e79 | 41 | Static ekhtml library. |
24754364 | 42 | |
037b1230 | 43 | %description static -l pl.UTF-8 |
24754364 AG |
44 | Biblioteka statyczna ekhtml. |
45 | ||
46 | %prep | |
47 | %setup -q | |
48 | ||
49 | %build | |
89d83497 AG |
50 | %{__libtoolize} |
51 | %{__aclocal} | |
52 | %{__autoconf} | |
53 | %{__autoheader} | |
54 | %{__automake} | |
24754364 | 55 | %configure |
1eecc4cb | 56 | %{__make} -j1 |
24754364 AG |
57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
55495e79 JB |
61 | %{__make} install \ |
62 | DESTDIR=$RPM_BUILD_ROOT | |
24754364 AG |
63 | |
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
55495e79 JB |
67 | %post -p /sbin/ldconfig |
68 | %postun -p /sbin/ldconfig | |
24754364 AG |
69 | |
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %doc ChangeLog README AUTHORS NEWS TODO | |
8509b917 JB |
73 | %attr(755,root,root) %{_libdir}/libekhtml.so.*.*.* |
74 | %attr(755,root,root) %ghost %{_libdir}/libekhtml.so.0 | |
24754364 AG |
75 | |
76 | %files devel | |
77 | %defattr(644,root,root,755) | |
8509b917 JB |
78 | %attr(755,root,root) %{_libdir}/libekhtml.so |
79 | %{_libdir}/libekhtml.la | |
80 | %{_includedir}/ekhtml.h | |
24754364 AG |
81 | |
82 | %files static | |
83 | %defattr(644,root,root,755) | |
8509b917 | 84 | %{_libdir}/libekhtml.a |