From b4c476ad7ac7399dda6ffd4cf084449ea520c98b Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jul 22 2013 20:48:32 +0000 Subject: import libchamplain-0.12.4-2.2.el7.src.rpm --- diff --git a/.libchamplain.metadata b/.libchamplain.metadata new file mode 100644 index 0000000..6c5cac1 --- /dev/null +++ b/.libchamplain.metadata @@ -0,0 +1 @@ +9c6352cecb85662d2c186ba7b48f7e7053d7149d SOURCES/libchamplain-0.12.4.tar.xz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/champlain-grr.patch b/SOURCES/champlain-grr.patch new file mode 100644 index 0000000..6d9e4bc --- /dev/null +++ b/SOURCES/champlain-grr.patch @@ -0,0 +1,22 @@ +--- libchamplain-0.12.4/champlain-gtk/Makefile.am.grr 2013-04-07 16:43:57.000000000 -0400 ++++ libchamplain-0.12.4/champlain-gtk/Makefile.am 2013-07-22 16:40:59.682157606 -0400 +@@ -77,7 +77,7 @@ GtkChamplain-@CHAMPLAIN_API_VERSION@.gir + GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_NAMESPACE = GtkChamplain + GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_VERSION = @CHAMPLAIN_API_VERSION@ + GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_LIBS = libchamplain-gtk-@CHAMPLAIN_API_VERSION@.la +-GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 gtk+-3.0 ++GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 gtk+-3.0 pangocairo + GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_FILES = $(introspection_sources) + GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 Gtk-3.0 + GtkChamplain_@CHAMPLAIN_API_VERSION_NORM@_gir_EXPORT_PACKAGES = champlain-gtk-@CHAMPLAIN_API_VERSION@ +--- libchamplain-0.12.4/champlain/Makefile.am.grr 2013-05-16 12:23:25.000000000 -0400 ++++ libchamplain-0.12.4/champlain/Makefile.am 2013-07-22 16:40:59.682157606 -0400 +@@ -173,7 +173,7 @@ Champlain-@CHAMPLAIN_API_VERSION@.gir: l + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_NAMESPACE = Champlain + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_VERSION = @CHAMPLAIN_API_VERSION@ + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_LIBS = libchamplain-@CHAMPLAIN_API_VERSION@.la +-Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 ++Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_PACKAGES = gobject-2.0 cogl-pango-1.0 + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_FILES = $(introspection_sources) + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_INCLUDES = Clutter-1.0 $(memphis_gir_include) + Champlain_@CHAMPLAIN_API_VERSION_NORM@_gir_EXPORT_PACKAGES = champlain-@CHAMPLAIN_API_VERSION@ $(memphis_package) diff --git a/SPECS/libchamplain.spec b/SPECS/libchamplain.spec new file mode 100644 index 0000000..86b70ac --- /dev/null +++ b/SPECS/libchamplain.spec @@ -0,0 +1,431 @@ +Summary: Map view for Clutter +Name: libchamplain +Version: 0.12.4 +Release: 2.2%{?dist} +License: LGPLv2+ +Group: System Environment/Libraries +URL: http://projects.gnome.org/libchamplain/ +Source0: http://download.gnome.org/sources/libchamplain/0.12/%{name}-%{version}.tar.xz +Patch0: champlain-grr.patch + +Requires: gobject-introspection + +BuildRequires: chrpath +BuildRequires: clutter-devel +BuildRequires: clutter-gtk-devel +BuildRequires: libsoup-devel +BuildRequires: sqlite-devel +BuildRequires: gtk3-devel +BuildRequires: vala-devel +BuildRequires: vala-tools + +BuildRequires: autoconf automake libtool + +%description +Libchamplain is a C library aimed to provide a ClutterActor to display +rasterized maps. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: gobject-introspection-devel +Requires: %{name} = %{version}-%{release} + +%description devel +This package contains development files for %{name}. + +%package gtk +Summary: Gtk+ widget wrapper for %{name} +Group: System Environment/Libraries +Requires: %{name} = %{version}-%{release} + +%description gtk +Libchamplain-gtk is a library providing a GtkWidget to embed %{name} +into Gtk+ applications. + +%package gtk-devel +Summary: Development files for %{name}-gtk +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-gtk = %{version}-%{release} + +%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} +Requires: vala + +%description vala +This package contains vala bindings for development %{name}. + +%package demos +Summary: Demo apps for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-gtk-devel = %{version}-%{release} +BuildArch: noarch + +%description demos +This package contains demos for development using %{name}. + +%prep +%setup -q +%patch0 -p1 -b .grr + +autoreconf -i -f + +%build +%configure --disable-debug --disable-silent-rules --disable-static \ + --enable-gtk --enable-introspection=yes --enable-vala \ + --enable-vala-demos + +# Omit unused direct shared library dependencies. +sed --in-place --expression 's! -shared ! -Wl,--as-needed\0!g' libtool + +make %{?_smp_mflags} + +%install +make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name "*.la" -delete + +# Remove rpaths. +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}-gtk-*.so.* + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%post gtk -p /sbin/ldconfig + +%postun gtk -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README NEWS +%{_libdir}/girepository-1.0/Champlain-0.12.typelib +%{_libdir}/%{name}-0.12.so.* + +%files devel +%defattr(-,root,root,-) +%doc %{_datadir}/gtk-doc/html/libchamplain +%{_datadir}/gir-1.0/Champlain-0.12.gir +%{_libdir}/%{name}-0.12.so +%{_libdir}/pkgconfig/champlain-0.12.pc +%{_includedir}/%{name}-0.12 + +%files gtk +%defattr(-,root,root,-) +%{_libdir}/girepository-1.0/GtkChamplain-0.12.typelib +%{_libdir}/%{name}-gtk-0.12.so.* + +%files gtk-devel +%defattr(-,root,root,-) +%doc %{_datadir}/gtk-doc/html/libchamplain-gtk +%{_datadir}/gir-1.0/GtkChamplain-0.12.gir +%{_libdir}/%{name}-gtk-0.12.so +%{_libdir}/pkgconfig/champlain-gtk-0.12.pc +%{_includedir}/%{name}-gtk-0.12 + +%files vala +%defattr(-,root,root,-) +%{_datadir}/vala/vapi/champlain-0.12.vapi +%{_datadir}/vala/vapi/champlain-gtk-0.12.vapi + +%files demos +%defattr(-,root,root,-) +%doc demos/*.c +%doc demos/*.h +%doc demos/*.vala +%doc demos/*.js +%doc demos/Makefile* +%doc demos/*.py +%doc demos/*.osm + +%changelog +* Mon Jul 22 2013 Dan Winship - 0.12.4-2.1 +- Don't rebuild the docs, so we don't get multilib conflicts + +* Fri Jun 21 2013 Matthias Clasen - 0.12.4-2 +- Don't ship ChangeLog (we need to save space on the live image) + +* Fri May 17 2013 Peter Robinson 0.12.4-1 +- Update to 0.12.4 +- http://ftp.gnome.org/pub/GNOME/sources/libchamplain/0.12/libchamplain-0.12.4.news + +* Fri Jan 25 2013 Brian Pepple - 0.12.3-5 +- Rebuild for new libcogl. + +* Fri Jan 25 2013 Peter Robinson 0.12.3-4 +- Rebuild for new cogl + +* Sun Aug 19 2012 Brian Pepple - 0.12.3-3 +- Rebuild for new libcogl. + +* Thu Jul 19 2012 Fedora Release Engineering - 0.12.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Jul 15 2012 Peter Robinson - 0.12.3-1 +- Update to 0.12.3 +- http://ftp.gnome.org/pub/GNOME/sources/libchamplain/0.12/libchamplain-0.12.3.news + +* Wed Mar 28 2012 Richard Hughes - 0.12.2-1 +- Update to 0.12.2 + +* Sat Mar 10 2012 Matthias Clasen - 0.12.1-5 +- Rebuild for new cogl + +* Sun Feb 26 2012 Matthias Clasen - 0.12.1-4 +- Rebuild for new cogl + +* Thu Jan 19 2012 Matthias Clasen - 0.12.1-3 +- Rebuild for new cogl + +* Fri Jan 13 2012 Fedora Release Engineering - 0.12.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 20 2011 Peter Robinson - 0.12.1-1 +- Update to 0.12.1 +- http://ftp.gnome.org/pub/GNOME/sources/libchamplain/0.12/libchamplain-0.12.1.news + +* Thu Nov 24 2011 Daniel Drake - 0.12.0-3 +- Add upstream patches to fix build against glib-2.31 + +* Thu Nov 24 2011 Matthias Clasen - 0.12.0-2 +- Rebuild against new clutter + +* Tue Sep 20 2011 Peter Robinson - 0.12.0-1 +- Update to 0.12.0 +- http://ftp.gnome.org/pub/GNOME/sources/libchamplain/0.12/libchamplain-0.12.0.news + +* Mon Sep 5 2011 Peter Robinson - 0.11.0-1 +- Update to 0.11.0 devel release + +* Sat Jun 11 2011 Peter Robinson - 0.10.0-4 +- Cleanup requires +- Move demos to separate package + +* Mon Apr 18 2011 Peter Robinson - 0.10.0-3 +- Drop gtk-doc dep from devel package (RHBZ # 604381) +- Cleanup requires + +* Fri Apr 15 2011 Peter Robinson - 0.10.0-2 +- Bump build + +* Mon Apr 4 2011 Tomas Bzatek - 0.10.0-1 +- Update to 0.10.0 + +* Sun Apr 3 2011 Peter Robinson - 0.9.1-1 +- Version bump to 0.9.1. + +* Tue Mar 22 2011 Brian Pepple - 0.9.0-2 +- Drop the reconfigure since it's no longer needed. + +* Tue Feb 22 2011 Matthias Clasen - 0.9.0-1 +- Update to 0.9.0 + +* Thu Feb 10 2011 Matthias Clasen - 0.8.1-3 +- Rebuild against newer gtk + +* Mon Feb 07 2011 Fedora Release Engineering - 0.8.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Feb 2 2011 Christopher Aillon - 0.8.1-1 +- Update to 0.8.1 + +* Wed Sep 29 2010 Tom "spot" Callaway - 0.8.0-1 +- update to 0.8.0 +- patch configure* to look for clutter-gtk-1.0 +- conditionalize python bindings + +* Tue Sep 21 2010 Matthias Clasen - 0.6.1-5 +- Rebuild against newer gobject-introspection + +* Wed Jul 21 2010 David Malcolm - 0.6.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Thu Jul 15 2010 Colin Walters - 0.6.1-3 +- Rebuild with new gobject-introspection + +* Mon Jul 12 2010 Colin Walters - 0.6.1-2 +- Rebuild against new gobject-introspection + +* Mon Jul 5 2010 Peter Robinson - 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 - 0.4.5-1 +- Version bump to 0.4.5. + * Asynchronously load the tiles from the cache. + * GObject Introspection is in a working state. + * Limit the internal operations that happen when the user moves. + * Limit the number of times the scale is redrawn. + * Optimized the initialization process. Only the needed tiles are loaded. + * Properly get rid of marker's previous image properly. + * Removed the need to explicitly set the size of actors. + * Deprecated champlain_view_set_size in favor of clutter_actor_set_size. + (GNOME Bugzilla #580372) + * Load the tiles in spiral order. (GNOME Bugzilla #606393) + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.5.news + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.4.news + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.5.changes + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.4.changes +- Added 'BuildRequires: chrpath' for removing rpaths. +- Added README to %%doc. +- Added demos/markers.h to %%doc of libchamplain-gtk-devel. + +* Sun Jan 17 2010 Debarshi Ray - 0.4.3-1 +- Version bump to 0.4.3. + * A new scale. + * User configurable additional license text to view. + * An option to highlight points in polygons. + * Fixed segmentation fault in function cairo_set_generator. + (GNOME Bugzilla #604784) + * Fixed segmentation fault when polygon has been deleted before redraw. + * Made queue_redraw visible to subclasses. + * Some memory usage improvements by reusing images already loaded. + * Don't eat clicks on the map when using ChamplainSelectionLayer. + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.3.news + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.3.changes + +* Thu Oct 29 2009 Debarshi Ray - 0.4.2-1 +- Version bump to 0.4.2. + * Fixed acceptable values of "decel-rate". (GNOME Bugzilla #595552) + * Fixed GObject Introspection build failure. (GNOME Bugzilla #598942) + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.2.news + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.2.changes + +* Mon Oct 19 2009 Debarshi Ray - 0.4.1-1 +- Version bump to 0.4.1. + * Added champlain_view_remove_layer. + * ChamplainSelectionLayer now has a "changed" signal. + * Added champlain_marker_get_highlighted_text_color, + champlain_marker_set_highlighted_text_color and + Added champlain_marker_get_highlighted_color. + * Fixed slowdowns with big caches. + * Don't emit invalid latitude and longitude notifications. + * Ensure map is displayed in Eye of GNOME's champlain plugin. (GNOME + Bugzilla #598106) + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.1.news + * http://download.gnome.org/sources/libchamplain/0.4/libchamplain-0.4.1.changes + +- Enabled GObject Introspection, and added 'Requires: gobject-introspection' + and 'BuildRequires: gir-repository-devel'. Patched to fix build failure. + (GNOME Bugzilla #598942) +- Explicitly disabled debug code. +- RPaths fixed by upstream. Removed 'BuildRequires: chrpath'. + +* Mon Sep 21 2009 Debarshi Ray - 0.4.0-1 +- Version bump to 0.4.0. + * ChamplainView now has keyboard shortcuts (but not when used with + GtkChamplainEmbed). + * Removed deprecated symbols introduced in 0.3. + * Fixed X error when using GtkChamplainEmbed. (GNOME Bugzilla #590692) + * Events were not being sent until the mouse moved. (GNOME Bugzilla #590727) + * Fixed memory leak in ChamplainLayer. (GNOME Bugzilla #593505) + * Initial center_on should not result on the map being in Antarctica. + (GNOME Bugzilla #594963) + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.92.news + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.92.changes + +* Mon Aug 24 2009 Matthias Clasen - 0.3.91-1 +- Version bump to 0.3.91. + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.91.news + +* Tue Aug 11 2009 Matthias Clasen - 0.3.90-1 +- Version bump to 0.3.90. + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.90.news + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.90.changes + +* Mon Aug 3 2009 Matthias Clasen - 0.3.6-1 +- Version bump to 0.3.6. + * New marker animation API. + * Ported to Clutter 1.0. (GNOME Bugzilla #576391) + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.6.news + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.6.changes + +* Sun Aug 02 2009 Debarshi Ray - 0.3.5-1 +- Version bump to 0.3.5. + * Marker selection API. (GNOME Bugzilla #577909) + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.5.news + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.4.news + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.5.changes + * http://download.gnome.org/sources/libchamplain/0.3/libchamplain-0.3.4.changes + +* Fri Jul 24 2009 Release Engineering - 0.3.3-2 +- Autorebuild for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jul 11 2009 Debarshi Ray - 0.3.3-1 +- Version bump to 0.3.3. + * Support for custom map sources and listing available map sources. + * Smooth movement to a new position. (GNOME Bugzilla #557641) + * Keep the center of the map in the center after a resize. (GNOME Bugzilla + #557642) + * Double click to zoom and center. (GNOME Bugzilla #557644) + * Added a way to know the maximum and minimum zoom level. (GNOME Bugzilla + #557965) + * Fixed unwanted wrap effect when panning at zoom level >= 8. (GNOME + Bugzilla #558020) + * Fixed center on and zooming in behavior. (GNOME Bugzilla #558026) + * Lack of user feedback during loading of tiles. (GNOME Bugzilla #559522) + * Added missing zoom level to OpenStreetMap Mapnik. (GNOME Bugzilla + #559446) + * Fixed wrong elastic effect affecting Emapthy's map view. (GNOME Bugzilla + #561700) + * Added disk cache management. (GNOME Bugzillla #568931) + * Host application should be able to limit the maximum and minimum zoom + levels. (GNOME Bugzilla #571702) + * Allow host applications to draw lines/routes on the map. (GNOME Bugzilla + #572377) + * Support proxies. (GNOME Bugzilla #573937) + * Provide a way to make visible a bunch of markers. (GNOME Bugzilla #574809) + * Do not allow negative zoom levels. (GNOME Bugzilla #575138) + * Fixed corrupted map when double-clicking at maximum level. (GNOME Bugzilla + #575139) + * Prevent ChamplainNetworkMapSource from crashing when setting "proxy-uri". + (GNOME Bugzilla #575902). + * Implemented advanced markers. (GNOME Bugzilla #576055) + * Various memory management fixes for ChamplainTile. (GNOME Bugzilla + #576159) + * Any go_to should stop a previous and not yet finished go_to. (GNOME + Bugzilla #576832) + * Prevent segmentation fault on 32 bit platforms. (GNOME Bugzilla #576698) + * Introduced a new signal called ChamplainView::animation-completed. (GNOME + Bugzilla #577169) + * Set decel-rate correctly. (GNOME Bugzilla #580785) + * champlain_network_map_source_fill_tile should be private. (GNOME Bugzilla + #582786) + * Fixed champlain_view_center_on. (GNOME Bugzilla #583502) + * Fixed "longitude" and "latitude" properties, which were reversed. (GNOME + Bugzilla #584365) + * Make the cache work the first time. (GNOME Bugzilla #584390) + * GNOME Goal: use accessor functions instead direct access. (GNOME Bugzilla + #585698) +- Added 'BuildRequires: chrpath' for removing rpaths. + +* Wed Mar 18 2009 Debarshi Ray - 0.2.9-1 +- Version bump to 0.2.9. + * Fixed elastic effect. + * Reduced exported symbols. + +* Wed Feb 25 2009 Release Engineering - 0.2.8-3 +- Autorebuild for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Jan 28 2009 Debarshi Ray - 0.2.8-2 +- Removed 'Requires: clutter-devel >= 0.8 pkgconfig' from libchamplain-devel + for all distributions, except Fedora 10. +- Fixed sample code to not use generic headers. + +* Wed Jan 14 2009 Debarshi Ray - 0.2.8-1 +- Initial build. Imported SPEC from openSUSE. + * Added a new constructor for ChamplainMarkers made of an image. + * Double clicking on the map will now zoom and recenter. + * When resizing a ChamplainView, the centered content will still be + centered after the resizing. Can be disabled. + * The Map's license is displayed by default on the lower right corner. + * Fixed map centering on startup. + * Fixed missing zoom level in OpenStreetMap Mapnik. + * Fixed zooming and centering behaviour. (GNOME Bugzilla #558026)