add gst decoder to spec - TODO: add buildcond stuff
[profile/ivi/emotion.git] / emotion.spec.in
1 %define _missing_doc_files_terminate_build 0
2
3 Summary: emotion
4 Name: @PACKAGE@
5 Version: @VERSION@
6 Release: 0.%(date '+%Y%m%d')
7 License: BSD
8 Group: System Environment/Libraries
9 URL: http://www.enlightenment.org/
10 Source: ftp://ftp.enlightenment.org/pub/emotion/%{name}-%{version}.tar.gz
11 Packager: %{?_packager:%{_packager}}%{!?_packager:Michael Jennings <mej@eterm.org>}
12 Vendor: %{?_vendorinfo:%{_vendorinfo}}%{!?_vendorinfo:The Enlightenment Project (http://www.enlightenment.org/)}
13 Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
14 #BuildSuggests: xorg-x11-devel libxine1-devel xine-lib-devel
15 #BuildSuggests: gstreamer-devel gstreamer-plugins-devel gstreamer-plugins-base-devel gstreamer-ffmpeg
16 BuildRequires: XFree86-devel eet-devel evas-devel edje-devel edje-bin
17 BuildRequires: /usr/bin/xine-config
18 BuildRoot: %{_tmppath}/%{name}-%{version}-root
19
20 %description
21 Emotion is a Media Library
22
23 %package devel
24 Summary: Emotion headers, static libraries, documentation and test programs
25 Group: System Environment/Libraries
26 Requires: %{name} = %{version}
27 Requires: XFree86-devel
28
29 %description devel
30 Headers, static libraries, test programs and documentation for Emotion
31
32 %prep
33 %setup -q
34
35 %build
36 %{configure} --prefix=%{_prefix}
37 %{__make} %{?_smp_mflags} %{?mflags}
38
39 %install
40 %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
41 test -x `which doxygen` && sh gendoc || :
42
43 %post
44 /sbin/ldconfig || :
45
46 %postun
47 /sbin/ldconfig || :
48
49 %clean
50 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(-, root, root)
54 %doc AUTHORS COPYING* README
55 %{_libdir}/libemotion.a
56 %{_libdir}/libemotion.so.*
57 %{_bindir}/emotion_*
58 %{_libdir}/emotion/emotion_decoder_xine.a
59 %{_libdir}/emotion/emotion_decoder_gstreamer.a
60 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.a
61 %{_datadir}/emotion
62
63 %files devel
64 %defattr(-, root, root)
65 %doc doc/html
66 %{_bindir}/emotion-config
67 %{_libdir}/pkgconfig/emotion.pc
68 %{_libdir}/libemotion.so
69 %{_libdir}/libemotion.la
70 %{_libdir}/emotion/emotion_decoder_xine.la
71 %{_libdir}/emotion/emotion_decoder_xine.so
72 %{_libdir}/emotion/emotion_decoder_gstreamer.la
73 %{_libdir}/emotion/emotion_decoder_gstreamer.so
74 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.so
75 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.la
76 %{_includedir}/Emotion*
77
78 %changelog