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