]> git.pld-linux.org Git - packages/emotion.git/blame - emotion.spec
- updated to 0.0.1.005
[packages/emotion.git] / emotion.spec
CommitLineData
9772bec2
KK
1#
2# Conditional build:
1add56ee 3%bcond_without gstreamer # don't build gstreamer decoder
4%bcond_without xine # don't build xine decoder
9772bec2
KK
5%bcond_without static_libs # don't build static library
6#
c0a6ec43 7%if !%{with gstreamer} && !%{with xine}
936b60e1 8%error at last one backend must be enabled
1add56ee 9%endif
10#
703408aa 11Summary: Enlightenment Fundation Libraries - Emotion
74669e6f 12Summary(pl.UTF-8): Podstawowe biblioteki Enlightenmenta - Emotion
a07f4f62 13Name: emotion
936b60e1
JB
14Version: 0.0.1.005
15Release: 1
a07f4f62 16License: BSD
17Group: X11/Libraries
936b60e1
JB
18Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
19# Source0-md5: e1550ff7a8f68b76b76a4d857073b3ee
d98a035b 20URL: http://enlightenment.org/p.php?p=about/libs/emotion
a07f4f62 21BuildRequires: autoconf
936b60e1
JB
22BuildRequires: automake >= 1.4
23# ecore-evas ecore-job
24BuildRequires: ecore-devel >= 0.9.9
25BuildRequires: edje >= 0.5.0
26BuildRequires: edje-devel >= 0.5.0
27BuildRequires: evas-devel >= 0.9.9
06a5aa95 28%if %{with gstreamer}
06a5aa95 29BuildRequires: gstreamer-devel >= 0.10.2
06a5aa95 30BuildRequires: gstreamer-plugins-base-devel >= 0.10.1
936b60e1 31# gstreamer-cdio,gstreamer-ffmpeg for runtime, configure just warns if missing
06a5aa95 32%endif
a07f4f62 33BuildRequires: libtool
9772bec2 34BuildRequires: pkgconfig
1add56ee 35%{?with_xine:BuildRequires: xine-lib-devel >= 2:1.1.1}
936b60e1
JB
36Requires: ecore-evas >= 0.9.9
37Requires: ecore-job >= 0.9.9
38Requires: edje-libs >= 0.5.0
39Requires: evas >= 0.9.9
a07f4f62 40BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42%description
43Emotion is a Media Library.
44
7f594546 45%description -l pl.UTF-8
703408aa
JB
46Emotion to biblioteka multimedialna.
47
a07f4f62 48%package devel
703408aa 49Summary: Emotion header files
74669e6f 50Summary(pl.UTF-8): Pliki nagłówkowe Emotion
a07f4f62 51Group: Development/Libraries
703408aa 52Requires: %{name} = %{version}-%{release}
936b60e1
JB
53# ecore-evas ecore-job
54Requires: ecore-devel >= 0.9.9
55Requires: edje-devel >= 0.5.0
56Requires: evas-devel >= 0.9.9
a07f4f62 57
58%description devel
703408aa
JB
59Header files for Emotion.
60
7f594546
JR
61%description devel -l pl.UTF-8
62Pliki nagłówkowe Emotion.
a07f4f62 63
64%package static
703408aa 65Summary: Static Emotion library
74669e6f 66Summary(pl.UTF-8): Statyczna biblioteka Emotion
a07f4f62 67Group: Development/Libraries
703408aa 68Requires: %{name}-devel = %{version}-%{release}
a07f4f62 69
70%description static
703408aa
JB
71Static Emotion library.
72
7f594546 73%description static -l pl.UTF-8
703408aa 74Statyczna biblioteka Emotion.
a07f4f62 75
1add56ee 76%package decoder-gstreamer
77Summary: Emotion decoder using gstreamer
74669e6f 78Summary(pl.UTF-8): Dekoder Emotion używający gstreamera
1add56ee 79Group: Development/Libraries
80Requires: %{name} = %{version}-%{release}
936b60e1
JB
81Requires: gstreamer >= 0.10.2
82Requires: gstreamer-plugins-base >= 0.10.1
83Suggests: gstreamer-cdio
84Suggests: gstreamer-ffmpeg
1add56ee 85
86%description decoder-gstreamer
87Emotion decoder using gstreamer.
88
7f594546
JR
89%description decoder-gstreamer -l pl.UTF-8
90Dekoder Emotion używający gstreamera.
1add56ee 91
92%package decoder-xine
93Summary: Emotion decoder using xine
74669e6f 94Summary(pl.UTF-8): Dekoder Emotion używający xine
1add56ee 95Group: Development/Libraries
96Requires: %{name} = %{version}-%{release}
936b60e1 97Requires: xine-lib >= 2:1.1.1
1add56ee 98
99%description decoder-xine
100Emotion decoder using xine.
101
7f594546
JR
102%description decoder-xine -l pl.UTF-8
103Dekoder Emotion używający xine.
1add56ee 104
a07f4f62 105%prep
936b60e1 106%setup -q
a07f4f62 107
108%build
109%{__libtoolize}
7cc83f9c 110%{__aclocal} -I m4
a07f4f62 111%{__autoconf}
112%{__autoheader}
113%{__automake}
9772bec2 114%configure \
1add56ee 115 %{!?with_static_libs:--disable-static} \
dc18c2f6 116 %{!?with_gstreamer:--disable-gstreamer} \
117 %{!?with_xine:--disable-xine}
a07f4f62 118%{__make}
119
120%install
121rm -rf $RPM_BUILD_ROOT
703408aa 122
a07f4f62 123%{__make} install \
124 DESTDIR=$RPM_BUILD_ROOT
125
936b60e1
JB
126rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.{a,la}
127
a07f4f62 128%clean
129rm -rf $RPM_BUILD_ROOT
130
131%post -p /sbin/ldconfig
132%postun -p /sbin/ldconfig
133
134%files
135%defattr(644,root,root,755)
4b4b4171 136%doc AUTHORS COPYING COPYING-PLAIN README TODO
a07f4f62 137%attr(755,root,root) %{_bindir}/emotion_*
02a44cc0 138%attr(755,root,root) %{_libdir}/libemotion.so.*.*.*
703408aa 139%dir %{_libdir}/%{name}
1add56ee 140%{_datadir}/%{name}
141
a07f4f62 142%files devel
143%defattr(644,root,root,755)
144%attr(755,root,root) %{_bindir}/emotion-config
a07f4f62 145%attr(755,root,root) %{_libdir}/libemotion.so
146%{_libdir}/libemotion.la
936b60e1 147%{_includedir}/Emotion.h
703408aa 148%{_pkgconfigdir}/emotion.pc
a07f4f62 149
9772bec2 150%if %{with static_libs}
a07f4f62 151%files static
152%defattr(644,root,root,755)
153%{_libdir}/libemotion.a
9772bec2 154%endif
936b60e1
JB
155
156%if %{with gstreamer}
157%files decoder-gstreamer
158%defattr(644,root,root,755)
159%attr(755,root,root) %{_libdir}/%{name}/emotion_decoder_gstreamer.so
160%endif
161
162%if %{with xine}
163%files decoder-xine
164%defattr(644,root,root,755)
165%attr(755,root,root) %{_libdir}/%{name}/emotion_decoder_xine.so
166%endif
This page took 0.0875 seconds and 4 git commands to generate.