]> git.pld-linux.org Git - packages/freewrl.git/commitdiff
- fixed optflags passing, added workarounds for perlprov/perlreq weakness
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 25 Jan 2003 14:35:15 +0000 (14:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 1 - standalone browser seems to work on example files

Changed files:
    freewrl.spec -> 1.4

freewrl.spec

index fe53ec16a98dc5c5ea194f7cc1d2b9a22bbfc626..da761d8974179b2b4e019388f66d572d658ea12f 100644 (file)
@@ -3,7 +3,7 @@ Summary:        FreeWRL - VRML browser
 Summary(pl):   FreeWRL - przeglĀ±darka VRML
 Name:          freewrl
 Version:       0.37
-Release:       0.1
+Release:       1
 License:       LGPL
 Group:         X11/Applications/Graphics
 Source0:       ftp://ftp.sourceforge.net/pub/sourceforge/freewrl/FreeWRL-%{version}.tar.gz
@@ -14,17 +14,28 @@ Patch3:             %{name}-gcc3.patch
 Patch4:                %{name}-system-js.patch
 URL:           http://freewrl.sourceforge.net/
 BuildRequires: ImageMagick
+BuildRequires: OpenGL-devel
+BuildRequires: XFree86-devel
+BuildRequires: freetype-devel
 BuildRequires: gtk+-devel
 BuildRequires: jdk
 BuildRequires: js-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
 BuildRequires: perl-devel
 BuildRequires: rpm-perlprov
 BuildRequires: saxon
+# not found by perlprov from rpm 4.1
+Provides:      perl(VRML::Config)
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                mozilladir      /usr/X11R6/lib/mozilla
 %define                netscapedir     /usr/X11R6/lib/netscape
 
+%define                _noautoreqdep   libGL.so.1 libGLU.so.1
+# false positives found by perlreq from rpm 4.1
+%define                _noautoreq      'perl(VRML::Events)' 'perl(VRML::VRMLCU)' 'perl(VRML::VRMLFields)' 'perl(VRML::VRMLNodes)' 'perl(VRMLFields)' 'perl(VRMLNodes)' 'perl(VRMLRend)'
+
 %description
 FreeWRL - VRML browser.
 
@@ -62,13 +73,14 @@ Wtyczka VRML dla przegl
 %patch4 -p1
 
 %build
-CFLAGS="%{rpmcflags} -I/usr/X11R6/include/mozilla"
-CXXFLAGS="$CFLAGS"
-MOZILLA_INC="-I/usr/X11R6/include/mozilla"
-export CFLAGS CXXFLAGS MOZILLA_INC
 perl Makefile.PL
-%{__make}
-%{__make} -C Plugin/netscape
+%{__make} \
+       OPTIMIZE="%{rpmcflags}" \
+       OPTIMIZER="%{rpmcflags}" \
+       MOZILLA_INC="/usr/X11R6/include/mozilla"
+
+%{__make} -C Plugin/netscape \
+       OPTIMIZER="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.06213 seconds and 4 git commands to generate.