Skip to content

Instantly share code, notes, and snippets.

@igor-raits
Created December 27, 2014 18:09
Show Gist options
  • Select an option

  • Save igor-raits/ed43e0d4028ecb4d234e to your computer and use it in GitHub Desktop.

Select an option

Save igor-raits/ed43e0d4028ecb4d234e to your computer and use it in GitHub Desktop.
Name: cdemu-client
Version: 3.0.0
Release: 1%{?dist}
Summary: Command-line client to control cdemu-daemon
License: GPLv2+
Url: http://cdemu.sf.net/about/client/
#Git-Clone: git://git.code.sf.net/p/cdemu/code
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
BuildRequires: cmake >= 2.8.5
BuildRequires: gettext >= 0.15
BuildRequires: intltool >= 0.21
Requires: dbus-python
BuildArch: noarch
%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.
%prep
%setup -q
mkdir -p build/
%build
pushd build/
cmake .. \
-DCMAKE_INSTALL_PREFIX:PATH="%{_prefix}"
make %{?_smp_mflags}
popd
%install
pushd build/
%make_install
popd
%find_lang cdemu
%files -f cdemu.lang
%doc AUTHORS COPYING NEWS README
%{_sysconfdir}/bash_completion.d/cdemu-bash-completion.sh
%{_bindir}/cdemu
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.svg
%{_mandir}/man1/cdemu.1*
%changelog
* Sat Dec 27 2014 Igor Gnatenko <[email protected]> - 3.0.0-1
- Initial package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment