rpms/libchamplain/devel .cvsignore, 1.13, 1.14 libchamplain.spec, 1.16, 1.17 sources, 1.13, 1.14

Peter Robinson pbrobinson at fedoraproject.org
Mon Jul 5 23:19:46 UTC 2010


Author: pbrobinson

Update of /cvs/pkgs/rpms/libchamplain/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv24407

Modified Files:
	.cvsignore libchamplain.spec sources 
Log Message:
- Version bump to 0.6.1. Enable python and vala bindings.  http://ftp.gnome.org/pub/GNOME/sources/libchamplain/0.6/libchamplain-0.6.1.news


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libchamplain/devel/.cvsignore,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- .cvsignore	23 Apr 2010 11:48:03 -0000	1.13
+++ .cvsignore	5 Jul 2010 23:19:46 -0000	1.14
@@ -1 +1 @@
-libchamplain-0.4.5.tar.bz2
+libchamplain-0.6.1.tar.bz2


Index: libchamplain.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libchamplain/devel/libchamplain.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -p -r1.16 -r1.17
--- libchamplain.spec	23 Apr 2010 11:48:03 -0000	1.16
+++ libchamplain.spec	5 Jul 2010 23:19:46 -0000	1.17
@@ -1,11 +1,14 @@
+# sitelib for noarch packages, sitearch for others (remove the unneeded one)
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
 Summary:	Map view for Clutter
 Name:		libchamplain
-Version:	0.4.5
+Version:	0.6.1
 Release:	1%{?dist}
 License:	LGPLv2+
 Group:		System Environment/Libraries
 URL:		http://projects.gnome.org/libchamplain/
-Source0:	http://download.gnome.org/sources/libchamplain/0.4/%{name}-%{version}.tar.bz2
+Source0:	http://download.gnome.org/sources/libchamplain/0.6/%{name}-%{version}.tar.bz2
 
 BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
@@ -14,8 +17,11 @@ Requires:	gobject-introspection
 BuildRequires:	chrpath
 BuildRequires:	clutter-devel
 BuildRequires:	clutter-gtk-devel
-BuildRequires:	gir-repository-devel
 BuildRequires:	libsoup-devel
+BuildRequires:	pyclutter-devel
+BuildRequires:	pyclutter-gtk-devel
+BuildRequires:	pygobject2-devel
+BuildRequires:	pygtk2-devel
 BuildRequires:	sqlite-devel
 
 %description
@@ -25,12 +31,6 @@ rasterized maps.
 %package devel
 Summary:	Development files for %{name}
 Group:		Development/Libraries
-
-%if 0%{?fc10}
-Requires:	clutter-devel
-Requires:	pkgconfig
-%endif
-
 Requires:	gobject-introspection-devel
 Requires:	gtk-doc
 Requires:	%{name} = %{version}-%{release}
@@ -51,12 +51,6 @@ into Gtk+ applications.
 %package gtk-devel
 Summary:	Development files for %{name}-gtk
 Group:		Development/Libraries
-
-%if 0%{?fc10}
-Requires:	gtk2-devel
-Requires:	pkgconfig
-%endif
-
 Requires:	gtk-doc
 Requires:	%{name}-devel = %{version}-%{release}
 Requires:	%{name}-gtk = %{version}-%{release}
@@ -64,12 +58,28 @@ Requires:	%{name}-gtk = %{version}-%{rel
 %description gtk-devel
 This package contains development files for %{name}-gtk.
 
+%package vala
+Summary:	Vala bindings for %{name}
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description vala
+This package contains vala bindings for development %{name}.
+
+%package python
+Summary:	Python bindings for %{name}
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description python
+This package contains python bindings for development %{name}.
+
 %prep
 %setup -q
 
 %build
 %configure --disable-debug --disable-silent-rules --disable-static \
-  --enable-gtk --enable-gtk-doc --enable-introspection=yes
+  --enable-gtk --enable-gtk-doc --enable-introspection=yes --enable-python
 
 # Omit unused direct shared library dependencies.
 sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool
@@ -83,7 +93,9 @@ make install INSTALL="%{__install} -p" D
 find $RPM_BUILD_ROOT -type f -name "*.la" -delete
 
 # Remove rpaths.
-chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}-gtk-0.4.so.0.3.2
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}-gtk-0.6.so.0.0.1
+chrpath --delete $RPM_BUILD_ROOT%{python_sitearch}/champlaingtk.so
+chrpath --delete $RPM_BUILD_ROOT%{python_sitearch}/champlain.so
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -98,13 +110,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS
-%doc ChangeLog
-%doc COPYING
-%doc README
-%doc NEWS
-%{_libdir}/girepository-1.0/Champlain-0.4.typelib
-%{_libdir}/%{name}-0.4.so.*
+%doc AUTHORS ChangeLog COPYING README NEWS
+%{_libdir}/girepository-1.0/Champlain-0.6.typelib
+%{_libdir}/%{name}-0.6.so.*
 
 %files devel
 %defattr(-,root,root,-)
@@ -114,37 +122,53 @@ rm -rf $RPM_BUILD_ROOT
 %doc demos/markers.h
 %doc demos/polygons.c
 %doc demos/url-marker.c
-%{_datadir}/gir-1.0/Champlain-0.4.gir
-%{_libdir}/%{name}-0.4.so
-%{_libdir}/pkgconfig/champlain-0.4.pc
+%{_datadir}/gir-1.0/Champlain-0.6.gir
+%{_libdir}/%{name}-0.6.so
+%{_libdir}/pkgconfig/champlain-0.6.pc
 
 %dir %{_datadir}/gtk-doc/html/libchamplain
 %doc %{_datadir}/gtk-doc/html/libchamplain/*
 
-%dir %{_includedir}/%{name}-0.4
-%{_includedir}/%{name}-0.4/champlain
+%dir %{_includedir}/%{name}-0.6
+%{_includedir}/%{name}-0.6/champlain
 
 %files gtk
 %defattr(-,root,root,-)
-%{_libdir}/girepository-1.0/GtkChamplain-0.4.typelib
-%{_libdir}/%{name}-gtk-0.4.so.*
+%{_libdir}/girepository-1.0/GtkChamplain-0.6.typelib
+%{_libdir}/%{name}-gtk-0.6.so.*
 
 %files gtk-devel
 %defattr(-,root,root,-)
 %doc demos/launcher-gtk.c
 %doc demos/markers.c
 %doc demos/markers.h
-%{_datadir}/gir-1.0/GtkChamplain-0.4.gir
-%{_libdir}/%{name}-gtk-0.4.so
-%{_libdir}/pkgconfig/champlain-gtk-0.4.pc
+%{_datadir}/gir-1.0/GtkChamplain-0.6.gir
+%{_libdir}/%{name}-gtk-0.6.so
+%{_libdir}/pkgconfig/champlain-gtk-0.6.pc
 
 %dir %{_datadir}/gtk-doc/html/libchamplain-gtk
 %doc %{_datadir}/gtk-doc/html/libchamplain-gtk/*
 
-%dir %{_includedir}/%{name}-gtk-0.4
-%{_includedir}/%{name}-gtk-0.4/champlain-gtk
+%dir %{_includedir}/%{name}-gtk-0.6
+%{_includedir}/%{name}-gtk-0.6/champlain-gtk
+
+%files python
+%defattr(-,root,root,-)
+%{python_sitearch}/champlaingtk.so
+%{python_sitearch}/champlain.so
+
+%files vala
+%defattr(-,root,root,-)
+%{_datadir}/vala/vapi/champlain-0.6.deps
+%{_datadir}/vala/vapi/champlain-0.6.vapi
+%{_datadir}/vala/vapi/champlain-gtk-0.6.deps
+%{_datadir}/vala/vapi/champlain-gtk-0.6.vapi
 
 %changelog
+* Mon Jul  5 2010 Peter Robinson <pbrobinson at gmail.com> - 0.6.1-1
+- Version bump to 0.6.1. Enable python and vala bindings
+  http://ftp.gnome.org/pub/GNOME/sources/libchamplain/0.6/libchamplain-0.6.1.news
+
 * Fri Apr 23 2010 Debarshi Ray <rishi at fedoraproject.org> - 0.4.5-1
 - Version bump to 0.4.5.
   * Asynchronously load the tiles from the cache.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libchamplain/devel/sources,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -p -r1.13 -r1.14
--- sources	23 Apr 2010 11:48:03 -0000	1.13
+++ sources	5 Jul 2010 23:19:46 -0000	1.14
@@ -1 +1 @@
-e9bdecaadb9196694a299951389ec935  libchamplain-0.4.5.tar.bz2
+19713d18393d5d2563f8dc5cef98c847  libchamplain-0.6.1.tar.bz2



More information about the scm-commits mailing list