diff --git a/osm-gps-map.spec b/osm-gps-map.spec index 3ec1ed2..c205340 100644 --- a/osm-gps-map.spec +++ b/osm-gps-map.spec @@ -1,6 +1,6 @@ Name: osm-gps-map Version: 1.0.1 -Release: 2%{?dist} +Release: 4%{?dist} Summary: Gtk+ widget for displaying OpenStreetMap tiles Group: System Environment/Libraries @@ -23,46 +23,67 @@ number of websites, including openstreetmap.org. %package devel Summary: Development files for the osm-gps-map Gtk+ widget Group: Development/Libraries -Requires: osm-gps-map = %{version}-%{release} +Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The development files for the osm-gps-map Gtk+ widget +%package gobject +Summary: GObject introspection bindings for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: gobject-introspection + +%description gobject +GObject introspection bindings for %{name}. + + %prep %setup0 -q + %build ./autogen.sh -%configure --disable-static --disable-introspection +%configure --disable-static make V=1 %{?_smp_mflags} + %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} rm -r %{buildroot}/usr/doc/osm-gps-map rm -r %{buildroot}%{_libdir}/libosmgpsmap-1.0.la + %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig + %files -%defattr(-,root,root,-) %doc AUTHORS COPYING README NEWS - %{_libdir}/libosmgpsmap-1.0.so.* + +%files gobject %{_libdir}/girepository-1.0/OsmGpsMap-1.0.typelib -%{_datarootdir}/gir-1.0/OsmGpsMap-1.0.gir %files devel -%defattr(-,root,root,-) %{_includedir}/osmgpsmap-1.0 %{_libdir}/libosmgpsmap-1.0.so %{_libdir}/pkgconfig/osmgpsmap-1.0.pc +%{_datarootdir}/gir-1.0/OsmGpsMap-1.0.gir + %changelog +* Fri Aug 23 2013 Jiri Kastner - 1.0.1-4 +- removed --disable-introspection from %configure +- removed osm-gps-map-gobject dependency on pygobject3 + +* Thu Aug 22 2013 Richard Shaw - 1.0.1-3 +- Separate gobject python binding into its own package. +- Update requirements for gobject package so the python module can be imported. + * Sat Aug 03 2013 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild