Accepting request 298700 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/298700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ledmon?expand=0&rev=5
This commit is contained in:
Stephan Kulow 2015-04-25 07:52:41 +00:00 committed by Git OBS Bridge
commit b2ad9778cb
2 changed files with 12 additions and 19 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 20 16:56:01 UTC 2015 - mpluskal@suse.com
- Use url for source
- Cleanupt spec file with spec-cleaner
-------------------------------------------------------------------
Mon Mar 2 10:49:00 UTC 2015 - dimstar@opensuse.org

View File

@ -17,46 +17,33 @@
Name: ledmon
Url: http://sourceforge.net/projects/ledmon/
Version: 0.79
Release: 0
#Release: 0.<RELEASE5>
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Enclosure LED Utilities
License: GPL-2.0
Group: Hardware/Other
Source0: %{name}-%{version}.tar.gz
Url: http://sourceforge.net/projects/ledmon/
Source0: http://sourceforge.net/projects/ledmon/files/ledmon-%{version}/%{name}-%{version}.tar.gz
Patch0: Makefile-error-dependency.patch
#BuildRequires: smp_utils
#BuildRequires: sg3_utils-devel
BuildRequires: libsgutils-devel
#Requires: sg3_utils
Provides: sgpio:/sbin/ledmon
Provides: sgpio:/{%_bindir}/ledctl
Provides: sgpio:/{%{_bindir}}/ledctl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The ledctl application and ledmon daemon are part of Intel(R) LED
ControlUtilities. They help to enable LED management for software RAID
solutions.
Authors:
--------
artur.wojcik@intel.com
%prep
%setup -q
%patch0 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
DESTDIR=$RPM_BUILD_ROOT make install
%clean
rm -rf "$RPM_BUILD_ROOT"
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)