Author: qboosh                       Date: Sat Jan 14 17:17:36 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.3.6 (ready for gstreamer 0.10.x), removed obsolete configure 
patch

---- Files affected:
SPECS:
   swfdec.spec (1.37 -> 1.38) 

---- Diffs:

================================================================
Index: SPECS/swfdec.spec
diff -u SPECS/swfdec.spec:1.37 SPECS/swfdec.spec:1.38
--- SPECS/swfdec.spec:1.37      Mon Sep  5 17:31:40 2005
+++ SPECS/swfdec.spec   Sat Jan 14 18:17:31 2006
@@ -1,43 +1,42 @@
 # $Revision$, $Date$
+#
 # Conditional build:
-%bcond_without gstreamer       # build without gstreamer/mozilla plugin
-                               # (for bootstrap)
+%bcond_without gstreamer       # build without swfdec-mozilla-player
 %bcond_without gimp            # don't build gimp plugin
+%bcond_with    libart          # use libarg_lgpl instead of cairo
 #
 Summary:       Flash animations redering library
 Summary(pl):   Biblioteka renderująca animacje flash
 Name:          swfdec
-Version:       0.3.5
+Version:       0.3.6
 Release:       1
 License:       GPL
 Group:         Libraries
 Source0:       http://www.schleef.org/swfdec/download/%{name}-%{version}.tar.gz
-# Source0-md5: cc40397d7784efee549fb7853b01cac3
-Patch0:                %{name}-configure.patch
+# Source0-md5: bcfca3a8ce1d524ebf4d11fd511dedb8
 URL:           http://www.schleef.org/swfdec/
-BuildRequires: SDL-devel >= 1.2.5
 BuildRequires: autoconf >= 2.58
 BuildRequires: automake >= 1.6
+%{!?with_libart:BuildRequires: cairo-devel >= 0.4.0}
 %{?with_gimp:BuildRequires:    gimp-devel >= 1:2.0.0}
 %if %{with gstreamer}
-BuildRequires: gstreamer-devel >= 0.8.0
-BuildRequires: gstreamer-GConf-devel >= 0.8.0
-# gstreamer-interfaces-0.8
-BuildRequires: gstreamer-plugins-devel >= 0.8.0
+BuildRequires: gstreamer-devel >= 0.10.0
+BuildRequires: gstreamer-plugins-base-devel >= 0.10.0
 %endif
 BuildRequires: gtk+2-devel >= 1:2.1.2
-BuildRequires: libart_lgpl-devel >= 2.0
+%{?with_libart:BuildRequires:  libart_lgpl-devel >= 2.0}
 BuildRequires: libmad-devel >= 0.14.2b
-BuildRequires: liboil-devel >= 0.3.0
+BuildRequires: liboil-devel >= 0.3.1.1
 BuildRequires: libtool
-%{?with_gstreamer:BuildRequires:       mozilla-devel >= 2:1.0}
+BuildRequires: mozilla-devel >= 2:1.0
 BuildRequires: pkgconfig
 BuildRequires: zlib-devel >= 1.1.4
 Obsoletes:     libswfdec0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-
-%{?with_gimp:%define           gimpplugindir   %(gimptool 
--gimpplugindir)/plug-ins}
+%if %{with gimp}
+%define                gimpplugindir   %(gimptool --gimpplugindir)/plug-ins
+%endif
 
 %description
 Libswfdec is a library for rendering Flash animations. Currently it
@@ -54,10 +53,11 @@
 Summary(pl):   Pliki nagłówkowe wymagane przez programy używające swfdec
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+%{!?with_libart:Requires:      cairo-devel >= 0.4.0}
 Requires:      glib2-devel >= 2.0.0
-Requires:      libart_lgpl-devel >= 2.0
+%{?with_libart:Requires:       libart_lgpl-devel >= 2.0}
 Requires:      libmad-devel >= 0.14.2b
-Requires:      liboil-devel >= 0.3.0
+Requires:      liboil-devel >= 0.3.1.1
 Obsoletes:     libswfdec0-devel
 
 %description devel
@@ -105,7 +105,6 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -114,7 +113,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-       %{?!with_gstreamer:--disable-mozilla-plugin}
+       %{!?with_gstreamer:--disable-mozilla-plugin} \
+       %{?with_libart:--with-backend=libart}
        
 %{__make} \
        gimpdir=%{gimpplugindir}
@@ -138,8 +138,11 @@
 
 %files
 %defattr(644,root,root,755)
-%doc TODO README Change*
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS ChangeLog NEWS README TODO
+%if %{with gstreamer}
+# TODO: move to base browser plugin package
+%attr(755,root,root) %{_bindir}/swfdec-mozilla-player
+%endif
 %attr(755,root,root) %{_libdir}/libswfdec-*.so.*.*
 %attr(755,root,root) %{_libdir}/gtk-2.0/2.*/loaders/*.so
 
@@ -160,11 +163,9 @@
 %attr(755,root,root) %{gimpplugindir}/swf
 %endif
 
-%if %{with gstreamer}
 %files -n mozilla-plugin-%{name}
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/mozilla/plugins/libswfdecmozilla.so
-%endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -172,6 +173,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.38  2006/01/14 17:17:31  qboosh
+- updated to 0.3.6 (ready for gstreamer 0.10.x), removed obsolete configure 
patch
+
 Revision 1.37  2005/09/05 15:31:40  freetz
 - gimp bcond
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/swfdec.spec?r1=1.37&r2=1.38&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to