Jan Engelhardt 2012-12-22 17:08:21 +00:00 committed by Git OBS Bridge
parent 4b1ae0266e
commit 7392d9acc4
4 changed files with 20 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0e122c7769ba11b640bb140657d1f31dc827904578437ac1d5aa84dcc88a74f
size 133865

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5410a02032e524ef64dbd81c9f09d2bc10e3f2ecd012d052c8c3e47e772356ca
size 61547

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 22 08:23:15 UTC 2012 - jengelh@inai.de
- Update to new upstream release 2.0.0 (up from 1.5.0)
* Support for new data types and file filters (see libmirage)
-------------------------------------------------------------------
Mon Nov 19 20:02:02 UTC 2012 - jengelh@inai.de

View File

@ -17,7 +17,7 @@
Name: cdemu-daemon
Version: 1.5.0
Version: 2.0.0
Release: 0
Summary: Device daemon for cdemu, a virtual CD-ROM device emulator
License: GPL-2.0+
@ -25,11 +25,12 @@ Group: System/Daemons
Url: http://cdemu.sf.net/
#Freecode-URL: https://freecode.com/projects/cdemu-for-linux
#Git-Clone: git://git.code.sf.net/p/cdemu/code
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
Source3: cdemu-daemon.sysconfig
Patch1: logfile.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: autoconf >= 2.59
BuildRequires: cmake >= 2.8.5
BuildRequires: pkgconfig
BuildRequires: pkgconfig(ao) >= 0.8.0
BuildRequires: pkgconfig(gio-2.0) >= 2.28
@ -37,7 +38,7 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.28
BuildRequires: pkgconfig(gmodule-2.0) >= 2.28
BuildRequires: pkgconfig(gobject-2.0) >= 2.28
BuildRequires: pkgconfig(gthread-2.0) >= 2.28
BuildRequires: pkgconfig(libmirage) >= 1.5.0
BuildRequires: pkgconfig(libmirage) >= 2.0.0
%description
cdemu-daemon receives SCSI commands from kernel module thorugh the
@ -51,11 +52,13 @@ The daemon registers itself on D-BUS's system or session bus
that can be used by clients to control it.
%prep
%setup -q
%setup -Tcqa0
%patch -P 1 -p1
%build
%configure
cmake . -DCMAKE_INSTALL_PREFIX:PATH="%_prefix" \
-DCMAKE_INSTALL_LIBEXECDIR:PATH="%_libexecdir" \
-DCMAKE_C_FLAGS:STRING="%optflags";
make %{?_smp_mflags};
%install
@ -69,10 +72,10 @@ rm -Rf "$b/%_datadir/dbus-1/system-services" "$b/%_sysconfdir/dbus-1/system.d";
%files
%defattr(-,root,root)
%_bindir/cdemud
%_libexecdir/cdemu-daemon-*.sh
%_bindir/cdemu-daemon
%_libexecdir/cdemu-daemon-session.sh
%_datadir/dbus-1
%_mandir/man8/cdemud.8*
%_mandir/man8/cdemu-daemon.8*
%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon
%changelog