1 %{!?_rel:%{expand:%%global _rel 0.enl%{?dist}}}
2 %define _missing_doc_files_terminate_build 0
7 Release: 0.%(date '+%Y%m%d')
9 Group: System Environment/Libraries
10 URL: http://www.enlightenment.org/
11 Source: ftp://ftp.enlightenment.org/pub/emotion/%{name}-%{version}.tar.gz
12 Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
13 Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
14 Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
15 #BuildSuggests: xorg-x11-devel XFree86-devel libX11-devel libxine1-devel xine-lib-devel
16 #BuildSuggests: gstreamer-devel gstreamer-plugins-devel gstreamer-plugins-base-devel gstreamer-ffmpeg
17 BuildRequires: eet-devel evas-devel edje-devel edje-bin
18 BuildRequires: /usr/bin/xine-config
19 BuildRoot: %{_tmppath}/%{name}-%{version}-root
22 Emotion is a Media Library
25 Summary: Emotion headers, static libraries, documentation and test programs
26 Group: System Environment/Libraries
27 Requires: %{name} = %{version}
28 Requires: eet-devel evas-devel edje-devel
31 Headers, static libraries, test programs and documentation for Emotion
37 %{configure} --prefix=%{_prefix} --enable-static --enable-shared
38 %{__make} %{?_smp_mflags} %{?mflags}
41 %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
42 test -x `which doxygen` && sh gendoc || :
44 # Remove useless static modules
45 %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*a
54 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
57 %defattr(-, root, root)
58 %doc AUTHORS COPYING* README
59 %dir %{_libdir}/%{name}
61 %{_libdir}/libemotion.so.*
62 %{_libdir}/%{name}/*.so
63 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.so
67 %defattr(-, root, root)
69 %{_includedir}/emotion-1/*.h
70 %{_libdir}/libemotion.a
71 %{_libdir}/libemotion.la
72 %{_libdir}/libemotion.so
73 %{_libdir}/edje/modules/emotion/*/module.la
74 %{_libdir}/edje/modules/emotion/*/module.so
75 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.a
76 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.la
77 %{_libdir}/pkgconfig/%{name}.pc