cdemu-client-vl.spec 2.2 KB

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