1 Summary: Motif HTML widget
2 Summary(pl): Widget do HTML oparty o Motif
8 Source0: http://www.xs4all.nl/~ripley/XmHTML/dist/%{name}-%{version}.tar.gz
9 # Source0-md5: 6d079435fb954bb7878f4dd0d3f7b8d8
10 Patch0: %{name}-am.patch
11 Patch1: %{name}-macro.patch
12 URL: http://www.xs4all.nl/~ripley/XmHTML/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libjpeg-devel
16 BuildRequires: libpng-devel
17 BuildRequires: libtool
18 BuildRequires: motif-devel >= 1.2
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 XmHTML provides a widget capable of displaying HTML 3.2 conforming
26 XmHTML zawiera widget wy¶wietlaj±cy HTML w wersji 3.2.
29 Summary: Development package of XmHTML
30 Summary(pl): Pliki nag³ówkowe XmHTML
31 Group: X11/Development/Libraries
32 Requires: %{name} = %{version}
33 Requires: libjpeg-devel
34 Requires: libpng-devel
35 Requires: motif-devel >= 1.2
38 Headers needed to compile XmHTML programs.
40 %description devel -l pl
41 Pliki nag³ówkowe potrzebne do kompilowania programów korzystaj±cych z
45 Summary: Static version of XmHTML library
46 Summary(pl): Statyczna biblioteka XmHTML
47 Group: X11/Development/Libraries
48 Requires: %{name}-devel = %{version}
51 Static version of XmHTML library.
53 %description static -l pl
54 Statyczna wersja biblioteki XmHTML.
62 # Argh! automake stuff outdated, imake stuff outdated even more,
63 # makefiles not outdated but don't support shared libraries :/
64 # Use automake with some patches/workarounds/etc
74 CFLAGS="%{rpmcflags} \
75 -I`pwd`/include/XmHTML -I`pwd`/include/common \
76 %{!?debug:-DNDEBUG -Dproduction} -DVERSION=1107"
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_includedir}/XmHTML
86 %{__make} install -C lib \
87 DESTDIR=$RPM_BUILD_ROOT
89 install include/XmHTML/{Balloon,HTML,HTMLStrings,XCC,XmHTML}.h \
90 include/common/LZWStream.h \
91 $RPM_BUILD_ROOT%{_includedir}/XmHTML
93 rm -f html/man/man.{map,tmpl}
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %doc APPS BUG-REPORTING CHANGES DEBUGGING FEEDBACK FIXES
104 %doc README THANKS TODO docs/{QUOTES,README.*,REASONS,progressive.txt}
105 %attr(755,root,root) %{_libdir}/lib*.so.*.*
108 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib*.so
112 %{_includedir}/XmHTML
115 %defattr(644,root,root,755)