Пакет libosm-gps-map1.0: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | %define _name osm-gps-map %define api_ver 1.0 Name: lib%_name%api_ver Version: 1.1.0 Release: alt1 Summary: Gtk+3 widget for displaying map tiles Group: System/Libraries License: GPLv2+ Url: https://github.com/nzjrs/%_name/ Source: %url/releases/download/%version/%_name-%version.tar.gz BuildRequires: gnome-common 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 # move documentation to avoid conflict with gtk+2 version mv %buildroot%_datadir/gtk-doc/html/libosmgpsmap{,-%api_ver} %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 %files devel-doc %_datadir/gtk-doc/html/libosmgpsmap-%api_ver/ %exclude %_datadir/doc/%_name %changelog * Sat Apr 16 2016 Yuri N. Sedunov <aris@altlinux.org> 1.1.0-alt1 - 1.1.0 * Wed Nov 04 2015 Yuri N. Sedunov <aris@altlinux.org> 1.0.2-alt1 - first build for Sisyphus |