Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37531200
en ru br
Репозитории ALT

Группа :: Система/Библиотеки
Пакет: libosm-gps-map1.0

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%define _name osm-gps-map
%define api_ver 1.0

%def_enable gtk_doc

Name: lib%_name%api_ver
Version: 1.2.0
Release: alt1

Summary: Gtk+3 widget for displaying map tiles
Group: System/Libraries
License: GPLv2+
Url: https://github.com/nzjrs/%_name/

Vcs: https://github.com/nzjrs/osm-gps-map.git
Source: %url/releases/download/%version/%_name-%version.tar.gz

BuildRequires: gtk-doc libgtk+3-devel libcairo-devel libsoup-devel
BuildRequires: gobject-introspection-devel libgtk+3-gir-devel

%description
%_name is a Gtk+3 mapping widget that when given GPS co-ordinates,
draws a GPS track, and points of interest on a moving map display.

%name downloads map data from a number of websites, including
openstreetmap.org, openaerialmap.org and others and can be used to build
desktop mapping or geolocation applications.

%package devel
Summary: Development files for the %_name Gtk+3 widget
Group: Development/C
Requires: %name = %version-%release

%description devel
This package provides development files for the %_name Gtk+3 widget

%package gir
Summary: GObject introspection data for the %_name library
Group: System/Libraries
Requires: %name = %version-%release

%description gir
GObject introspection data for the %_name library.

%package gir-devel
Summary: GObject introspection devel data for the %_name library
Group: Development/Other
BuildArch: noarch
Requires: %name-gir = %version-%release
Requires: %name-devel = %version-%release

%description gir-devel
GObject introspection devel data for the %_name library.

%package devel-doc
Summary: Development documentation for %name
Group: Development/Documentation
Conflicts: %name < %version-%release
BuildArch: noarch

%description devel-doc
This package provides development documentation for %_name library.


%prep
%setup -n %_name-%version

%build
%autoreconf
%configure --disable-static
%make_build

%install
%makeinstall_std

%if_enabled gtk_doc
# move documentation to avoid conflict with gtk+2 version
mv %buildroot%_datadir/gtk-doc/html/libosmgpsmap{,-%api_ver}
%endif

%files
%doc AUTHORS README NEWS
%_libdir/libosmgpsmap-%api_ver.so.*

%files devel
%_includedir/osmgpsmap-%api_ver/
%_libdir/libosmgpsmap-%api_ver.so
%_pkgconfigdir/osmgpsmap-%api_ver.pc

%files gir
%_typelibdir/OsmGpsMap-%api_ver.typelib

%files gir-devel
%_girdir/OsmGpsMap-%api_ver.gir

%if_enabled gtk_doc
%files devel-doc
%_datadir/gtk-doc/html/libosmgpsmap-%api_ver/
%endif

%exclude %_datadir/doc/%_name


%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin