Accepting request 142966 from filesystems
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/142966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cdemu-daemon?expand=0&rev=3
This commit is contained in:
commit
22bf24026e
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 19 20:02:02 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Remove cdemud-launch helper, this caused too much confusion.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 29 08:47:19 UTC 2012 - jengelh@inai.de
|
||||
|
||||
|
@ -14,6 +14,8 @@
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: cdemu-daemon
|
||||
Version: 1.5.0
|
||||
Release: 0
|
||||
@ -22,15 +24,20 @@ License: GPL-2.0+
|
||||
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
|
||||
Source3: cdemu-daemon.sysconfig
|
||||
Patch1: logfile.diff
|
||||
Source3: cdemu-daemon.sysconfig
|
||||
Patch1: logfile.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#BuildRequires: autoconf >= 2.59
|
||||
BuildRequires: pkgconfig pkgconfig(glib-2.0) >= 2.28
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.28 pkgconfig(gmodule-2.0) >= 2.28
|
||||
BuildRequires: pkgconfig(gthread-2.0) >= 2.28, pkgconfig(gio-2.0) >= 2.28
|
||||
BuildRequires: pkgconfig(ao) >= 0.8.0, pkgconfig(libmirage) >= 1.5.0
|
||||
BuildRequires: pkgconfig
|
||||
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
|
||||
|
||||
%description
|
||||
cdemu-daemon receives SCSI commands from kernel module thorugh the
|
||||
@ -55,13 +62,6 @@ make %{?_smp_mflags};
|
||||
b="%buildroot";
|
||||
make install DESTDIR="$b";
|
||||
mkdir -p "$b/%_sbindir";
|
||||
cat >"$b/%_sbindir/cdemud-launch" <<-EOF;
|
||||
#!/bin/sh
|
||||
modprobe -q sg;
|
||||
modprobe -q vhba;
|
||||
exec /usr/bin/cdemud "$@";
|
||||
EOF
|
||||
chmod a+x "$b/%_sbindir/cdemud-launch";
|
||||
mkdir -p "$b/%_localstatedir/adm/fillup-templates";
|
||||
install -pm0644 "%{S:3}" "$b/%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon";
|
||||
# Not desired
|
||||
@ -70,7 +70,6 @@ rm -Rf "$b/%_datadir/dbus-1/system-services" "$b/%_sysconfdir/dbus-1/system.d";
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_bindir/cdemud
|
||||
%_sbindir/cdemud-launch
|
||||
%_libexecdir/cdemu-daemon-*.sh
|
||||
%_datadir/dbus-1
|
||||
%_mandir/man8/cdemud.8*
|
||||
|
Loading…
Reference in New Issue
Block a user