packages: libchamplain/TODO (NEW), libchamplain/libchamplain-makefile.patch...

patrys patrys at pld-linux.org
Tue Jun 16 20:35:13 CEST 2009


Author: patrys                       Date: Tue Jun 16 18:35:13 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/libchamplain:
   TODO (NONE -> 1.1)  (NEW), libchamplain-makefile.patch (NONE -> 1.1)  (NEW), libchamplain.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libchamplain/TODO
diff -u /dev/null packages/libchamplain/TODO:1.1
--- /dev/null	Tue Jun 16 20:35:13 2009
+++ packages/libchamplain/TODO	Tue Jun 16 20:35:07 2009
@@ -0,0 +1,2 @@
+- python bindings (--enable-python)
+- dotnet bindings (--enable-managed)

================================================================
Index: packages/libchamplain/libchamplain-makefile.patch
diff -u /dev/null packages/libchamplain/libchamplain-makefile.patch:1.1
--- /dev/null	Tue Jun 16 20:35:13 2009
+++ packages/libchamplain/libchamplain-makefile.patch	Tue Jun 16 20:35:07 2009
@@ -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

================================================================
Index: packages/libchamplain/libchamplain.spec
diff -u /dev/null packages/libchamplain/libchamplain.spec:1.1
--- /dev/null	Tue Jun 16 20:35:13 2009
+++ packages/libchamplain/libchamplain.spec	Tue Jun 16 20:35:07 2009
@@ -0,0 +1,109 @@
+# $Revision$, $Date$
+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
+
+%define date    %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/06/16 18:35:07  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list