Accepting request 298223 from home:pluskalm:branches:Base:System
- Use url for source - Cleanupt spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/298223 OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=8
This commit is contained in:
parent
83bdcb4254
commit
b7802fdb21
@ -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
|
||||
|
||||
|
25
ledmon.spec
25
ledmon.spec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user