]>
Commit | Line | Data |
---|---|---|
fca47040 | 1 | Summary: Map widget for Clutter |
643eb309 | 2 | Summary(pl.UTF-8): Widget mapy dla Cluttera |
fca47040 | 3 | Name: libchamplain |
ce2fa7d6 | 4 | Version: 0.8.2 |
d4196b86 | 5 | Release: 1 |
fca47040 | 6 | License: LGPL v2 |
643eb309 | 7 | Group: X11/Libraries |
3ba35565 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/libchamplain/0.8/%{name}-%{version}.tar.bz2 |
ce2fa7d6 | 9 | # Source0-md5: 6018dbd6a52906c1ff73ba9cf2c60c81 |
fca47040 | 10 | URL: http://projects.gnome.org/libchamplain/ |
3ba35565 | 11 | BuildRequires: autoconf >= 2.64 |
fca47040 | 12 | BuildRequires: automake |
643eb309 | 13 | BuildRequires: cairo-devel >= 1.4.0 |
697f923c | 14 | BuildRequires: clutter-devel >= 1.2.0 |
643eb309 | 15 | BuildRequires: clutter-gtk-devel >= 0.10.0 |
8f3ed790 | 16 | BuildRequires: docbook-dtd412-xml |
643eb309 | 17 | BuildRequires: glib2-devel >= 1:2.16.0 |
66dc2cc1 | 18 | BuildRequires: glibc-misc |
3ba35565 | 19 | BuildRequires: gnome-common |
643eb309 MB |
20 | BuildRequires: gobject-introspection-devel >= 0.6.3 |
21 | BuildRequires: gtk+2-devel >= 2:2.12.0 | |
22 | BuildRequires: gtk-doc >= 1.9 | |
23 | BuildRequires: libsoup-gnome-devel >= 2.26.0 | |
fca47040 | 24 | BuildRequires: libtool |
3ba35565 | 25 | BuildRequires: memphis-devel >= 0.2.1 |
643eb309 | 26 | BuildRequires: pkgconfig |
fca47040 | 27 | BuildRequires: python-devel |
66dc2cc1 | 28 | BuildRequires: python-modules |
fca47040 | 29 | BuildRequires: sqlite3-devel >= 3.0 |
8f3ed790 | 30 | BuildRequires: xorg-proto-glproto-devel |
fca47040 PZ |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | Libchamplain is a C library aimed to provide a ClutterActor to display | |
35 | rasterized maps. | |
36 | ||
643eb309 MB |
37 | %description -l pl.UTF-8 |
38 | Libchamplain jest biblioteką C, której celem jest dostarczenie | |
39 | interfejcu ClutterActor do wyświetlania rastrowych map. | |
40 | ||
fca47040 | 41 | %package devel |
643eb309 MB |
42 | Summary: Header files for the libchamplain library |
43 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libchamplain | |
44 | Group: X11/Development/Libraries | |
fca47040 | 45 | Requires: %{name} = %{version}-%{release} |
643eb309 MB |
46 | Requires: clutter-devel >= 1.0.0 |
47 | Requires: clutter-gtk-devel >= 0.10.0 | |
48 | Requires: glib2-devel >= 1:2.16.0 | |
49 | Requires: gtk+2-devel >= 2:2.12.0 | |
3ba35565 MB |
50 | Requires: memphis-devel >= 0.2.1 |
51 | Requires: sqlite3-devel >= 3.0 | |
fca47040 PZ |
52 | |
53 | %description devel | |
643eb309 MB |
54 | Header files for the libchamplain library. |
55 | ||
56 | %description devel -l pl.UTF-8 | |
57 | Pliki nagłówkowe biblioteki libchamplain. | |
fca47040 PZ |
58 | |
59 | %package apidocs | |
60 | Summary: libchamplain API documentation | |
643eb309 | 61 | Summary(pl.UTF-8): Dokumentacja API biblioteki libchamplain |
fca47040 PZ |
62 | Group: Documentation |
63 | Requires: gtk-doc-common | |
64 | ||
65 | %description apidocs | |
66 | libchamplain API documentation. | |
67 | ||
643eb309 MB |
68 | %description apidocs -l pl.UTF-8 |
69 | Dokumentacja API biblioteki libchamplain | |
70 | ||
fca47040 PZ |
71 | %prep |
72 | %setup -q | |
fca47040 PZ |
73 | |
74 | %build | |
75 | %{__gtkdocize} | |
76 | %{__libtoolize} | |
77 | %{__aclocal} -I m4 | |
78 | %{__autoheader} | |
79 | %{__autoconf} | |
80 | %{__automake} | |
81 | %configure \ | |
8f38e96e | 82 | --disable-static \ |
d4c4f907 | 83 | --disable-silent-rules \ |
fca47040 | 84 | --enable-gtk \ |
d4c4f907 | 85 | --enable-gtk-doc \ |
fca47040 PZ |
86 | --with-html-dir=%{_gtkdocdir} |
87 | %{__make} | |
88 | ||
89 | %install | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
fca47040 PZ |
92 | %{__make} install \ |
93 | DESTDIR=$RPM_BUILD_ROOT | |
94 | ||
95 | %clean | |
96 | rm -rf $RPM_BUILD_ROOT | |
97 | ||
98 | %post -p /sbin/ldconfig | |
99 | %postun -p /sbin/ldconfig | |
100 | ||
101 | %files | |
102 | %defattr(644,root,root,755) | |
103 | %doc AUTHORS ChangeLog NEWS README | |
3ba35565 MB |
104 | %attr(755,root,root) %{_libdir}/libchamplain-0.8.so.*.*.* |
105 | %attr(755,root,root) %ghost %{_libdir}/libchamplain-0.8.so.1 | |
106 | %attr(755,root,root) %{_libdir}/libchamplain-gtk-0.8.so.*.*.* | |
107 | %attr(755,root,root) %ghost %{_libdir}/libchamplain-gtk-0.8.so.1 | |
108 | %{_libdir}/girepository-1.0/Champlain-0.8.typelib | |
109 | %{_libdir}/girepository-1.0/GtkChamplain-0.8.typelib | |
fca47040 PZ |
110 | |
111 | %files devel | |
112 | %defattr(644,root,root,755) | |
3ba35565 MB |
113 | %attr(755,root,root) %{_libdir}/libchamplain-0.8.so |
114 | %attr(755,root,root) %{_libdir}/libchamplain-gtk-0.8.so | |
115 | %{_libdir}/libchamplain-0.8.la | |
116 | %{_libdir}/libchamplain-gtk-0.8.la | |
117 | %{_includedir}/libchamplain-0.8 | |
118 | %{_includedir}/libchamplain-gtk-0.8 | |
119 | %{_pkgconfigdir}/champlain-0.8.pc | |
120 | %{_pkgconfigdir}/champlain-gtk-0.8.pc | |
121 | %{_pkgconfigdir}/champlain-memphis-0.8.pc | |
122 | %{_datadir}/gir-1.0/Champlain-0.8.gir | |
123 | %{_datadir}/gir-1.0/GtkChamplain-0.8.gir | |
124 | %{_datadir}/vala/vapi/* | |
fca47040 PZ |
125 | |
126 | %files apidocs | |
127 | %defattr(644,root,root,755) | |
128 | %{_gtkdocdir}/libchamplain | |
129 | %{_gtkdocdir}/libchamplain-gtk |