2012-05-21 19:31:30 +02:00
|
|
|
#
|
|
|
|
# spec file for package cdemu-client
|
|
|
|
#
|
2021-04-20 11:23:19 +02:00
|
|
|
# Copyright (c) 2021 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
|
2021-04-20 11:23:19 +02:00
|
|
|
Version: 3.2.5
|
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
|
2021-04-20 11:23:19 +02:00
|
|
|
URL: https://cdemu.sourceforge.io/about/client/
|
2012-05-21 19:31:30 +02:00
|
|
|
|
2021-04-20 11:37:30 +02:00
|
|
|
#Git-Clone: https://github.com/cdemu/cdemu
|
|
|
|
Source: https://downloads.sf.net/cdemu/%name-%version.tar.xz
|
2021-04-20 11:23:19 +02:00
|
|
|
BuildRequires: cmake >= 3.7
|
2012-12-22 21:02:41 +01:00
|
|
|
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
|
2021-04-20 11:23:19 +02:00
|
|
|
BuildRequires: python3
|
2019-07-03 14:11:21 +02:00
|
|
|
BuildRequires: pkgconfig(bash-completion)
|
2021-04-20 11:23:19 +02:00
|
|
|
Requires: python3
|
2019-07-03 14:11:21 +02:00
|
|
|
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
|
2021-04-20 11:37:30 +02:00
|
|
|
sed -i "s|/usr/bin/env python3|%_bindir/python3|" src/cdemu
|
2012-05-21 19:31:30 +02:00
|
|
|
|
|
|
|
%build
|
2021-04-20 11:37:30 +02:00
|
|
|
%cmake \
|
2014-07-14 13:53:04 +02:00
|
|
|
-DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR:PATH="%_libdir"
|
2021-04-20 11:37:30 +02:00
|
|
|
%cmake_build
|
2012-05-21 19:31:30 +02:00
|
|
|
|
|
|
|
%install
|
2021-04-20 11:37:30 +02:00
|
|
|
%cmake_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
|
2021-04-20 11:23:19 +02:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS 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
|