]> git.pld-linux.org Git - packages/emotion.git/blob - emotion.spec
- updated to unofficial 20051116 snap, builds at last, added gstreamer plugins support
[packages/emotion.git] / emotion.spec
1 Summary:        Enlightenment Fundation Libraries - Emotion
2 Summary(pl):    Podstawowe biblioteki Enlightenmenta - Emotion
3 Name:           emotion
4 Version:        0.0.1.004
5 %define _snap   20051116
6 Release:        0.%{_snap}.1
7 License:        BSD
8 Group:          X11/Libraries
9 #Source0:       http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
10 Source0:        http://sparky.homelinux.org/snaps/enli/e17/libs/%{name}-%{_snap}.tar.bz2
11 # Source0-md5:  6faafbf9a01a9d31f0ed9c1c60b9062a
12 URL:            http://enlightenment.org/Libraries/Emotion/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  edje
16 BuildRequires:  edje-devel
17 BuildRequires:  gstreamer-plugins-devel
18 BuildRequires:  libtool
19 BuildRequires:  xine-lib-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Emotion is a Media Library.
24
25 %description -l pl
26 Emotion to biblioteka multimedialna.
27
28 %package devel
29 Summary:        Emotion header files
30 Summary(pl):    Pliki nag³ówkowe Emotion
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33 Requires:       xine-lib-devel
34
35 %description devel
36 Header files for Emotion.
37
38 %description devel -l pl
39 Pliki nag³ówkowe Emotion.
40
41 %package static
42 Summary:        Static Emotion library
43 Summary(pl):    Statyczna biblioteka Emotion
44 Group:          Development/Libraries
45 Requires:       %{name}-devel = %{version}-%{release}
46
47 %description static
48 Static Emotion library.
49
50 %description static -l pl
51 Statyczna biblioteka Emotion.
52
53 %prep
54 %setup -q -n %{name}
55
56 %build
57 %{__libtoolize}
58 %{__aclocal} -I m4
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 rm -f $RPM_BUILD_ROOT%{_libdir}/xine/plugins/*/*.{la,a} \
72         $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc AUTHORS COPYING COPYING-PLAIN README TODO
83 %attr(755,root,root) %{_bindir}/emotion_*
84 %attr(755,root,root) %{_libdir}/libemotion.so.*.*.*
85 %dir %{_libdir}/%{name}
86 %attr(755,root,root) %{_libdir}/%{name}/emotion_decoder_gstreamer.so
87 %attr(755,root,root) %{_libdir}/%{name}/emotion_decoder_xine.so
88 %attr(755,root,root) %{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.so
89 %{_datadir}/%{name}
90
91 %files devel
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/emotion-config
94 %attr(755,root,root) %{_libdir}/libemotion.so
95 %{_libdir}/libemotion.la
96 %{_libdir}/%{name}/emotion_decoder_gstreamer.la
97 %{_libdir}/%{name}/emotion_decoder_xine.la
98 %{_includedir}/Emotion*
99 %{_pkgconfigdir}/emotion.pc
100
101 %files static
102 %defattr(644,root,root,755)
103 %{_libdir}/libemotion.a
This page took 0.078 seconds and 3 git commands to generate.