1 Summary: Motif HTML widget
2 Summary(pl.UTF-8): Widget do HTML-a 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 BuildRequires: xorg-lib-libXpm-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 XmHTML provides a widget capable of displaying HTML 3.2 conforming
26 %description -l pl.UTF-8
27 XmHTML zawiera widget wyświetlający HTML w wersji 3.2.
30 Summary: Development package of XmHTML
31 Summary(pl.UTF-8): Pliki nagłówkowe XmHTML
32 Group: X11/Development/Libraries
33 Requires: %{name} = %{version}-%{release}
34 Requires: libjpeg-devel
35 Requires: libpng-devel
36 Requires: motif-devel >= 1.2
39 Headers needed to compile XmHTML programs.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe potrzebne do kompilowania programów korzystających z
46 Summary: Static version of XmHTML library
47 Summary(pl.UTF-8): Statyczna biblioteka XmHTML
48 Group: X11/Development/Libraries
49 Requires: %{name}-devel = %{version}-%{release}
52 Static version of XmHTML library.
54 %description static -l pl.UTF-8
55 Statyczna wersja biblioteki XmHTML.
63 # Argh! automake stuff outdated, imake stuff outdated even more,
64 # makefiles not outdated but don't support shared libraries :/
65 # Use automake with some patches/workarounds/etc
75 CFLAGS="%{rpmcflags} \
76 -I`pwd`/include/XmHTML -I`pwd`/include/common \
77 %{!?debug:-DNDEBUG -Dproduction} -DVERSION=1107"
84 rm -rf $RPM_BUILD_ROOT
85 install -d $RPM_BUILD_ROOT%{_includedir}/XmHTML
87 %{__make} install -C lib \
88 DESTDIR=$RPM_BUILD_ROOT
90 install include/XmHTML/{Balloon,HTML,HTMLStrings,XCC,XmHTML}.h \
91 include/common/LZWStream.h \
92 $RPM_BUILD_ROOT%{_includedir}/XmHTML
94 rm -f html/man/man.{map,tmpl}
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
103 %defattr(644,root,root,755)
104 %doc APPS BUG-REPORTING CHANGES DEBUGGING FEEDBACK FIXES
105 %doc README THANKS TODO docs/{QUOTES,README.*,REASONS,progressive.txt}
106 %attr(755,root,root) %{_libdir}/libXmHTML.so.*.*.*
107 %attr(755,root,root) %ghost %{_libdir}/libXmHTML.so.0
110 %defattr(644,root,root,755)
112 %attr(755,root,root) %{_libdir}/libXmHTML.so
113 %{_libdir}/libXmHTML.la
114 %{_includedir}/XmHTML
117 %defattr(644,root,root,755)
118 %{_libdir}/libXmHTML.a