]> git.pld-linux.org Git - packages/libchamplain.git/commitdiff
- initial PLD release auto/th/libchamplain-0_3_3-1
authorPatryk Zawadzki <patrys@room-303.com>
Tue, 16 Jun 2009 18:35:07 +0000 (18:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    TODO -> 1.1
    libchamplain-makefile.patch -> 1.1
    libchamplain.spec -> 1.1

TODO [new file with mode: 0644]
libchamplain-makefile.patch [new file with mode: 0644]
libchamplain.spec [new file with mode: 0644]

diff --git a/TODO b/TODO
new file mode 100644 (file)
index 0000000..ddd8f85
--- /dev/null
+++ b/TODO
@@ -0,0 +1,2 @@
+- python bindings (--enable-python)
+- dotnet bindings (--enable-managed)
diff --git a/libchamplain-makefile.patch b/libchamplain-makefile.patch
new file mode 100644 (file)
index 0000000..fd89464
--- /dev/null
@@ -0,0 +1,18 @@
+--- libchamplain-0.3.3/champlain/Makefile.am~  2009-06-15 04:52:12.000000000 +0200
++++ libchamplain-0.3.3/champlain/Makefile.am   2009-06-16 19:39:00.186972692 +0200
+@@ -67,7 +67,6 @@
+       champlain-network-map-source.h  \
+       champlain-map-source-factory.h  \
+       champlain-map-source-desc.h     \
+-      champlain-version.h             \
+       champlain-cache.h               \
+       champlain-polygon.h             \
+       champlain-version.h
+@@ -86,7 +86,6 @@
+       champlain-zoom-level.h          \
+       champlain-base-marker.h         \
+       champlain-marker.h              \
+-      champlain-version.h             \
+       champlain-cache.h               \
+       champlain-polygon.h             \
+       champlain-version.h
diff --git a/libchamplain.spec b/libchamplain.spec
new file mode 100644 (file)
index 0000000..c77ee76
--- /dev/null
@@ -0,0 +1,98 @@
+Summary:       Map widget for Clutter
+Name:          libchamplain
+Version:       0.3.3
+Release:       1
+License:       LGPL v2
+Group:         Development/Libraries
+Source0:       http://download.gnome.org/sources/libchamplain/0.3/%{name}-%{version}.tar.bz2
+# Source0-md5: af2cf557bfe5fb5cc6ce6f16e6cf7358
+Patch0:                %{name}-makefile.patch
+URL:           http://projects.gnome.org/libchamplain/
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: cairo-devel >= 1.4
+BuildRequires: clutter-cairo-devel >= 0.8
+BuildRequires: clutter-devel >= 0.8.4
+BuildRequires: clutter-gtk-devel >= 0.8
+BuildRequires: glib2-devel >= 2.16
+BuildRequires: gtk+2-devel >= 2.10
+BuildRequires: gtk-doc
+BuildRequires: libtool
+BuildRequires: libsoup-gnome-devel >= 2.26
+BuildRequires: python-devel
+BuildRequires: sqlite3-devel >= 3.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Libchamplain is a C library aimed to provide a ClutterActor to display
+rasterized maps.
+
+%package devel
+Summary:       Header files for the champlain library
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for the champlain library.
+
+%package apidocs
+Summary:       libchamplain API documentation
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description apidocs
+libchamplain API documentation.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__gtkdocize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+%configure \
+       --enable-gtk \
+       --with-html-dir=%{_gtkdocdir}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_gtkdocdir}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libchamplain-0.3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libchamplain-0.3.so.1
+%attr(755,root,root) %{_libdir}/libchamplain-gtk-0.3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libchamplain-gtk-0.3.so.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libchamplain-0.3.so
+%attr(755,root,root) %{_libdir}/libchamplain-gtk-0.3.so
+%{_libdir}/libchamplain-0.3.la
+%{_libdir}/libchamplain-gtk-0.3.la
+%{_includedir}/libchamplain-0.3
+%{_includedir}/libchamplain-gtk-0.3
+%{_pkgconfigdir}/champlain-0.3.pc
+%{_pkgconfigdir}/champlain-gtk-0.3.pc
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/libchamplain
+%{_gtkdocdir}/libchamplain-gtk
This page took 0.053908 seconds and 4 git commands to generate.