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 Patch2: %{name}-libpng.patch
13 URL: http://www.xs4all.nl/~ripley/XmHTML/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: libjpeg-devel
17 BuildRequires: libpng-devel
18 BuildRequires: libtool
19 BuildRequires: motif-devel >= 1.2
20 BuildRequires: xorg-lib-libXmu-devel
21 BuildRequires: xorg-lib-libXpm-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 XmHTML provides a widget capable of displaying HTML 3.2 conforming
28 %description -l pl.UTF-8
29 XmHTML zawiera widget wyświetlający HTML w wersji 3.2.
32 Summary: Development package of XmHTML
33 Summary(pl.UTF-8): Pliki nagłówkowe XmHTML
34 Group: X11/Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: libjpeg-devel
37 Requires: libpng-devel
38 Requires: motif-devel >= 1.2
41 Headers needed to compile XmHTML programs.
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe potrzebne do kompilowania programów korzystających z
48 Summary: Static version of XmHTML library
49 Summary(pl.UTF-8): Statyczna biblioteka XmHTML
50 Group: X11/Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 Static version of XmHTML library.
56 %description static -l pl.UTF-8
57 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
77 CFLAGS="%{rpmcflags} \
78 -I`pwd`/include/XmHTML -I`pwd`/include/common \
79 %{!?debug:-DNDEBUG -Dproduction} -DVERSION=1107"
87 rm -rf $RPM_BUILD_ROOT
88 install -d $RPM_BUILD_ROOT%{_includedir}/XmHTML
90 %{__make} install -C lib \
91 DESTDIR=$RPM_BUILD_ROOT
93 install include/XmHTML/{Balloon,HTML,HTMLStrings,XCC,XmHTML}.h \
94 include/common/LZWStream.h \
95 $RPM_BUILD_ROOT%{_includedir}/XmHTML
97 rm -f html/man/man.{map,tmpl}
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %doc APPS BUG-REPORTING CHANGES DEBUGGING FEEDBACK FIXES
108 %doc README THANKS TODO docs/{QUOTES,README.*,REASONS,progressive.txt}
109 %attr(755,root,root) %{_libdir}/libXmHTML.so.*.*.*
110 %attr(755,root,root) %ghost %{_libdir}/libXmHTML.so.0
113 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libXmHTML.so
116 %{_libdir}/libXmHTML.la
117 %{_includedir}/XmHTML
120 %defattr(644,root,root,755)
121 %{_libdir}/libXmHTML.a