2012-05-21 19:31:30 +02:00
|
|
|
#
|
|
|
|
# spec file for package cdemu-client
|
|
|
|
#
|
2020-03-25 20:33:23 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2012-05-21 19:31:30 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-07-03 14:11:21 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-05-21 19:31:30 +02:00
|
|
|
#
|
2012-12-22 21:02:41 +01:00
|
|
|
|
|
|
|
|
2012-05-21 19:31:30 +02:00
|
|
|
Name: cdemu-client
|
2019-10-17 12:29:23 +02:00
|
|
|
Version: 3.2.3
|
2012-05-21 19:31:30 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Command-line client to control cdemu-daemon
|
2019-07-03 14:11:21 +02:00
|
|
|
License: GPL-2.0-or-later
|
2019-10-24 13:32:31 +02:00
|
|
|
Group: System/Filesystems
|
2019-10-17 12:29:23 +02:00
|
|
|
URL: https://cdemu.sf.net/about/client/
|
2012-05-21 19:31:30 +02:00
|
|
|
|
2014-07-14 13:53:04 +02:00
|
|
|
#Git-Clone: git://git.code.sf.net/p/cdemu/code
|
|
|
|
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
|
2012-12-22 21:02:41 +01:00
|
|
|
BuildRequires: cmake >= 2.8.5
|
|
|
|
BuildRequires: gettext-tools >= 0.15
|
2020-03-25 20:33:23 +01:00
|
|
|
BuildRequires: gobject-introspection
|
2012-12-22 21:02:41 +01:00
|
|
|
BuildRequires: intltool >= 0.21
|
2019-07-03 14:11:21 +02:00
|
|
|
BuildRequires: python3 >= 3.4
|
|
|
|
BuildRequires: pkgconfig(bash-completion)
|
|
|
|
Requires: python3 >= 3.4
|
|
|
|
Requires: python3-dbus-python
|
|
|
|
Requires: python3-gobject
|
2014-07-14 13:50:32 +02:00
|
|
|
BuildArch: noarch
|
2012-05-21 19:31:30 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
cdemu-client is a command-line client for controlling cdemu-daemon.
|
|
|
|
|
|
|
|
It provides a way to perform the key tasks related to controlling the
|
|
|
|
CDEmu daemon, such as loading and unloading devices, displaying
|
|
|
|
devices' status and retrieving/setting their debug masks.
|
|
|
|
|
2014-07-14 13:50:32 +02:00
|
|
|
%lang_package
|
|
|
|
|
2012-05-21 19:31:30 +02:00
|
|
|
%prep
|
2013-06-10 14:11:47 +02:00
|
|
|
%setup -q
|
2020-03-25 20:33:23 +01:00
|
|
|
sed -i "s|/usr/bin/env python3|%{_bindir}/python3|" src/cdemu
|
2012-05-21 19:31:30 +02:00
|
|
|
|
|
|
|
%build
|
2014-07-14 13:50:32 +02:00
|
|
|
cmake . \
|
2014-07-14 13:53:04 +02:00
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR:PATH="%_libdir"
|
2014-07-14 13:50:32 +02:00
|
|
|
make %{?_smp_mflags}
|
2012-05-21 19:31:30 +02:00
|
|
|
|
|
|
|
%install
|
2014-07-14 13:50:32 +02:00
|
|
|
%make_install
|
2012-12-22 21:02:41 +01:00
|
|
|
%find_lang cdemu
|
2012-05-21 19:31:30 +02:00
|
|
|
|
2014-07-14 13:50:32 +02:00
|
|
|
%files
|
2020-03-25 20:33:23 +01:00
|
|
|
%doc AUTHORS COPYING README
|
2014-07-14 13:53:04 +02:00
|
|
|
%_bindir/cdemu
|
|
|
|
%_datadir/applications/%name.desktop
|
|
|
|
%_datadir/pixmaps/%name.svg
|
2019-07-03 14:11:21 +02:00
|
|
|
%_datadir/bash-completion/
|
2014-07-14 13:53:04 +02:00
|
|
|
%_mandir/man1/cdemu.1*
|
2014-07-14 13:50:32 +02:00
|
|
|
|
|
|
|
%files lang -f cdemu.lang
|
2012-05-21 19:31:30 +02:00
|
|
|
|
|
|
|
%changelog
|