source: projects/specs/trunk/c/cdemu-daemon/cdemu-daemon-vl.spec @ 11432

Revision 11432, 2.8 KB checked in by iwaim, 6 years ago (diff)

cdemu-daemon 3.1.0-1

Line 
1Summary: CDEmu daemon
2Summary(ja): CDEmu デーモン
3Name: cdemu-daemon
4Version: 3.1.0
5Release: 1%{?_dist_release}
6License: GPLv2+
7Group: System Environment/Daemons
8URL: http://cdemu.sourceforge.net
9Source0: http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2
10# should be fixed upstream?
11#Patch10: %{name}-1.2.0-bigendian-fix.patch
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: cmake >= 2.8.5
14BuildRequires: pkgconfig >= 0.16
15BuildRequires: dbus-devel >= 0.90
16BuildRequires: dbus-glib-devel >= 0.70
17BuildRequires: glib2-devel >= 2.24
18BuildRequires: libmirage-devel >= %{version}
19BuildRequires: libao-devel >= 0.8.0
20BuildRequires: sysfsutils-devel
21
22Requires: dkms-vhba
23
24%description
25This is CDEmu daemon, the userspace daemon part of the userspace-cdemu suite, a
26free, GPL CD/DVD-ROM device emulator for linux.
27
28It receives SCSI commands from kernel module and processes them, passing the
29requested data back to the kernel. Daemon implements the actual virtual device;
30one instance per each device registered by kernel module. It uses libMirage, an
31image access library that is part of userspace-cdemu suite, for the image access
32(e.g. sector reading).
33
34The daemon registers itself on D-BUS' system or session bus (depending on the
35options passed to it) where it exposes an interface that can be used by clients
36to 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
54rm -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* Tue Jan 23 2018 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.1.0-1
66- update to 3.1.0
67
68* Sat Feb 25 2017 IWAI, Masaharu <iwaim.sub@gmail.com> - 3.0.5-1
69- update to 3.0.5
70- update BuildRequires
71- disable sysv subpackage
72
73* Sun May 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.5.0-1
74- new upstream release
75- changed atchive type gzip to bzip2
76- changed BuildRequires: libmirage-devel >= 1.2.0 to 1.5.0
77
78* Sat Dec 24 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.4.0-1
79- new upstream release
80
81* Fri Nov 19 2010 IWAI, Masaharu <iwai@alib.jp> 1.3.0-2
82- add Requires: dkms-vhba
83
84* Thu Sep 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.0-1
85- new upstream release
86- dropt patch10
87
88* Mon Oct 12 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.2.0-2
89- add Patch10 to fix build failure on ppc
90
91* Sat Sep 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.2.0-1
92- initial build for VineSeed
93
94* Sat Jun 28 2008 Rok Mandeljc <rok.mandeljc@email.si> - 1.1.0-1
95- Updated to 1.1.0
96
97* Thu Dec 20 2007 Rok Mandeljc <rok.mandeljc@email.si> - 1.0.0-1
98- Initial RPM release.
Note: See TracBrowser for help on using the repository browser.