File nwfermi-daemon.spec of Package nwfermi-daemon

#
# spec file for package nwfermi-daemon
#
# Copyright (c) specCURRENT_YEAR 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           nwfermi-daemon
Version:        0.6.5.0
Release:        1
License:        MIT
Summary:        nwfermi Daemon
Url:            http://launchpad.net/nwfermi
Source:     %{name}-%{version}.tar.bz2
Group:      System/Kernel and hardware
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
nwfermi daemon

%prep
%setup -q

%install
mkdir -p $RPM_BUILD_ROOT/%_sysconfdir/udev/rules.d
cp -avf 40-nw-fermi.rules $RPM_BUILD_ROOT/%_sysconfdir/udev/rules.d/
mkdir -p $RPM_BUILD_ROOT/%_sbindir
cp -avf nwfermi_daemon $RPM_BUILD_ROOT/%_sbindir
mkdir -p $RPM_BUILD_ROOT/%_initrddir
cp -avf nwfermi_daemon_udev $RPM_BUILD_ROOT/%_initrddir


%files
%defattr(-,root,root)
%_sysconfdir/udev/rules.d/*
%attr(0755,root,root) %_sbindir/nwfermi_daemon
%attr(0755,root,root) %_initrddir/nwfermi_daemon_udev
openSUSE Build Service is sponsored by