[suggest] Update Gnash Packages to latest upstream version

Heiko Adams heiko.adams at gmx.de
Mon Jun 11 22:29:16 CEST 2007


Am Montag, den 11.06.2007, 20:00 +0200 schrieb Dag Wieers:
> On Mon, 11 Jun 2007, Heiko Adams wrote:
> 
> > is it possible to update the gnash packages in the repo to the latest
> > upstream version 0.8?
> 
> If you come up with a working SPEC file I'm willing to look at it.

This specfile is seems to be correct but the buildprocess doesn't
complete successfull. Maybe you've got an idea where's the error.
-- 
Heiko Adams <heiko.adams at gmx.de>
-------------- next part --------------
# $Id$
# Authority: dag

%{?dist: %{expand: %%define %dist 1}}

%{?fc1:%define _without_kde32 1}
%{?el3:%define _without_kde32 1}
%{?rh9:%define _without_kde32 1}
%{?rh7:%define _without_kde32 1}
%{?el2:%define _without_kde32 1}

%ifarch x86_64
%define _without_kde32 1
%endif

Summary: Flash player
Name: gnash
Version: 0.8.0
Release: 1
License: GPL
Group: Applications/Multimedia
URL: http://www.gnu.org/software/gnash/

Source: ftp://ftp.belnet.be/mirror/ftp.gnu.org/gnu/gnash/%{version}/gnash-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: atk-devel >= 1.12.2
BuildRequires: boost-devel >= 1.33.1
BuildRequires: curl-devel >= 7.15.5
BuildRequires: zlib-devel >= 1.2.3
BuildRequires: gtk2-devel >= 2.10.4
BuildRequires: gtkglext-devel >= 1.0.6
BuildRequires: libjpeg-devel >= 6b
BuildRequires: libxml2-devel >= 2.6.26
BuildRequires: pango-devel >= 1.14.9

%{!?_without_kde32:BuildRequires: kdebase-devel >= 3.2}

%description
A flash player.

%package -n konqueror-gnash
Summary: Konqueror plugin for playing Flash movies
Group: Applications/Multimedia
Requires: gnash = %{version}-%{release}
Requires: kdebase-core

%description -n konqueror-gnash
Konqueror plugin for playing Flash movies

%package -n mozilla-gnash
Summary: Mozilla plugin for playing Flash movies
Group: Applications/Multimedia
Requires: gnash = %{version}-%{release}

%description -n mozilla-gnash
Firefox plugin for playing Flash movies

%prep
%setup

%{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g;' configure

%build
#./autogen.sh
%configure \
	--disable-ghelp \
	--disable-docbook \
	--enable-dom \
	--enable-glext \
	--enable-http \
	--enable-jpeg \
%{!?_without_kde32:--enable-klash} \
%{?_without_kde32:--disable-klash} \
	--enable-mp3 \
	--enable-net-conn \
	--enable-ogg \
	--enable-plugin \
	--enable-pthreads \
	--enable-png \
	--enable-xmlreader \
	--with-plugindir="%{_libdir}/mozilla/plugins"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}%{_libdir}/mozilla/plugins/
%{__make} install DESTDIR="%{buildroot}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING INSTALL NEWS TODO
%{_bindir}/gnash
%{_bindir}/gparser
%{_bindir}/gprocessor
%exclude %{_libdir}/libgnashasobjs.a
%exclude %{_libdir}/libgnashasobjs.la
%{_libdir}/libgnashasobjs.so*
%exclude %{_libdir}/libgnashbackend.a
%exclude %{_libdir}/libgnashbackend.la
%{_libdir}/libgnashbackend.so*
%exclude %{_libdir}/libgnashbase.a
%exclude %{_libdir}/libgnashbase.la
%{_libdir}/libgnashbase.so*
%exclude %{_libdir}/libgnashgeo.a
%exclude %{_libdir}/libgnashgeo.la
%{_libdir}/libgnashgeo.so*
%exclude %{_libdir}/libgnashserver.a
%exclude %{_libdir}/libgnashserver.la
%{_libdir}/libgnashserver.so*

%if %{!?_without_kde32:1}0
%files -n konqueror-gnash
%defattr(-, root, root, 0755)
%config %{_datadir}/config/klashrc
%{_bindir}/klash
%{_datadir}/apps/klash
%{_datadir}/services/klash_part.desktop
%{_libdir}/kde3/libklashpart.la
%{_libdir}/kde3/libklashpart.so
%exclude %{_libdir}/kde3/libklashpart.a
%endif

%files -n mozilla-gnash
%defattr(-, root, root, 0755)
#%{_libdir}/libmozsdk.so*
%dir %{_libdir}/mozilla/
%{_libdir}/mozilla/plugins/

%changelog
* Thu May 11 2006 Dag Wieers <dag at wieers.com> - 0.7.1-1
- Initial package (using DAR)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.repoforge.org/pipermail/users/attachments/20070611/8440a866/attachment.sig>


More information about the users mailing list