[521] | 1 | %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} |
---|
| 2 | %global python_module_name cdemu |
---|
| 3 | |
---|
| 4 | Summary: A simple command-line client to control CDEmu daemon |
---|
| 5 | Summary(ja): CDEmuデーモンを制御するシンプルなコマンドラインクライアント |
---|
| 6 | Name: cdemu-client |
---|
[1747] | 7 | Version: 1.3.0 |
---|
[521] | 8 | Release: 1%{?_dist_release} |
---|
| 9 | License: GPLv2+ |
---|
| 10 | Group: Applications/Accessories |
---|
| 11 | URL: http://cdemu.sourceforge.net |
---|
[1747] | 12 | Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.gz |
---|
[521] | 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildArch: noarch |
---|
| 15 | |
---|
| 16 | BuildRequires: dbus-python-devel |
---|
| 17 | BuildRequires: gettext intltool |
---|
| 18 | BuildRequires: perl-XML-Parser |
---|
| 19 | BuildRequires: python-devel |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | This is cdemu-client, a simple command-line client for controlling CDEmu daemon. |
---|
| 23 | It is part of the userspace-cdemu suite, a free, GPL CD/DVD-ROM device emulator |
---|
| 24 | for linux. |
---|
| 25 | |
---|
| 26 | It provides a way to perform the key tasks related to controlling the CDEmu |
---|
| 27 | daemon, such as loading and unloading devices, displaying devices' status and |
---|
| 28 | retrieving/setting devices' debug masks. |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | |
---|
| 33 | %build |
---|
| 34 | %{configure} |
---|
| 35 | %{__make} %{?_smp_mflags} |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 39 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
| 40 | %find_lang cdemu-client |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | %files -f cdemu-client.lang |
---|
| 46 | %defattr(-,root,root,-) |
---|
| 47 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
| 48 | %dir %{python_sitelib}/%{python_module_name}/ |
---|
| 49 | %{python_sitelib}/%{python_module_name}/*.py* |
---|
| 50 | %{_bindir}/* |
---|
| 51 | %{_mandir}/man1/* |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %changelog |
---|
[1747] | 55 | * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1 |
---|
| 56 | - new upstream release |
---|
| 57 | |
---|
[521] | 58 | * Sat Sep 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1 |
---|
| 59 | - initial build for VineSeed |
---|
| 60 | |
---|
| 61 | * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1 |
---|
| 62 | - Updated to 1.1.0 |
---|
| 63 | |
---|
| 64 | * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1 |
---|
| 65 | - Initial RPM release. |
---|