1 # NOTE: for EFL >= 1.8.0 version see python-efl.spec
2 Summary: Python bindings for Emotion library
3 Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion
8 Group: Development/Languages/Python
9 Source0: http://download.enlightenment.org/releases/BINDINGS/python/%{name}-%{version}.tar.bz2
10 # Source0-md5: ac7197ce2617a87fad3dd134a98ad01f
11 URL: http://trac.enlightenment.org/e/wiki/Python
12 BuildRequires: emotion-devel >= 1.7.0
14 BuildRequires: evas-devel >= 1.7.0
15 BuildRequires: python-Cython >= 0.15.1
16 BuildRequires: python-devel >= 1:2.7
17 BuildRequires: python-evas >= 1.7.0
18 BuildRequires: rpm-pythonprov
19 BuildRequires: pkgconfig >= 1:0.22
20 BuildRequires: rpmbuild(macros) >= 1.219
21 Requires: emotion >= 1.7.0
22 Requires: evas >= 1.7.0
23 Requires: python-evas >= 1.7.0
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Python bindings for Emotion library.
29 %description -l pl.UTF-8
30 Wiązania Pythona do biblioteki Emotion.
33 Summary: Python bindings for Emotion library - development files
34 Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion - pliki programistyczne
35 Group: Development/Libraries
36 Requires: %{name} = %{version}-%{release}
37 Requires: emotion-devel >= 1.7.0
38 Requires: evas-devel >= 1.7.0
39 Requires: python-evas-devel >= 1.7.0
42 Python bindings for Emotion library - development files.
44 %description devel -l pl.UTF-8
45 Wiązania Pythona do biblioteki Emotion - pliki programistyczne.
52 --disable-silent-rules
57 rm -rf $RPM_BUILD_ROOT
60 DESTDIR=$RPM_BUILD_ROOT
63 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/emotion/c_emotion.la
65 install -d $RPM_BUILD_ROOT%{_examplesdir}
66 mv $RPM_BUILD_ROOT%{_datadir}/%{name}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
74 %dir %{py_sitedir}/emotion
75 %attr(755,root,root) %{py_sitedir}/emotion/c_emotion.so
76 %{py_sitedir}/emotion/__init__.py[co]
77 %{_examplesdir}/%{name}-%{version}
80 %defattr(644,root,root,755)
81 %{_pkgconfigdir}/python-emotion.pc