1 Summary: Motif HTML widget
2 Summary(pl): Widget do HTML oparty o Motif
8 Group(de): X11/Libraries
9 Group(es): X11/Bibliotecas
10 Group(pl): X11/Biblioteki
11 Source0: http://www.xs4all.nl/~ripley/XmHTML/dist/%{name}-%{version}.tar.gz
12 Patch0: %{name}-am.patch
13 Patch1: %{name}-macro.patch
14 URL: http://www.xs4all.nl/~ripley/XmHTML/
15 BuildRequires: libjpeg-devel
16 BuildRequires: libpng-devel
17 BuildRequires: lesstif-devel
18 BuildRequires: XFree86-devel
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _prefix /usr/X11R6
24 %define _mandir %{_prefix}/man
27 XmHTML provides a widget capable of displaying HTML 3.2 conforming
31 XmHTML zawiera widget wy¶wietlaj±cy HTML w wersji 3.2.
34 Summary: Development package of XmHTML
35 Summary(pl): Pliki nag³ówkowe XmHTML
36 Group: X11/Development/Libraries
37 Group(de): X11/Entwicklung/Libraries
38 Group(pl): X11/Programowanie/Biblioteki
39 Requires: %{name} = %{version}
42 Headers needed to compile XmHTML programs.
44 %description devel -l pl
45 Pliki nag³ówkowe potrzebne do kompilowania programów korzystaj±cych
49 Summary: Static version of XmHTML library
50 Summary(pl): Statyczna biblioteka XmHTML
51 Group: X11/Development/Libraries
52 Group(de): X11/Entwicklung/Libraries
53 Group(pl): X11/Programowanie/Biblioteki
54 Requires: %{name}-devel = %{version}
57 Static version of XmHTML library.
59 %description static -l pl
60 Statyczna wersja biblioteki XmHTML.
68 # Argh! automake stuff outdated, imake stuff outdated even more,
69 # makefiles not outdated but don't support shared libraries :/
70 # Use automake with some patches/workarounds/etc
76 libtoolize --copy --force
80 CFLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS} \
81 -I`pwd`/include/XmHTML -I`pwd`/include/common \
82 %{!?debug:-DNDEBUG -Dproduction} -DVERSION=1107"
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT%{_includedir}/XmHTML
92 %{__make} install -C lib DESTDIR=$RPM_BUILD_ROOT
94 install include/XmHTML/{Balloon,HTML,HTMLStrings,XCC,XmHTML}.h \
95 include/common/LZWStream.h \
96 $RPM_BUILD_ROOT%{_includedir}/XmHTML
98 rm -f html/man/man.{map,tmpl}
100 gzip -9nf APPS BUG-REPORTING CHANGES DEBUGGING FEEDBACK FIXES \
101 README THANKS TODO docs/{QUOTES,README.*,REASONS,progressive.txt}
104 rm -rf $RPM_BUILD_ROOT
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
110 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/lib*.so.*.*
115 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/lib*.so
118 %attr(755,root,root) %{_libdir}/lib*.la
119 %{_includedir}/XmHTML
122 %defattr(644,root,root,755)