1 Summary: Python bindings for Emotion library
2 Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion
7 Group: Development/Languages/Python
8 Source0: http://download.enlightenment.org/releases/BINDINGS/python/%{name}-%{version}.tar.bz2
9 # Source0-md5: ac7197ce2617a87fad3dd134a98ad01f
10 URL: http://trac.enlightenment.org/e/wiki/Python
11 BuildRequires: emotion-devel >= 1.7.0
13 BuildRequires: evas-devel >= 1.7.0
14 BuildRequires: python-Cython >= 0.15.1
15 BuildRequires: python-devel >= 1:2.7
16 BuildRequires: python-evas >= 1.7.0
17 BuildRequires: rpm-pythonprov
18 BuildRequires: pkgconfig >= 1:0.22
19 BuildRequires: rpmbuild(macros) >= 1.219
20 Requires: emotion >= 1.7.0
21 Requires: evas >= 1.7.0
22 Requires: python-evas >= 1.7.0
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Python bindings for Emotion library.
28 %description -l pl.UTF-8
29 Wiązania Pythona do biblioteki Emotion.
32 Summary: Python bindings for Emotion library - development files
33 Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion - pliki programistyczne
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
36 Requires: emotion-devel >= 1.7.0
37 Requires: evas-devel >= 1.7.0
38 Requires: python-evas-devel >= 1.7.0
41 Python bindings for Emotion library - development files.
43 %description devel -l pl.UTF-8
44 Wiązania Pythona do biblioteki Emotion - pliki programistyczne.
51 --disable-silent-rules
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/emotion/c_emotion.la
64 install -d $RPM_BUILD_ROOT%{_examplesdir}
65 mv $RPM_BUILD_ROOT%{_datadir}/%{name}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
73 %dir %{py_sitedir}/emotion
74 %attr(755,root,root) %{py_sitedir}/emotion/c_emotion.so
75 %{py_sitedir}/emotion/__init__.py[co]
76 %{_examplesdir}/%{name}-%{version}
79 %defattr(644,root,root,755)
80 %{_pkgconfigdir}/python-emotion.pc