1 | Summary: CDEmu daemon |
---|
2 | Summary(ja): CDEmu デーモン |
---|
3 | Name: cdemu-daemon |
---|
4 | Version: 3.0.5 |
---|
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 | |
---|
22 | Requires: dkms-vhba |
---|
23 | |
---|
24 | %description |
---|
25 | This is CDEmu daemon, the userspace daemon part of the userspace-cdemu suite, a |
---|
26 | free, GPL CD/DVD-ROM device emulator for linux. |
---|
27 | |
---|
28 | It receives SCSI commands from kernel module and processes them, passing the |
---|
29 | requested data back to the kernel. Daemon implements the actual virtual device; |
---|
30 | one instance per each device registered by kernel module. It uses libMirage, an |
---|
31 | image access library that is part of userspace-cdemu suite, for the image access |
---|
32 | (e.g. sector reading). |
---|
33 | |
---|
34 | The daemon registers itself on D-BUS' system or session bus (depending on the |
---|
35 | options passed to it) where it exposes an interface that can be used by clients |
---|
36 | to control it. |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q |
---|
40 | |
---|
41 | %build |
---|
42 | %cmake \ |
---|
43 | -DSYSTEM_BUS_SERVICE=OFF \ |
---|
44 | -DSESSION_BUS_SERVICE=ON \ |
---|
45 | . |
---|
46 | %{__make} %{?_smp_mflags} |
---|
47 | |
---|
48 | %install |
---|
49 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
50 | %{__make} install DESTDIR=$RPM_BUILD_ROOT |
---|
51 | |
---|
52 | |
---|
53 | %clean |
---|
54 | rm -rf $RPM_BUILD_ROOT |
---|
55 | |
---|
56 | %files |
---|
57 | %defattr(-,root,root,-) |
---|
58 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
59 | %{_bindir}/* |
---|
60 | %{_libexecdir}/%{name}-*.sh |
---|
61 | %{_mandir}/man8/* |
---|
62 | %{_datadir}/dbus-1/* |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Sat Feb 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.0.5-1 |
---|
66 | - update to 3.0.5 |
---|
67 | - update BuildRequires |
---|
68 | - disable sysv subpackage |
---|
69 | |
---|
70 | * Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1 |
---|
71 | - new upstream release |
---|
72 | - changed atchive type gzip to bzip2 |
---|
73 | - changed BuildRequires: libmirage-devel >= 1.2.0 to 1.5.0 |
---|
74 | |
---|
75 | * Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1 |
---|
76 | - new upstream release |
---|
77 | |
---|
78 | * Fri Nov 19 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.0-2 |
---|
79 | - add Requires: dkms-vhba |
---|
80 | |
---|
81 | * Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1 |
---|
82 | - new upstream release |
---|
83 | - dropt patch10 |
---|
84 | |
---|
85 | * Mon Oct 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.2.0-2 |
---|
86 | - add Patch10 to fix build failure on ppc |
---|
87 | |
---|
88 | * Sat Sep 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1 |
---|
89 | - initial build for VineSeed |
---|
90 | |
---|
91 | * Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1 |
---|
92 | - Updated to 1.1.0 |
---|
93 | |
---|
94 | * Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1 |
---|
95 | - Initial RPM release. |
---|