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