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 Patch3: format-security.patch
14 URL: http://www.xs4all.nl/~ripley/XmHTML/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libjpeg-devel
18 BuildRequires: libpng-devel
19 BuildRequires: libtool
20 BuildRequires: motif-devel >= 1.2
21 BuildRequires: xorg-lib-libXmu-devel
22 BuildRequires: xorg-lib-libXpm-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 XmHTML provides a widget capable of displaying HTML 3.2 conforming
29 %description -l pl.UTF-8
30 XmHTML zawiera widget wyświetlający HTML w wersji 3.2.
33 Summary: Development package of XmHTML
34 Summary(pl.UTF-8): Pliki nagłówkowe XmHTML
35 Group: X11/Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: libjpeg-devel
38 Requires: libpng-devel
39 Requires: motif-devel >= 1.2
42 Headers needed to compile XmHTML programs.
44 %description devel -l pl.UTF-8
45 Pliki nagłówkowe potrzebne do kompilowania programów korzystających z
49 Summary: Static version of XmHTML library
50 Summary(pl.UTF-8): Statyczna biblioteka XmHTML
51 Group: X11/Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 Static version of XmHTML library.
57 %description static -l pl.UTF-8
58 Statyczna wersja biblioteki XmHTML.
66 # Argh! automake stuff outdated, imake stuff outdated even more,
67 # makefiles not outdated but don't support shared libraries :/
68 # Use automake with some patches/workarounds/etc
79 CFLAGS="%{rpmcflags} \
80 -I`pwd`/include/XmHTML -I`pwd`/include/common \
81 %{!?debug:-DNDEBUG -Dproduction} -DVERSION=1107"
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT%{_includedir}/XmHTML
92 %{__make} install -C lib \
93 DESTDIR=$RPM_BUILD_ROOT
95 install include/XmHTML/{Balloon,HTML,HTMLStrings,XCC,XmHTML}.h \
96 include/common/LZWStream.h \
97 $RPM_BUILD_ROOT%{_includedir}/XmHTML
99 rm -f html/man/man.{map,tmpl}
102 rm -rf $RPM_BUILD_ROOT
104 %post -p /sbin/ldconfig
105 %postun -p /sbin/ldconfig
108 %defattr(644,root,root,755)
109 %doc APPS BUG-REPORTING CHANGES DEBUGGING FEEDBACK FIXES
110 %doc README THANKS TODO docs/{QUOTES,README.*,REASONS,progressive.txt}
111 %attr(755,root,root) %{_libdir}/libXmHTML.so.*.*.*
112 %attr(755,root,root) %ghost %{_libdir}/libXmHTML.so.0
115 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libXmHTML.so
118 %{_libdir}/libXmHTML.la
119 %{_includedir}/XmHTML
122 %defattr(644,root,root,755)
123 %{_libdir}/libXmHTML.a