]> git.pld-linux.org Git - packages/python-emotion.git/blame - python-emotion.spec
- rebuild with expat 2.1.0
[packages/python-emotion.git] / python-emotion.spec
CommitLineData
713a5c8c
JB
1Summary: Python bindings for Emotion library
2Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion
3Name: python-emotion
0412f2c1 4Version: 1.7.0
214aa5f9 5Release: 2
713a5c8c
JB
6License: LGPL v2.1+
7Group: Development/Languages/Python
8Source0: http://download.enlightenment.org/releases/BINDINGS/python/%{name}-%{version}.tar.bz2
0412f2c1 9# Source0-md5: ac7197ce2617a87fad3dd134a98ad01f
713a5c8c 10URL: http://trac.enlightenment.org/e/wiki/Python
0412f2c1 11BuildRequires: emotion-devel >= 1.7.0
713a5c8c 12BuildRequires: epydoc
0412f2c1
JB
13BuildRequires: evas-devel >= 1.7.0
14BuildRequires: python-Cython >= 0.15.1
15BuildRequires: python-devel >= 1:2.7
16BuildRequires: python-evas >= 1.7.0
713a5c8c
JB
17BuildRequires: rpm-pythonprov
18BuildRequires: pkgconfig >= 1:0.22
19BuildRequires: rpmbuild(macros) >= 1.219
0412f2c1
JB
20Requires: emotion >= 1.7.0
21Requires: evas >= 1.7.0
22Requires: python-evas >= 1.7.0
713a5c8c
JB
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Python bindings for Emotion library.
27
28%description -l pl.UTF-8
29Wiązania Pythona do biblioteki Emotion.
30
31%package devel
32Summary: Python bindings for Emotion library - development files
33Summary(pl.UTF-8): Wiązania Pythona do biblioteki Emotion - pliki programistyczne
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
0412f2c1
JB
36Requires: emotion-devel >= 1.7.0
37Requires: evas-devel >= 1.7.0
38Requires: python-evas-devel >= 1.7.0
713a5c8c
JB
39
40%description devel
41Python bindings for Emotion library - development files.
42
43%description devel -l pl.UTF-8
44Wią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
56rm -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
64install -d $RPM_BUILD_ROOT%{_examplesdir}
65mv $RPM_BUILD_ROOT%{_datadir}/%{name}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
66
67%clean
68rm -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
This page took 0.112847 seconds and 4 git commands to generate.