Restore style and metadata fields, and add a changelog entry

OBS-URL: https://build.opensuse.org/package/show/filesystems/cdemu-daemon?expand=0&rev=22
This commit is contained in:
Jan Engelhardt 2014-07-14 14:25:18 +00:00 committed by Git OBS Bridge
parent bef7b6a69c
commit fcc8c06a32
2 changed files with 20 additions and 14 deletions

View File

@ -1,7 +1,12 @@
-------------------------------------------------------------------
Sun Jul 13 08:48:46 UTC 2014 - sor.alexei@meowr.ru
- Update to 3.0.0
- Update to new upstream release 3.0.0
* The CDEmu daemon now has experimental emulation of CD-R and
DVD+R disc recording, and daemon/client protocol was extended
to allow transmission of image writer parameters descriptions
from daemon to client and parameters' values back from client
to daemon.
- Remove logfile.diff patch
- Add /dev/vhba_ctl read-write access udev rule

View File

@ -26,7 +26,7 @@ Url: http://cdemu.sf.net/about/daemon/
#Git-Clone: git://git.code.sf.net/p/cdemu/code
Source: http://downloads.sf.net/cdemu/%name-%version.tar.bz2
Source1: %name.sysconfig
Source1: cdemu-daemon.sysconfig
Source2: 60-vhba.rules
BuildRequires: cmake >= 2.8.5
@ -61,20 +61,21 @@ cmake . \
make %{?_smp_mflags}
%install
b="%buildroot"
%make_install
mkdir -p "%buildroot/%_sbindir" "%buildroot/%_localstatedir/adm/fillup-templates"
install -Dm 0644 "%SOURCE1" "%buildroot/%_localstatedir/adm/fillup-templates/sysconfig.%name"
install -Dm 0644 "%SOURCE2" "%buildroot/%_prefix/lib/udev/rules.d/60-vhba.rules"
# Not desired
rm -rf "%buildroot/%_datadir/dbus-1/system-services" "%buildroot/%_sysconfdir/dbus-1/system.d/"
mkdir -p "$b/%_sbindir" "$b/%_localstatedir/adm/fillup-templates"
install -Dm 0644 "%SOURCE1" "$b/%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon"
install -Dm 0644 "%SOURCE2" "$b/%_prefix/lib/udev/rules.d/60-vhba.rules"
# Not desired for security; it would permit a user to start a system service.
rm -rf "$b/%_datadir/dbus-1/system-services" "$b/%_sysconfdir/dbus-1/system.d/"
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%_bindir/%name
%_libexecdir/%name-session.sh
%_localstatedir/adm/fillup-templates/sysconfig.%name
%_mandir/man8/%name.8*
%_bindir/cdemu-daemon
%_libexecdir/cdemu-daemon-session.sh
%_localstatedir/adm/fillup-templates/sysconfig.cdemu-daemon
%_mandir/man8/cdemu-daemon.8*
%_datadir/dbus-1/
%_prefix/lib/udev/