1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
- %global python_module_name cdemu
- Summary: A simple command-line client to control CDEmu daemon
- Summary(ja): CDEmuデーモンを制御するシンプルなコマンドラインクライアント
- Name: cdemu-client
- Version: 1.2.0
- Release: 1%{?_dist_release}
- License: GPLv2+
- Group: Applications/Accessories
- URL: http://cdemu.sourceforge.net
- Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- BuildRequires: dbus-python-devel
- BuildRequires: gettext intltool
- BuildRequires: perl-XML-Parser
- BuildRequires: python-devel
- %description
- This is cdemu-client, a simple command-line client for controlling CDEmu daemon.
- It is part of the userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator
- for linux.
- 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 devices' debug masks.
- %prep
- %setup -q
- %build
- %{configure}
- %{__make} %{?_smp_mflags}
- %install
- %{__rm} -rf $RPM_BUILD_ROOT
- %{__make} install DESTDIR=$RPM_BUILD_ROOT
- %find_lang cdemu-client
- %clean
- %{__rm} -rf $RPM_BUILD_ROOT
- %files -f cdemu-client.lang
- %defattr(-,root,root,-)
- %doc AUTHORS ChangeLog COPYING NEWS README
- %dir %{python_sitelib}/%{python_module_name}/
- %{python_sitelib}/%{python_module_name}/*.py*
- %{_bindir}/*
- %{_mandir}/man1/*
- %changelog
- * Sat Sep 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
- - initial build for VineSeed
- * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
- - Updated to 1.1.0
- * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
- - Initial RPM release.
|