Wed Mar 29 20:33:40 2006 Michael Jennings (mej)
[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 gstreamer-devel gstreamer-plugins-devel
15 BuildRequires: XFree86-devel eet-devel evas-devel edje-devel
16 BuildRequires: /usr/bin/xine-config
17 BuildRoot: %{_tmppath}/%{name}-%{version}-root
18
19 %description
20 Emotion is a Media Library
21
22 %package devel
23 Summary: Emotion headers, static libraries, documentation and test programs
24 Group: System Environment/Libraries
25 Requires: %{name} = %{version}
26 Requires: XFree86-devel
27
28 %description devel
29 Headers, static libraries, test programs and documentation for Emotion
30
31 %prep
32 %setup -q
33
34 %build
35 %{configure} --prefix=%{_prefix}
36 %{__make} %{?_smp_mflags} %{?mflags}
37
38 %install
39 %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
40 test -x `which doxygen` && sh gendoc || :
41
42 %post
43 /sbin/ldconfig || :
44
45 %postun
46 /sbin/ldconfig || :
47
48 %clean
49 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(-, root, root)
53 %doc AUTHORS COPYING* README
54 %{_libdir}/libemotion.a
55 %{_libdir}/libemotion.so.*
56 %{_bindir}/emotion_*
57 %{_libdir}/emotion/emotion_decoder_xine.a
58 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.a
59 %{_datadir}/emotion
60
61 %files devel
62 %defattr(-, root, root)
63 %doc doc/html
64 %{_bindir}/emotion-config
65 %{_libdir}/pkgconfig/emotion.pc
66 %{_libdir}/libemotion.so
67 %{_libdir}/libemotion.la
68 %{_libdir}/emotion/emotion_decoder_xine.la
69 %{_libdir}/emotion/emotion_decoder_xine.so
70 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.so
71 #%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.la
72 %{_includedir}/Emotion*
73
74 %changelog