]> git.pld-linux.org Git - packages/XmHTML.git/blobdiff - XmHTML.spec
- fix format string error
[packages/XmHTML.git] / XmHTML.spec
index fac9d3f93d955ef9e047677a35d5b9832219b012..3e9c2d58fcfc241a73d5391f817972504dc13c50 100644 (file)
@@ -2,13 +2,15 @@ Summary:      Motif HTML widget
 Summary(pl.UTF-8):     Widget do HTML-a oparty o Motif
 Name:          XmHTML
 Version:       1.1.7
-Release:       9
+Release:       14
 License:       LGPL
 Group:         X11/Libraries
 Source0:       http://www.xs4all.nl/~ripley/XmHTML/dist/%{name}-%{version}.tar.gz
 # Source0-md5: 6d079435fb954bb7878f4dd0d3f7b8d8
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-macro.patch
+Patch2:                %{name}-libpng.patch
+Patch3:                format-security.patch
 URL:           http://www.xs4all.nl/~ripley/XmHTML/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -16,6 +18,7 @@ BuildRequires:        libjpeg-devel
 BuildRequires: libpng-devel
 BuildRequires: libtool
 BuildRequires: motif-devel >= 1.2
+BuildRequires: xorg-lib-libXmu-devel
 BuildRequires: xorg-lib-libXpm-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -58,8 +61,8 @@ Statyczna wersja biblioteki XmHTML.
 %setup -q
 %patch0 -p1
 %patch1 -p1
-
-%build
+%patch2 -p1
+%patch3 -p1
 # Argh! automake stuff outdated, imake stuff outdated even more,
 # makefiles not outdated but don't support shared libraries :/
 # Use automake with some patches/workarounds/etc
@@ -68,6 +71,7 @@ mv -f common/*.c .
 mv -f Motif/*.c .
 cd ..
 
+%build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -75,7 +79,8 @@ cd ..
 CFLAGS="%{rpmcflags} \
        -I`pwd`/include/XmHTML -I`pwd`/include/common \
        %{!?debug:-DNDEBUG -Dproduction} -DVERSION=1107"
-%configure
+%configure \
+       LIBS="-lm"
 
 cd lib
 %{__make}
This page took 0.086044 seconds and 4 git commands to generate.