SPECS: swfdec.spec - updated to 0.4.4 - added apidocs bcond
megabajt
megabajt at pld-linux.org
Sat Apr 28 21:47:50 CEST 2007
Author: megabajt Date: Sat Apr 28 19:47:50 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.4.4
- added apidocs bcond
---- Files affected:
SPECS:
swfdec.spec (1.62 -> 1.63)
---- Diffs:
================================================================
Index: SPECS/swfdec.spec
diff -u SPECS/swfdec.spec:1.62 SPECS/swfdec.spec:1.63
--- SPECS/swfdec.spec:1.62 Fri Mar 23 20:41:58 2007
+++ SPECS/swfdec.spec Sat Apr 28 21:47:44 2007
@@ -1,21 +1,30 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without apidocs # disables gtk-doc
+#
Summary: Flash animations redering library
Summary(pl.UTF-8): Biblioteka renderująca animacje flash
Name: swfdec
-Version: 0.4.3
+Version: 0.4.4
Release: 1
License: GPL
Group: Libraries
Source0: http://swfdec.freedesktop.org/download/swfdec/0.4/%{name}-%{version}.tar.gz
-# Source0-md5: 7a857dcc9228ac590327b04a90db2e64
+# Source0-md5: 7f69ae821c6002a857d99656758e8c0b
URL: http://swfdec.freedesktop.org/wiki/
+BuildRequires: autoconf >= 2.58
+BuildRequires: automake >= 1:1.6
BuildRequires: alsa-lib-devel >= 1.0
BuildRequires: cairo-devel >= 1.2.0
BuildRequires: ffmpeg-devel
BuildRequires: gtk+2-devel >= 2:2.8.0
-BuildRequires: gtk-doc >= 1.6
+%{?with_apidocs:BuildRequires: gtk-doc >= 1.6}
+BuildRequires: gnome-vfs2-devel >= 2.14.0
+BuildRequires: gstreamer-devel >= 0.10.11
BuildRequires: libmad-devel >= 0.14.2b
BuildRequires: liboil-devel >= 0.3.9
+BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.357
BuildRequires: zlib-devel >= 1.1.4
@@ -52,10 +61,9 @@
Requires: %{name} = %{version}-%{release}
Requires: cairo-devel >= 1.2.0
Requires: ffmpeg-devel
-Requires: glib2-devel >= 1:2.8.0
+Requires: gtk+2-devel >= 2:2.8.0
Requires: libmad-devel >= 0.14.2b
Requires: liboil-devel >= 0.3.9
-Requires: pango-devel >= 1:1.10.0
Obsoletes: libswfdec0-devel
%description devel
@@ -81,10 +89,19 @@
%setup -q
%build
-
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure \
+ --enable-ffmpeg \
+ --enable-gnome-vfs \
+ --enable-gstreamer \
+ --%{?with_apidocs:en}%{?!with_apidocs:dis}able-gtk-doc \
+ --enable-gtk \
+ --enable-mad \
--with-html-dir=%{_gtkdocdir}
-
%{__make}
%install
@@ -93,6 +110,8 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{?!with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -104,9 +123,11 @@
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libswfdec-*.so.*.*
+%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
%{_gtkdocdir}/swfdec
+%endif
%files devel
%defattr(644,root,root,755)
@@ -125,6 +146,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.63 2007/04/28 19:47:44 megabajt
+- updated to 0.4.4
+- added apidocs bcond
+
Revision 1.62 2007/03/23 19:41:58 wrobell
- rel. 1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/swfdec.spec?r1=1.62&r2=1.63&f=u
More information about the pld-cvs-commit
mailing list