]>
Commit | Line | Data |
---|---|---|
713a5c8c JB |
1 | Summary: Python bindings for Emotion library |
2 | Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion | |
3 | Name: python-emotion | |
0412f2c1 | 4 | Version: 1.7.0 |
214aa5f9 | 5 | Release: 2 |
713a5c8c JB |
6 | License: LGPL v2.1+ |
7 | Group: Development/Languages/Python | |
8 | Source0: http://download.enlightenment.org/releases/BINDINGS/python/%{name}-%{version}.tar.bz2 | |
0412f2c1 | 9 | # Source0-md5: ac7197ce2617a87fad3dd134a98ad01f |
713a5c8c | 10 | URL: http://trac.enlightenment.org/e/wiki/Python |
0412f2c1 | 11 | BuildRequires: emotion-devel >= 1.7.0 |
713a5c8c | 12 | BuildRequires: epydoc |
0412f2c1 JB |
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 | |
713a5c8c JB |
17 | BuildRequires: rpm-pythonprov |
18 | BuildRequires: pkgconfig >= 1:0.22 | |
19 | BuildRequires: rpmbuild(macros) >= 1.219 | |
0412f2c1 JB |
20 | Requires: emotion >= 1.7.0 |
21 | Requires: evas >= 1.7.0 | |
22 | Requires: python-evas >= 1.7.0 | |
713a5c8c JB |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | Python bindings for Emotion library. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Wiązania Pythona do biblioteki Emotion. | |
30 | ||
31 | %package devel | |
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} | |
0412f2c1 JB |
36 | Requires: emotion-devel >= 1.7.0 |
37 | Requires: evas-devel >= 1.7.0 | |
38 | Requires: python-evas-devel >= 1.7.0 | |
713a5c8c JB |
39 | |
40 | %description devel | |
41 | Python bindings for Emotion library - development files. | |
42 | ||
43 | %description devel -l pl.UTF-8 | |
44 | Wiązania Pythona do biblioteki Emotion - pliki programistyczne. | |
45 | ||
46 | %prep | |
47 | %setup -q | |
713a5c8c JB |
48 | |
49 | %build | |
50 | %configure \ | |
51 | --disable-silent-rules | |
52 | ||
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | %py_postclean | |
62 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/emotion/c_emotion.la | |
63 | ||
64 | install -d $RPM_BUILD_ROOT%{_examplesdir} | |
65 | mv $RPM_BUILD_ROOT%{_datadir}/%{name}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %files | |
71 | %defattr(644,root,root,755) | |
72 | %doc AUTHORS README | |
73 | %dir %{py_sitedir}/emotion | |
74 | %attr(755,root,root) %{py_sitedir}/emotion/c_emotion.so | |
0412f2c1 | 75 | %{py_sitedir}/emotion/__init__.py[co] |
713a5c8c JB |
76 | %{_examplesdir}/%{name}-%{version} |
77 | ||
78 | %files devel | |
79 | %defattr(644,root,root,755) | |
80 | %{_pkgconfigdir}/python-emotion.pc |