cdemu-daemon-vl.spec 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Summary: CDEmu daemon
  2. Summary(ja): CDEmu デーモン
  3. Name: cdemu-daemon
  4. Version: 3.1.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: System Environment/Daemons
  8. URL: http://cdemu.sourceforge.net
  9. Source0: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2
  10. # should be fixed upstream?
  11. #Patch10: %{name}-1.2.0-bigendian-fix.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: cmake >= 2.8.5
  14. BuildRequires: pkgconfig >= 0.16
  15. BuildRequires: dbus-devel >= 0.90
  16. BuildRequires: dbus-glib-devel >= 0.70
  17. BuildRequires: glib2-devel >= 2.24
  18. BuildRequires: libmirage-devel >= %{version}
  19. BuildRequires: libao-devel >= 0.8.0
  20. BuildRequires: sysfsutils-devel
  21. Requires: dkms-vhba
  22. %description
  23. This is CDEmu daemon, the userspace daemon part of the userspace-cdemu suite, a
  24. free, GPL CD/DVD-ROM device emulator for linux.
  25. It receives SCSI commands from kernel module and processes them, passing the
  26. requested data back to the kernel. Daemon implements the actual virtual device;
  27. one instance per each device registered by kernel module. It uses libMirage, an
  28. image access library that is part of userspace-cdemu suite, for the image access
  29. (e.g. sector reading).
  30. The daemon registers itself on D-BUS' system or session bus (depending on the
  31. options passed to it) where it exposes an interface that can be used by clients
  32. to control it.
  33. %prep
  34. %setup -q
  35. %build
  36. %cmake \
  37. -DSYSTEM_BUS_SERVICE=OFF \
  38. -DSESSION_BUS_SERVICE=ON \
  39. .
  40. %{__make} %{?_smp_mflags}
  41. %install
  42. %{__rm} -rf $RPM_BUILD_ROOT
  43. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc AUTHORS ChangeLog COPYING NEWS README
  49. %{_bindir}/*
  50. %{_libexecdir}/%{name}-*.sh
  51. %{_mandir}/man8/*
  52. %{_datadir}/dbus-1/*
  53. %changelog
  54. * Tue Jan 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.1.0-1
  55. - update to 3.1.0
  56. * Sat Feb 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.0.5-1
  57. - update to 3.0.5
  58. - update BuildRequires
  59. - disable sysv subpackage
  60. * Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
  61. - new upstream release
  62. - changed atchive type gzip to bzip2
  63. - changed BuildRequires: libmirage-devel >= 1.2.0 to 1.5.0
  64. * Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
  65. - new upstream release
  66. * Fri Nov 19 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.0-2
  67. - add Requires: dkms-vhba
  68. * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1
  69. - new upstream release
  70. - dropt patch10
  71. * Mon Oct 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.2.0-2
  72. - add Patch10 to fix build failure on ppc
  73. * Sat Sep 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
  74. - initial build for VineSeed
  75. * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
  76. - Updated to 1.1.0
  77. * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
  78. - Initial RPM release.