SPECS: gstreamer-plugins-moodbar.spec - added R:, banner, changed ...

vip vip at pld-linux.org
Sun Sep 10 17:58:05 CEST 2006


Author: vip                          Date: Sun Sep 10 15:58:05 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added R:, banner, changed file paths

---- Files affected:
SPECS:
   gstreamer-plugins-moodbar.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/gstreamer-plugins-moodbar.spec
diff -u SPECS/gstreamer-plugins-moodbar.spec:1.1 SPECS/gstreamer-plugins-moodbar.spec:1.2
--- SPECS/gstreamer-plugins-moodbar.spec:1.1	Sun Sep 10 17:12:07 2006
+++ SPECS/gstreamer-plugins-moodbar.spec	Sun Sep 10 17:58:00 2006
@@ -1,15 +1,20 @@
 # $Revision$, $Date$
+%define         gst_major_ver   0.10
+%define         gstlibdir       %{_libdir}/gstreamer-%{gst_major_ver}
+
 Summary:	Moodbar plugin for gstreamer
 Summary(pl):	Wtyczka do gstreamera generująca Moodbar
 Name:		gstreamer-plugins-moodbar
 Version:	0.1.1
-Release:	0.1
+Release:	0.3
 License:	GPL v2
 Group:		Libraries
 Source0:	http://pwsp.net/~qbob/moodbar-%{version}.tar.gz
 # Source0-md5:	82d5114a71f1bb28a0845624914cbc4b
 URL:		http://amarok.kde.org/wiki/Moodbar
-BuildRequires:	gstreamer-devel >= 0.10
+BuildRequires:	gstreamer-devel >= %{gst_major_ver}
+Requires:	gstreamer-plugins-base >= %{gst_major_ver}
+Requires:	gstreamer-plugins-good >= %{gst_major_ver}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -63,23 +68,36 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-p /sbin/ldconfig
+%post
+/sbin/ldconfig
+cat << EOF
+
+ *******************************************************
+ *                                                     *
+ *  NOTE:                                              *
+ *  You must install suitable gstreamer-* packages     *
+ *  to work with different audio file formats.         *
+ *                                                     *
+ *******************************************************
+
+EOF
+
 %postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
 %attr(755,root,root) %{_bindir}/moodbar
-%attr(755,root,root) %{_prefix}/lib/gstreamer-0.10/libmoodbar.so
+%attr(755,root,root) %{gstlibdir}/libmoodbar.so
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/lib/gstreamer-0.10/libmoodbar.so
-%{_prefix}/lib/gstreamer-0.10/libmoodbar.la
+%attr(755,root,root) %{gstlibdir}/libmoodbar.so
+%{gstlibdir}/libmoodbar.la
 
 %files static
 %defattr(644,root,root,755)
-%{_prefix}/lib/gstreamer-0.10/libmoodbar.a
+%{gstlibdir}/libmoodbar.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -87,6 +105,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2006/09/10 15:58:00  vip
+- added R:, banner, changed file paths
+
 Revision 1.1  2006/09/10 15:12:07  vip
 - NFY plugin for gstreamer, usable for generating moods in Amarok >= 1.4.3
 - TODO: BR, pl, better paths, "is -devel needed"?
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gstreamer-plugins-moodbar.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list