SHA256
1
0
forked from pool/ledmon

Accepting request 209571 from home:zhonglidong:branches:Base:System

a new package that already exists in SLES

OBS-URL: https://build.opensuse.org/request/show/209571
OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=1
This commit is contained in:
Marcus Meissner 2013-12-06 10:52:18 +00:00 committed by Git OBS Bridge
commit 4f0766c655
6 changed files with 143 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,17 @@
Index: ledmon-0.79/src/Makefile
===================================================================
--- ledmon-0.79.orig/src/Makefile
+++ ledmon-0.79/src/Makefile
@@ -65,10 +65,10 @@ SOURCES:=$(shell find -name "*.[cC]" -pr
default: all
ledmon: $(OUTDIR)/.depend $(LEDMON_OBJECTS)
- $(CC) $(LDFLAGS) $(LDLIBS) $(LEDMON_OBJECTS) -o $@
+ $(CC) $(LDLIBS) $(LEDMON_OBJECTS) -o $@ $(LDFLAGS)
ledctl: $(OUTDIR)/.depend $(LEDCTL_OBJECTS)
- $(CC) $(LDFLAGS) $(LDLIBS) $(LEDCTL_OBJECTS) -o $@
+ $(CC) $(LDLIBS) $(LEDCTL_OBJECTS) -o $@ $(LDFLAGS)
$(OUTDIR)/%.o: %.c
$(CC) $(CFLAGS) $(DEFFLAGS) $(INCFLAGS) -c $< -o $@

3
ledmon-0.79.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:54568840578997b29632686d848d6d4ac534d02b3b920a38ffcde3ffbce2c730
size 59487

27
ledmon.changes Normal file
View File

@ -0,0 +1,27 @@
-------------------------------------------------------------------
Thu Dec 5 10:45:57 UTC 2013 - lzhong@suse.com
- update to version 0.79
*remove not-send-command-if-status-not-changed.patch
*remove fix-gcc-error.patch
*add Makefile-error-dependency.patch
Tue Mar 5 10:09:43 CST 2013 - lzhong@suse.com
- Add not-send-command-if-status-not-changed.patch(bnc#794489)
Mon Feb 4 21:54:38 CST 2013 - lzhong@suse.com
- Update version from 0.75 to latest version 0.76(fate#313626) for sles-11-sp3
-------------------------------------------------------------------
Mon Jan 14 15:06:35 CST 2013 - lzhong@suse.com
- Update version from 0.74 to latest version 0.75(fate#313626) for sles-11-sp3
-------------------------------------------------------------------
Fri Nov 16 10:15:59 CST 2012 - lzhong@suse.com
- Initial check in (fate#313626) for sles-11-sp3
-------------------------------------------------------------------
Tue Jun 21 05:08:53 UTC 2011 - xwhu@novell.com
- Initial check in (fate#311809)

72
ledmon.spec Normal file
View File

@ -0,0 +1,72 @@
#
# spec file for package ledmon
#
# Copyright (c) 2013 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: ledmon
Url: http://sourceforge.net/projects/ledmon/
Version: 0.79
Release: 0.<RELEASE10>
#Release: 0.<RELEASE5>
License: GPL v2 only
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: Hardware/Other
Summary: Enclosure LED Utilities
Source0: %{name}-%{version}.tar.gz
Patch0: Makefile-error-dependency.patch
#BuildRequires: smp_utils
#BuildRequires: sg3_utils-devel
BuildRequires: libsgutils2-2
BuildRequires: libsgutils-devel
#Requires: sg3_utils
Provides: sgpio:/{%_bindir}/ledctl
Provides: sgpio:/sbin/ledmon
%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"
%install
DESTDIR=$RPM_BUILD_ROOT make install
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc README COPYING
%{_sbindir}/ledmon
%{_sbindir}/ledctl
%{_mandir}/man5/ledctl.conf.5.gz
%{_mandir}/man8/ledctl.8.gz
%{_mandir}/man8/ledmon.8.gz
%changelog