]> git.pld-linux.org Git - packages/python-elementary.git/blame - python-elementary.spec
- new; patched to compile with elementary 0.8.0.x
[packages/python-elementary.git] / python-elementary.spec
CommitLineData
c34ad2cc
JB
1Summary: Python bindings for Elementary library
2Summary(pl.UTF-8): Wiązania Pythona do biblioteki Elementary
3Name: python-elementary
4Version: 0.7.3
5Release: 1
6License: LGPL v3+
7Group: Development/Languages/Python
8Source0: http://download.enlightenment.org/releases/BINDINGS/python/%{name}-%{version}.tar.bz2
9# Source0-md5: 30ddcbd13b917689676bc3de55cd10ca
10Patch0: %{name}-cython.patch
11Patch1: %{name}-update.patch
12URL: http://trac.enlightenment.org/e/wiki/Python
13BuildRequires: elementary-devel >= 0.8.0
14BuildRequires: eina-devel >= 1.0.0
15BuildRequires: epydoc
16BuildRequires: evas-devel >= 1.0.0
17BuildRequires: python-Cython >= 0.13
18BuildRequires: python-devel >= 1:2.5
19BuildRequires: python-evas >= 0.7.3
20BuildRequires: rpm-pythonprov
21BuildRequires: pkgconfig >= 1:0.22
22BuildRequires: rpmbuild(macros) >= 1.219
23Requires: elementary-libs >= 0.8.0
24Requires: eina >= 1.0.0
25Requires: evas >= 1.0.0
26Requires: python-evas >= 0.7.3
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30Python bindings for Elementary library.
31
32%description -l pl.UTF-8
33Wiązania Pythona do biblioteki Elementary.
34
35%package devel
36Summary: Python bindings for Elementary library - development files
37Summary(pl.UTF-8): Wiązania Pythona do biblioteki Elementary - pliki programistyczne
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Requires: elementary-devel >= 0.8.0
41Requires: eina-devel >= 1.0.0
42Requires: evas-devel >= 1.0.0
43Requires: python-evas-devel >= 0.7.3
44
45%description devel
46Python bindings for Elementary library - development files.
47
48%description devel -l pl.UTF-8
49Wiązania Pythona do biblioteki Elementary - pliki programistyczne.
50
51%prep
52%setup -q
53%patch0 -p1
54%patch1 -p1
55
56%build
57%configure \
58 --disable-silent-rules
59
60%{__make}
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
67
68%py_postclean
69%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/elementary/c_elementary.la
70
71install -d $RPM_BUILD_ROOT%{_examplesdir}
72mv $RPM_BUILD_ROOT%{_datadir}/%{name}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%files
78%defattr(644,root,root,755)
79%doc AUTHORS ChangeLog README
80%dir %{py_sitedir}/elementary
81%attr(755,root,root) %{py_sitedir}/elementary/c_elementary.so
82%{py_sitescriptdir}/elementary
83%{_examplesdir}/%{name}-%{version}
84
85%files devel
86%defattr(644,root,root,755)
87%{_pkgconfigdir}/python-elementary.pc
This page took 0.068413 seconds and 4 git commands to generate.