diff --git a/cdemu-daemon-1.5.0.tar.bz2 b/cdemu-daemon-1.5.0.tar.bz2 deleted file mode 100644 index 9e92fc0..0000000 --- a/cdemu-daemon-1.5.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d0e122c7769ba11b640bb140657d1f31dc827904578437ac1d5aa84dcc88a74f -size 133865 diff --git a/cdemu-daemon-2.0.0.tar.xz b/cdemu-daemon-2.0.0.tar.xz new file mode 100644 index 0000000..7ce8320 --- /dev/null +++ b/cdemu-daemon-2.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:71ebabddfb12bfe3eaeeb2321457d8f78a667b341094054432ee70c484e6f5a3 +size 62444 diff --git a/cdemu-daemon.changes b/cdemu-daemon.changes index f312282..954d467 100644 --- a/cdemu-daemon.changes +++ b/cdemu-daemon.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +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 ISZ, CSO, DMG, GBI, ECM, gzip and xz formats +* Partial support for 1-track MDX +- Resolves a problem with autostarting cdemu-daemon + (bnc#809181, bnc#809862) + ------------------------------------------------------------------- Mon Nov 19 20:02:02 UTC 2012 - jengelh@inai.de diff --git a/cdemu-daemon.spec b/cdemu-daemon.spec index f948e32..0412b05 100644 --- a/cdemu-daemon.spec +++ b/cdemu-daemon.spec @@ -1,7 +1,7 @@ # # spec file for package cdemu-daemon # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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,19 +25,22 @@ Group: System/Daemons Url: http://cdemu.sf.net/ #Freecode-URL: https://freecode.com/projects/cdemu-for-linux -Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 +#Git-Clone: git://git.code.sf.net/p/cdemu/code +#DL-URL: http://downloads.sf.net/cdemu/%name-%version.tar.bz2 +Source: %name-%version.tar.xz Source3: cdemu-daemon.sysconfig Patch1: logfile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -#BuildRequires: autoconf >= 2.59 +BuildRequires: cmake >= 2.8.5 BuildRequires: pkgconfig +BuildRequires: xz BuildRequires: pkgconfig(ao) >= 0.8.0 BuildRequires: pkgconfig(gio-2.0) >= 2.28 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 +54,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 +74,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