SPECS: emotion.spec - updated to 0.0.1.005

qboosh qboosh at pld-linux.org
Sun Sep 9 14:54:40 CEST 2007


Author: qboosh                       Date: Sun Sep  9 12:54:40 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.0.1.005

---- Files affected:
SPECS:
   emotion.spec (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SPECS/emotion.spec
diff -u SPECS/emotion.spec:1.21 SPECS/emotion.spec:1.22
--- SPECS/emotion.spec:1.21	Sun Sep  9 14:17:11 2007
+++ SPECS/emotion.spec	Sun Sep  9 14:54:35 2007
@@ -6,34 +6,38 @@
 %bcond_without	static_libs	# don't build static library
 #
 %if !%{with gstreamer} && !%{with xine}
-error at last one backend must be enabled
+%error at last one backend must be enabled
 %endif
 #
 Summary:	Enlightenment Fundation Libraries - Emotion
 Summary(pl.UTF-8):	Podstawowe biblioteki Enlightenmenta - Emotion
 Name:		emotion
-Version:	0.0.1.004
-%define	_snap	20060625
-Release:	2.%{_snap}.5
+Version:	0.0.1.005
+Release:	1
 License:	BSD
 Group:		X11/Libraries
-#Source0:	http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
-Source0:	http://sparky.homelinux.org/snaps/enli/e17/libs/%{name}-%{_snap}.tar.bz2
-# Source0-md5:	aa4f66fba709b4b08c2ed49eda196657
+Source0:	http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
+# Source0-md5:	e1550ff7a8f68b76b76a4d857073b3ee
 URL:		http://enlightenment.org/p.php?p=about/libs/emotion
 BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	edje
-BuildRequires:	edje-devel
+BuildRequires:	automake >= 1.4
+# ecore-evas ecore-job
+BuildRequires:	ecore-devel >= 0.9.9
+BuildRequires:	edje >= 0.5.0
+BuildRequires:	edje-devel >= 0.5.0
+BuildRequires:	evas-devel >= 0.9.9
 %if %{with gstreamer}
-BuildRequires:	gstreamer-cdio
 BuildRequires:	gstreamer-devel >= 0.10.2
-BuildRequires:	gstreamer-ffmpeg
 BuildRequires:	gstreamer-plugins-base-devel >= 0.10.1
+# gstreamer-cdio,gstreamer-ffmpeg for runtime, configure just warns if missing
 %endif
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
 %{?with_xine:BuildRequires:	xine-lib-devel >= 2:1.1.1}
+Requires:	ecore-evas >= 0.9.9
+Requires:	ecore-job >= 0.9.9
+Requires:	edje-libs >= 0.5.0
+Requires:	evas >= 0.9.9
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -47,6 +51,10 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe Emotion
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+# ecore-evas ecore-job
+Requires:	ecore-devel >= 0.9.9
+Requires:	edje-devel >= 0.5.0
+Requires:	evas-devel >= 0.9.9
 
 %description devel
 Header files for Emotion.
@@ -71,6 +79,10 @@
 Summary(pl.UTF-8):	Dekoder Emotion używający gstreamera
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	gstreamer >= 0.10.2
+Requires:	gstreamer-plugins-base >= 0.10.1
+Suggests:	gstreamer-cdio
+Suggests:	gstreamer-ffmpeg
 
 %description decoder-gstreamer
 Emotion decoder using gstreamer.
@@ -83,6 +95,7 @@
 Summary(pl.UTF-8):	Dekoder Emotion używający xine
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	xine-lib >= 2:1.1.1
 
 %description decoder-xine
 Emotion decoder using xine.
@@ -91,7 +104,7 @@
 Dekoder Emotion używający xine.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 
 %build
 %{__libtoolize}
@@ -111,6 +124,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -125,26 +140,12 @@
 %dir %{_libdir}/%{name}
 %{_datadir}/%{name}
 
-%if %{with gstreamer}
-%files decoder-gstreamer
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/emotion_decoder_gstreamer.so
-%endif
-
-%if %{with xine}
-%files decoder-xine
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/%{name}/emotion_decoder_xine.so
-%endif
-
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/emotion-config
 %attr(755,root,root) %{_libdir}/libemotion.so
 %{_libdir}/libemotion.la
-%{_libdir}/%{name}/emotion_decoder_gstreamer.la
-#%{_libdir}/%{name}/emotion_decoder_xine.la
-%{_includedir}/Emotion*
+%{_includedir}/Emotion.h
 %{_pkgconfigdir}/emotion.pc
 
 %if %{with static_libs}
@@ -153,12 +154,27 @@
 %{_libdir}/libemotion.a
 %endif
 
+%if %{with gstreamer}
+%files decoder-gstreamer
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/emotion_decoder_gstreamer.so
+%endif
+
+%if %{with xine}
+%files decoder-xine
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/%{name}/emotion_decoder_xine.so
+%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.22  2007/09/09 12:54:35  qboosh
+- updated to 0.0.1.005
+
 Revision 1.21  2007/09/09 12:17:11  qboosh
 - updated URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/emotion.spec?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list