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