]> git.pld-linux.org Git - SPECS.git/blob - python-emotion.spec
SPECS updated Sat 31 Jul 21:27:02 CEST 2021
[SPECS.git] / python-emotion.spec
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
4 Name:           python-emotion
5 Version:        1.7.0
6 Release:        6
7 License:        LGPL v2.1+
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
13 BuildRequires:  epydoc
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)
25
26 %description
27 Python bindings for Emotion library.
28
29 %description -l pl.UTF-8
30 Wiązania Pythona do biblioteki Emotion.
31
32 %package devel
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
40
41 %description devel
42 Python bindings for Emotion library - development files.
43
44 %description devel -l pl.UTF-8
45 Wiązania Pythona do biblioteki Emotion - pliki programistyczne.
46
47 %prep
48 %setup -q
49
50 %build
51 %configure \
52         --disable-silent-rules
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 %py_postclean
63 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/emotion/c_emotion.la
64
65 install -d $RPM_BUILD_ROOT%{_examplesdir}
66 mv $RPM_BUILD_ROOT%{_datadir}/%{name}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS README
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}
78
79 %files devel
80 %defattr(644,root,root,755)
81 %{_pkgconfigdir}/python-emotion.pc
This page took 0.112319 seconds and 3 git commands to generate.