[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 |
---|
[5324] | 5 | Summary(ja): CDEmu デーモンを制御するシンプルなコマンドラインクライアント |
---|
[521] | 6 | Name: cdemu-client |
---|
[6150] | 7 | Version: 1.5.0 |
---|
[521] | 8 | Release: 1%{?_dist_release} |
---|
| 9 | License: GPLv2+ |
---|
| 10 | Group: Applications/Accessories |
---|
| 11 | URL: http://cdemu.sourceforge.net |
---|
[6150] | 12 | Source: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2 |
---|
[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 |
---|
[6150] | 19 | #BuildRequires: python-devel |
---|
[521] | 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 |
---|
[6150] | 40 | |
---|
[521] | 41 | %find_lang cdemu-client |
---|
| 42 | |
---|
| 43 | %clean |
---|
| 44 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
| 45 | |
---|
| 46 | %files -f cdemu-client.lang |
---|
| 47 | %defattr(-,root,root,-) |
---|
| 48 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
[5324] | 49 | #%dir %{python_sitelib}/%{python_module_name}/ |
---|
| 50 | #%{python_sitelib}/%{python_module_name}/*.py* |
---|
[6150] | 51 | %config(noreplace) %{_sysconfdir}/bash_completion.d/cdemu-bashcomp |
---|
[521] | 52 | %{_bindir}/* |
---|
[6150] | 53 | %{_datadir}/applications/cdemu-client.desktop |
---|
[521] | 54 | %{_mandir}/man1/* |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %changelog |
---|
[6150] | 58 | * Sat May 05 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1 |
---|
| 59 | - new upstream release |
---|
| 60 | - changed atchive type gzip to bzip2 |
---|
| 61 | - dropt BuildRequires: python-devel |
---|
| 62 | |
---|
[5324] | 63 | * Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1 |
---|
| 64 | - new upstream release |
---|
| 65 | |
---|
[1747] | 66 | * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1 |
---|
| 67 | - new upstream release |
---|
| 68 | |
---|
[521] | 69 | * Sat Sep 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1 |
---|
| 70 | - initial build for VineSeed |
---|
| 71 | |
---|
| 72 | * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1 |
---|
| 73 | - Updated to 1.1.0 |
---|
| 74 | |
---|
| 75 | * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1 |
---|
| 76 | - Initial RPM release. |
---|