Author: neoclust
Date: Thu Oct 26 18:40:30 2006
New Revision: 73124
Modified:
packages/cooker/gnash/current/SPECS/gnash.spec
Log:
- New cvs snapshot
Modified: packages/cooker/gnash/current/SPECS/gnash.spec
==============================================================================
--- packages/cooker/gnash/current/SPECS/gnash.spec (original)
+++ packages/cooker/gnash/current/SPECS/gnash.spec Thu Oct 26 18:40:30 2006
@@ -1,13 +1,8 @@
-#################################################################
-# #
-# This is stored into the SVN so commit it into the svn #
-# if you make some modifications #
-# #
-#################################################################
-
+%define __libtoolize /bin/true
%define name gnash
%define version 0.7.1
-%define release %mkrel 2
+%define release %mkrel 3
+%define date 102606
%define libname %mklibname %{name} 0
%define libname_orig lib%{name}
@@ -18,7 +13,7 @@
Release: %release
License: GPL
Group: Networking/WWW
-Source0: %name-%version.tar.bz2
+Source0: %name-%{date}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-root
URL: http://www.gnu.org/software/gnash/
BuildRequires: mesaglut-devel
@@ -28,9 +23,10 @@
BuildRequires: jpeg-devel
BuildRequires: mad-devel
BuildRequires: SDL-devel
-BuildRequires: docbook2x
+BuildRequires: docbook-utils
BuildRequires: kdebase-devel
BuildRequires: gtkglext-devel
+BuildRequires: boost-devel
%description
Gnash is a GNU Flash movie player. Till now it has been possible
@@ -75,19 +71,20 @@
Gnash Konqueror plugin
%prep
-%setup -q -n %{name}-%version
+%setup -q -n %{name}
%build
perl -pi -e "s,GLIB_CFLAGS=.*,GLIB_CFLAGS=\"`pkg-config glib-2.0 --cflags`\","
configure
perl -pi -e "s,GTK2_CFLAGS=.*,GTK2_CFLAGS=\"`pkg-config gtk+-2.0 --cflags`\","
configure
perl -pi -e "s,GLEXT_CFLAGS=.*,GLEXT_CFLAGS=\"`pkg-config gtkglext-1.0
--cflags`\"," configure
+sh autogen.sh
%configure2_5x --enable-mp3 \
--enable-ghelp \
%if %{_lib} == "lib64"
--enable-libsuffix=64 \
%endif
- --enable-docbook --enable-klash \
+ --disable-docbook --enable-plugin \
--with-plugindir=%{_libdir}/mozilla/plugins \
--disable-rpath
%make "OPENGL_LIBS = -lGL"
@@ -126,8 +123,8 @@
%{_bindir}/gparser
%{_bindir}/gprocessor
%{_mandir}/man?/*
-%{_infodir}/%{name}.info.bz2
-%doc %{_datadir}/omf/gnash
+#%{_infodir}/%{name}.info.bz2
+#%doc %{_datadir}/omf/gnash
%files -n %{libname}
%defattr(-,root,root)
@@ -136,12 +133,10 @@
%files -n %{libname}-devel
%defattr(-,root,root)
%{_libdir}/*.so
-%{_libdir}/*.a
%{_libdir}/*.la
%doc %{_datadir}/gnash
%files -n %{name}-konqueror-plugin
-%{_bindir}/klash
%{_libdir}/kde3/*
%{_datadir}/apps/klash
%{_datadir}/config/klashrc