cdemu-client-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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.2.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. %{_bindir}/*
  42. %{_mandir}/man1/*
  43. %changelog
  44. * Sat Sep 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
  45. - initial build for VineSeed
  46. * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
  47. - Updated to 1.1.0
  48. * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
  49. - Initial RPM release.