]> git.pld-linux.org Git - packages/fltk.git/commitdiff
- fix for prev. update. auto/th/fltk-1_1_7-1
authorPaweł Sikora <pluto@pld-linux.org>
Thu, 17 Aug 2006 08:38:17 +0000 (08:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fltk.spec -> 1.53

fltk.spec

index 7d9f8cfd55ce52d82438dd8bbba7d09b4b213fbe..1815d40f302cbfa4cbcb441617fdf187cdf5c36c 100644 (file)
--- a/fltk.spec
+++ b/fltk.spec
@@ -1,7 +1,7 @@
 #
 # Conditional build:
 %bcond_without gl      # without OpenGL libraries
-%bcond_with    xft     # with Xft support
+%bcond_without xft     # without Xft support
 #
 Summary:       Fast Light Tool Kit
 Summary(pl):   FLTK - "lekki" X11 toolkit
@@ -18,17 +18,21 @@ Source1:    http://www.fltk.org/doc-1.1/%{name}.pdf
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-cxx.patch
 URL:           http://www.fltk.org/
-%{?with_gl:BuildRequires:      OpenGL-devel}
+%{?with_gl:BuildRequires:      OpenGL-GLU-devel}
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: autoconf
 BuildRequires: libstdc++-devel
-%{?with_xft:BuildRequires:     xft-devel}
+%{?with_xft:BuildRequires:     xorg-lib-libXft-devel}
+BuildRequires: xorg-util-makedepend
 Obsoletes:     libfltk1.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _noautoreqdep   libGL.so.1 libGLU.so.1
 
+# don't propagate strip-flags to fltk-config.
+%define                filterout_ld    (-Wl,)?-[sS] (-Wl,)?--strip.*
+
 %description
 The Fast Light Tool Kit ("FLTK", pronounced "fulltick") is a LGPL'd
 C++ graphical user interface toolkit for X (UNIX(r)), OpenGL(r), and
@@ -125,17 +129,12 @@ Statyczna biblioteka FLTK GL.
 
 %prep
 %setup -q
-#%patch0 -p1
-#%patch1 -p1
+%patch0 -p1
+%patch1 -p1
 
 install %{SOURCE1} .
 
 %build
-CPPFLAGS="-I/usr/X11R6/include"
-CXXFLAGS="%{rpmcflags} -I/usr/include/freetype2"
-# no "-s" in LDFLAGS, they are propagated to fltk-config
-# (together with -L/usr/X11R6/lib, so cannot be removed)
-LDFLAGS=" "
 %{__autoconf}
 %configure \
        --enable-shared \
This page took 0.082517 seconds and 4 git commands to generate.