SPECS: kaffeine.spec - gstreamer part bconded and provided necessa...

prism prism at pld-linux.org
Tue Oct 4 15:07:23 CEST 2005


Author: prism                        Date: Tue Oct  4 13:07:23 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- gstreamer part bconded and provided necessary BRs and Rs (i hope)

---- Files affected:
SPECS:
   kaffeine.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/kaffeine.spec
diff -u SPECS/kaffeine.spec:1.27 SPECS/kaffeine.spec:1.28
--- SPECS/kaffeine.spec:1.27	Mon Sep 12 19:46:01 2005
+++ SPECS/kaffeine.spec	Tue Oct  4 15:07:18 2005
@@ -2,11 +2,14 @@
 # TODO
 # - kaffeine-mozilla-0.2.tar.bz2 (Starter-Plugin for Mozilla)
 # - check: http://kaffeine.sourceforge.net/index.php?page=faq#question4
+
+%bcond_without	gstreamer	# build without gstreamer part
+
 Summary:	A KDE xine frontend
 Summary(pl):	Frontend do xine pod KDE
 Name:		kaffeine
 Version:	0.7.1
-Release:	2
+Release:	3
 License:	GPL
 Group:		X11/Applications/Multimedia
 Source0:	http://dl.sourceforge.net/kaffeine/%{name}-%{version}.tar.bz2
@@ -19,6 +22,12 @@
 BuildRequires:	kdelibs-devel >= 3.1
 BuildRequires:	rpmbuild(macros) >= 1.122
 BuildRequires:	xine-lib-devel >= 1:1.0
+%if %{with gstreamer}
+BuildRequires:	gstreamer-plugins-devel >= 0.8.4
+BuildRequires:	gstreamer-plugins-devel < 0.9.0
+Requires:	gstreamer >= 0.8.4
+Requires:	gstreamer < 0.9.0
+%endif
 Requires:	kdebase-core >= 9:3.1.90
 Requires:	kdelibs >= 9:3.4.0-4
 Requires:	xine-lib >= 1:1.0
@@ -40,13 +49,12 @@
 
 %build
 cp /usr/share/automake/config.sub admin
-
 %{__make} -f admin/Makefile.common
 
 %configure \
 	--disable-rpath \
-	--with-qt-libraries=%{_libdir}
-
+	--with-qt-libraries=%{_libdir} \
+	--with%{?!with_gstreamer:out}-gstreamer
 %{__make}
 
 %install
@@ -76,29 +84,35 @@
 %attr(755,root,root) %{_libdir}/libkmediapart.so.0.0.1
 %{_libdir}/libkmediapart.la
 %attr(755,root,root) %{_libdir}/kde3/libkaffeinepart.so
-%attr(755,root,root) %{_libdir}/kde3/libgstreamerpart.so
 %{_libdir}/kde3/libkaffeinepart.la
-%{_libdir}/kde3/libgstreamerpart.la
 %{_datadir}/apps/kaffeine
 %{_datadir}/apps/konqueror/servicemenus/*
 %{_datadir}/apps/profiles/kaffeine.profile.xml
-# FIXME: move to kdelibs the directory?
-%dir %{_datadir}/apps/gstreamerpart
-%{_datadir}/apps/gstreamerpart/gstreamer_part.rc
 %{_datadir}/mimelnk/application/*.desktop
 %{_datadir}/services/kaffeine_part.desktop
-%{_datadir}/services/gstreamer_part.desktop
 %{_desktopdir}/kde/kaffeine.desktop
 %{_iconsdir}/[!l]*/*/*/*.png
 %{_mandir}/man1/kaffeine.1*
 %lang(de) %{_mandir}/de/man1/kaffeine.1*
 
+# gstreamer part
+%if %{with gstreamer}
+%attr(755,root,root) %{_libdir}/kde3/libgstreamerpart.so
+%{_libdir}/kde3/libgstreamerpart.la
+%dir %{_datadir}/apps/gstreamerpart
+%{_datadir}/apps/gstreamerpart/gstreamer_part.rc
+%{_datadir}/services/gstreamer_part.desktop
+%endif
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2005/10/04 13:07:18  prism
+- gstreamer part bconded and provided necessary BRs and Rs (i hope)
+
 Revision 1.27  2005/09/12 17:46:01  glen
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kaffeine.spec?r1=1.27&r2=1.28&f=u




More information about the pld-cvs-commit mailing list