1 |
%define name python-memphis |
2 |
%define version 0.2.1 |
3 |
%define release %mkrel 2 |
4 |
|
5 |
Summary: Python bindings for the Memphis maps renderer |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
Source0: pymemphis-mainline-master.tar.gz |
10 |
License: GPLv2+ |
11 |
Group: Development/Python |
12 |
Url: http://gitorious.net/pymemphis |
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
14 |
BuildRequires: memphis-devel |
15 |
BuildRequires: python-gobject-devel |
16 |
BuildRequires: python-cairo-devel |
17 |
|
18 |
%description |
19 |
Libmemphis is a generic glib/cairo based OSM renderer library. It |
20 |
draws maps on arbitrary cairo surfaces. PyMemphis provides Python |
21 |
bindings for this library. |
22 |
|
23 |
%package devel |
24 |
Summary: Python bindings for the Memphis maps renderer |
25 |
Group: Development/Python |
26 |
Requires: %name = %version-%release |
27 |
|
28 |
%description devel |
29 |
Libmemphis is a generic glib/cairo based OSM renderer library. It |
30 |
draws maps on arbitrary cairo surfaces. PyMemphis provides Python |
31 |
bindings for this library. |
32 |
|
33 |
%prep |
34 |
%setup -q -n pymemphis-mainline |
35 |
./autogen.sh |
36 |
|
37 |
%build |
38 |
%configure2_5x |
39 |
%make |
40 |
|
41 |
%install |
42 |
rm -rf %{buildroot} |
43 |
%makeinstall_std |
44 |
|
45 |
%clean |
46 |
rm -rf %{buildroot} |
47 |
|
48 |
%files |
49 |
%defattr(-,root,root) |
50 |
%doc AUTHORS README |
51 |
%py_platsitedir/memphis |
52 |
|
53 |
%files devel |
54 |
%defattr(-,root,root) |
55 |
%_datadir/pymemphis |
56 |
%_libdir/pkgconfig/pymemphis-0.2.pc |
57 |
|
58 |
|
59 |
|