]> git.pld-linux.org Git - packages/python-emotion.git/blob - python-emotion.spec
- rebuild with expat 2.1.0
[packages/python-emotion.git] / python-emotion.spec
1 Summary:        Python bindings for Emotion library
2 Summary(pl.UTF-8):      Wiązania Pythona do biblioteki Emotion
3 Name:           python-emotion
4 Version:        1.7.0
5 Release:        2
6 License:        LGPL v2.1+
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
12 BuildRequires:  epydoc
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)
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}
36 Requires:       emotion-devel >= 1.7.0
37 Requires:       evas-devel >= 1.7.0
38 Requires:       python-evas-devel >= 1.7.0
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
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
75 %{py_sitedir}/emotion/__init__.py[co]
76 %{_examplesdir}/%{name}-%{version}
77
78 %files devel
79 %defattr(644,root,root,755)
80 %{_pkgconfigdir}/python-emotion.pc
This page took 0.087814 seconds and 3 git commands to generate.