From 7392d9acc40f1c686aaec2357d302bfe954891be0a1f56741da009d2a36b8efe Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 22 Dec 2012 17:08:21 +0000 Subject: [PATCH] cdemu-daemon-2.0.0 OBS-URL: https://build.opensuse.org/package/show/filesystems/cdemu-daemon?expand=0&rev=9 --- cdemu-daemon-1.5.0.tar.bz2 | 3 --- cdemu-daemon-2.0.0.tar.bz2 | 3 +++ cdemu-daemon.changes | 6 ++++++ cdemu-daemon.spec | 19 +++++++++++-------- 4 files changed, 20 insertions(+), 11 deletions(-) delete mode 100644 cdemu-daemon-1.5.0.tar.bz2 create mode 100644 cdemu-daemon-2.0.0.tar.bz2 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.bz2 b/cdemu-daemon-2.0.0.tar.bz2 new file mode 100644 index 0000000..511d0bd --- /dev/null +++ b/cdemu-daemon-2.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5410a02032e524ef64dbd81c9f09d2bc10e3f2ecd012d052c8c3e47e772356ca +size 61547 diff --git a/cdemu-daemon.changes b/cdemu-daemon.changes index f312282..898f924 100644 --- a/cdemu-daemon.changes +++ b/cdemu-daemon.changes @@ -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 diff --git a/cdemu-daemon.spec b/cdemu-daemon.spec index f948e32..8d69b83 100644 --- a/cdemu-daemon.spec +++ b/cdemu-daemon.spec @@ -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