1
0
forked from pool/cdemu-client
Dominique Leuenberger 2020-03-25 22:50:06 +00:00 committed by Git OBS Bridge
commit 108928c7ec
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Mar 25 17:38:41 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
- Drop the manual typelib() Requires. Add gobject-introspection
BuildRequires instead and let the system do the magic for us.
- Replace /usr/bin/env shebang of cdemu.
- Drop the empty NEWS file from the files.
-------------------------------------------------------------------
Thu Oct 17 10:29:04 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package cdemu-client
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -28,14 +28,13 @@ URL: https://cdemu.sf.net/about/client/
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
BuildRequires: cmake >= 2.8.5
BuildRequires: gettext-tools >= 0.15
BuildRequires: gobject-introspection
BuildRequires: intltool >= 0.21
BuildRequires: python3 >= 3.4
BuildRequires: pkgconfig(bash-completion)
Requires: python3 >= 3.4
Requires: python3-dbus-python
Requires: python3-gobject
Requires: typelib(GLib)
Requires: typelib(Gio)
BuildArch: noarch
%description
@ -49,6 +48,7 @@ devices' status and retrieving/setting their debug masks.
%prep
%setup -q
sed -i "s|/usr/bin/env python3|%{_bindir}/python3|" src/cdemu
%build
cmake . \
@ -61,7 +61,7 @@ make %{?_smp_mflags}
%find_lang cdemu
%files
%doc AUTHORS COPYING NEWS README
%doc AUTHORS COPYING README
%_bindir/cdemu
%_datadir/applications/%name.desktop
%_datadir/pixmaps/%name.svg