remove provide and obsolete for non-legacy packages [release 0.12.99-8mamba;Sun Aug 18 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 22:41:20 +01:00
parent 191026a512
commit e243ee0979

View File

@ -1,6 +1,6 @@
Name: geoclue0
Version: 0.12.99
Release: 7mamba
Release: 8mamba
Summary: A modular geoinformation service
Group: System/Libraries
Vendor: openmamba
@ -16,36 +16,42 @@ License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libblkid-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgps-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk2-devel
BuildRequires: libgypsy-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libkrb5-devel
BuildRequires: liblzma-devel
BuildRequires: libmount-devel
BuildRequires: libnm-devel
BuildRequires: libnspr-devel
BuildRequires: libnss-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libsepol-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libsystemd-devel
BuildRequires: libtermcap-devel
BuildRequires: libudev-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libgps-devel >= 3.7
BuildRequires: libgammu-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -58,8 +64,6 @@ Geoclue is a modular geoinformation service built on top of the D-Bus messaging
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Provides: libgeoclue-apidocs
Obsoletes: libgeoclue-apidocs
%description apidocs
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
@ -69,8 +73,6 @@ This package contains %{name} API documentation.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Provides: libgeoclue
Obsoletes: libgeoclue
%description -n lib%{name}
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
@ -80,8 +82,6 @@ This package contains shared libraries for %{name}.
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libgeoclue-devel
Obsoletes: libgeoclue-devel
%description -n lib%{name}-devel
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
@ -91,8 +91,6 @@ This package contains libraries and header files need for development.
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
Provides: libgeoclue-static
Obsoletes: libgeoclue-static
%description -n lib%{name}-static
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
@ -103,8 +101,6 @@ Summary: gpsd provider for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gpsd
Provides: libgeoclue-gpsd
Obsoletes: libgeoclue-gpsd
%description gpsd
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
@ -115,8 +111,6 @@ This package contains a gpsd provider for %{name}
Summary: gsmloc provider for %{name}
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libgeoclue-gsmloc
Obsoletes: libgeoclue-gsmloc
%description gsmloc
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
@ -127,8 +121,6 @@ This package contains a gsmloc provider for %{name}
Summary: Testing gui for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libgeoclue-gui
Obsoletes: libgeoclue-gui
%description gui
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
@ -140,8 +132,6 @@ Summary: gypsy provider for %{name}
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libgypsy
Provides: libgeoclue-gypsy
Obsoletes: libgeoclue-gypsy
%description gypsy
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
@ -162,11 +152,12 @@ This package contains a libgypsy provider for %{name}
%build
%configure \
--enable-gtk-doc \
--disable-gtk-doc \
--enable-networkmanager=yes \
--enable-gypsy=yes \
--enable-skyhook=yes \
--enable-gsmloc=yes
--enable-gsmloc=yes \
--enable-gpsd=no
%make
@ -240,11 +231,11 @@ install -pm 755 test/.libs/geoclue-test-gui %{buildroot}%{_bindir}/
%defattr(-,root,root)
%{_libdir}/libgeoclue.*a
%files gpsd
%defattr(-,root,root)
%{_libexecdir}/geoclue-gpsd
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
%{_datadir}/geoclue-providers/geoclue-gpsd.provider
#%files gpsd
#%defattr(-,root,root)
#%{_libexecdir}/geoclue-gpsd
#%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
#%{_datadir}/geoclue-providers/geoclue-gpsd.provider
%files gsmloc
%defattr(-,root,root)
@ -263,6 +254,9 @@ install -pm 755 test/.libs/geoclue-test-gui %{buildroot}%{_bindir}/
%{_datadir}/geoclue-providers/geoclue-gypsy.provider
%changelog
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-8mamba
- remove provide and obsolete for non-legacy packages
* Mon Apr 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-7mamba
- libgeoclue0[-devel]: obsolete libgeoclue[-devel]