]> git.pld-linux.org Git - packages/python-edje.git/blame - python-edje.spec
- release 12 (by relup.sh)
[packages/python-edje.git] / python-edje.spec
CommitLineData
d273a36a 1# NOTE: for EFL >= 1.8.0 version see python-efl.spec
3dead6ac
JB
2Summary: Python bindings for Edje library
3Summary(pl.UTF-8): Wiązania Pythona do biblioteki Edje
4Name: python-edje
6ccdf3b3 5Version: 1.7.0
6157c29d 6Release: 12
3dead6ac
JB
7License: LGPL v2.1+
8Group: Development/Languages/Python
9Source0: http://download.enlightenment.org/releases/BINDINGS/python/%{name}-%{version}.tar.bz2
6ccdf3b3 10# Source0-md5: 1e0d7a4a4504298caaad0cee476e4edb
3dead6ac 11URL: http://trac.enlightenment.org/e/wiki/Python
6ccdf3b3
JB
12BuildRequires: edje-devel >= 1.7.0
13BuildRequires: eina-devel >= 1.7.0
3dead6ac 14BuildRequires: epydoc
6ccdf3b3
JB
15BuildRequires: evas-devel >= 1.7.0
16BuildRequires: python-Cython >= 0.15.1
17BuildRequires: python-devel >= 1:2.7
18BuildRequires: python-evas >= 1.7.0
3dead6ac
JB
19BuildRequires: rpm-pythonprov
20BuildRequires: pkgconfig >= 1:0.22
21BuildRequires: rpmbuild(macros) >= 1.219
6ccdf3b3
JB
22Requires: edje-libs >= 1.7.0
23Requires: eina >= 1.7.0
24Requires: evas >= 1.7.0
25Requires: python-evas >= 1.7.0
3dead6ac
JB
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Python bindings for Edje library.
30
31%description -l pl.UTF-8
32Wiązania Pythona do biblioteki Edje.
33
34%package devel
35Summary: Python bindings for Edje library - development files
36Summary(pl.UTF-8): Wiązania Pythona do biblioteki Edje - pliki programistyczne
37Group: Development/Libraries
38Requires: %{name} = %{version}-%{release}
6ccdf3b3
JB
39Requires: edje-devel >= 1.7.0
40Requires: eina-devel >= 1.7.0
41Requires: evas-devel >= 1.7.0
42Requires: python-evas-devel >= 1.7.0
3dead6ac
JB
43
44%description devel
45Python bindings for Edje library - development files.
46
47%description devel -l pl.UTF-8
48Wiązania Pythona do biblioteki Edje - pliki programistyczne.
49
50%prep
51%setup -q
3dead6ac
JB
52
53%build
54%configure \
55 --disable-silent-rules
56
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%py_postclean
66%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/edje/c_edje.la
67%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/edje/edit/c_edit.la
68
69install -d $RPM_BUILD_ROOT%{_examplesdir}
70mv $RPM_BUILD_ROOT%{_datadir}/%{name}/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
77%doc AUTHORS README
78%dir %{py_sitedir}/edje
79%attr(755,root,root) %{py_sitedir}/edje/c_edje.so
80%dir %{py_sitedir}/edje/edit
81%attr(755,root,root) %{py_sitedir}/edje/edit/c_edit.so
6ccdf3b3
JB
82%{py_sitedir}/edje/*.py[co]
83%{py_sitedir}/edje/edit/__init__.py[co]
3dead6ac
JB
84%{_examplesdir}/%{name}-%{version}
85
86%files devel
87%defattr(644,root,root,755)
88%{_includedir}/python-edje
89%{_pkgconfigdir}/python-edje.pc
This page took 0.085488 seconds and 4 git commands to generate.