split X clients to separate subpackage
This commit is contained in:
parent
9075cb64ae
commit
e87a44a758
38
gpsd.spec
38
gpsd.spec
@ -97,13 +97,33 @@ with the libgps library from gpsd.
|
||||
Summary: Clients for gpsd
|
||||
Requires: python3-%{name} = %{epoch}:%{version}-%{release}
|
||||
Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
Requires: python3-cairo
|
||||
Requires: python3-gobject
|
||||
Requires: gtk3
|
||||
|
||||
%description clients
|
||||
This package contains various clients using gpsd.
|
||||
|
||||
%package xclients
|
||||
Summary: Graphical clients for gpsd
|
||||
Requires: python3-%{name} = %{epoch}:%{version}-%{release}
|
||||
Requires: python3-cairo
|
||||
Requires: python3-gobject
|
||||
Requires: gtk3
|
||||
# subpackage split
|
||||
Conflicts: gpsd-clients < 1:3.25-6
|
||||
|
||||
%description xclients
|
||||
This package contains X clients using gpsd.
|
||||
|
||||
%package compat
|
||||
Summary: Transitional package for gpsd-clients
|
||||
Obsoletes: gpsd-clients < 1:3.25-6
|
||||
Requires: gpsd-clients = %{epoch}:%{version}-%{release}
|
||||
Requires: gpsd-xclients = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description compat
|
||||
This package only exists to help transition gpsd-clients users to the new
|
||||
package split. It will be removed after one distribution release cycle, please
|
||||
do not reference it or depend on it in any way.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -p1 -b .apistatus
|
||||
@ -272,8 +292,6 @@ rm -rf %{buildroot}%{_docdir}/gpsd
|
||||
%{_bindir}/gpssubframe
|
||||
%{_bindir}/gpxlogger
|
||||
%{_bindir}/lcdgps
|
||||
%{_bindir}/xgps
|
||||
%{_bindir}/xgpsspeed
|
||||
%{_bindir}/gpsfake
|
||||
%{_bindir}/ubxtool
|
||||
%{_bindir}/zerk
|
||||
@ -291,16 +309,22 @@ rm -rf %{buildroot}%{_docdir}/gpsd
|
||||
%{_mandir}/man1/gpssubframe.1*
|
||||
%{_mandir}/man1/gpxlogger.1*
|
||||
%{_mandir}/man1/lcdgps.1*
|
||||
%{_mandir}/man1/xgps.1*
|
||||
%{_mandir}/man1/xgpsspeed.1*
|
||||
%{_mandir}/man1/cgps.1*
|
||||
%{_mandir}/man1/gpscat.1*
|
||||
%{_mandir}/man1/gpsfake.1*
|
||||
%{_mandir}/man1/ubxtool.1*
|
||||
%{_mandir}/man1/zerk.1*
|
||||
|
||||
%files xclients
|
||||
%{_bindir}/xgps
|
||||
%{_bindir}/xgpsspeed
|
||||
%{_datadir}/applications/*.desktop
|
||||
%dir %{_datadir}/gpsd
|
||||
%{_datadir}/gpsd/gpsd-logo.png
|
||||
%{_mandir}/man1/xgps.1*
|
||||
%{_mandir}/man1/xgpsspeed.1*
|
||||
|
||||
%files compat
|
||||
|
||||
%changelog
|
||||
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 1:3.25-5
|
||||
|
Loading…
Reference in New Issue
Block a user