Rename geocode-glib2 back to geocode-glib
Now that we only ship version 2 of the ABI, we can simplify packaging and rename the main library package back to 'geocode-glib'.
This commit is contained in:
parent
bb0eab3abd
commit
f6cc26c1d5
@ -18,7 +18,10 @@ BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
|
|||||||
BuildRequires: pkgconfig(libsoup-3.0)
|
BuildRequires: pkgconfig(libsoup-3.0)
|
||||||
|
|
||||||
Requires: json-glib%{?_isa} >= %{json_glib_version}
|
Requires: json-glib%{?_isa} >= %{json_glib_version}
|
||||||
Requires: %{name}-data = %{version}-%{release}
|
|
||||||
|
# Renamed/Obsoleted in F39
|
||||||
|
Obsoletes: geocode-glib-data < %{version}-%{release}
|
||||||
|
Obsoletes: geocode-glib2 < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
geocode-glib is a convenience library for the geocoding (finding longitude,
|
geocode-glib is a convenience library for the geocoding (finding longitude,
|
||||||
@ -27,42 +30,16 @@ coordinates). It uses Nominatim service to achieve that. It also caches
|
|||||||
(reverse-)geocoding requests for faster results and to avoid unnecessary server
|
(reverse-)geocoding requests for faster results and to avoid unnecessary server
|
||||||
load.
|
load.
|
||||||
|
|
||||||
%package data
|
|
||||||
Summary: Icon files for %{name}
|
|
||||||
|
|
||||||
%description data
|
|
||||||
The %{name}-devel package contains icon files for applications that use %{name}.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
# Renamed/Obsoleted in F39
|
||||||
|
Obsoletes: geocode-glib2-devel < %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
developing applications that use %{name}.
|
developing applications that use %{name}.
|
||||||
|
|
||||||
%package -n geocode-glib2
|
|
||||||
Summary: Development files for %{name}
|
|
||||||
Requires: json-glib%{?_isa} >= %{json_glib_version}
|
|
||||||
Requires: %{name}-data = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n geocode-glib2
|
|
||||||
geocode-glib is a convenience library for the geocoding (finding longitude,
|
|
||||||
and latitude from an address) and reverse geocoding (finding an address from
|
|
||||||
coordinates). It uses Nominatim service to achieve that. It also caches
|
|
||||||
(reverse-)geocoding requests for faster results and to avoid unnecessary server
|
|
||||||
load.
|
|
||||||
|
|
||||||
This package contains version 2 of the API, which uses libsoup3 internally.
|
|
||||||
|
|
||||||
%package -n geocode-glib2-devel
|
|
||||||
Summary: Development files for %{name}
|
|
||||||
Requires: geocode-glib2%{?_isa} = %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n geocode-glib2-devel
|
|
||||||
The %{name}-devel package contains libraries and header files for
|
|
||||||
developing applications that use %{name}.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@ -73,16 +50,14 @@ developing applications that use %{name}.
|
|||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
%files data
|
%files
|
||||||
%{_datadir}/icons/hicolor/scalable/places/*.svg
|
|
||||||
|
|
||||||
%files -n geocode-glib2
|
|
||||||
%license COPYING.LIB
|
%license COPYING.LIB
|
||||||
%doc AUTHORS NEWS README
|
%doc AUTHORS NEWS README
|
||||||
%{_libdir}/libgeocode-glib-2.so.0*
|
%{_libdir}/libgeocode-glib-2.so.0*
|
||||||
%{_libdir}/girepository-1.0/GeocodeGlib-2.0.typelib
|
%{_libdir}/girepository-1.0/GeocodeGlib-2.0.typelib
|
||||||
|
%{_datadir}/icons/hicolor/scalable/places/*.svg
|
||||||
|
|
||||||
%files -n geocode-glib2-devel
|
%files devel
|
||||||
%{_includedir}/geocode-glib-2.0/
|
%{_includedir}/geocode-glib-2.0/
|
||||||
%{_libdir}/libgeocode-glib-2.so
|
%{_libdir}/libgeocode-glib-2.so
|
||||||
%{_libdir}/pkgconfig/geocode-glib-2.0.pc
|
%{_libdir}/pkgconfig/geocode-glib-2.0.pc
|
||||||
|
Loading…
Reference in New Issue
Block a user