This commit is contained in:
commit
c21fe6d615
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
powerman-2.3.5.tar.bz2
Normal file
3
powerman-2.3.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4caa03e925ed086c5c9886c0335e0646cb099e65ba213a43d34ec04432fd5d7a
|
||||||
|
size 410179
|
5
powerman.changes
Normal file
5
powerman.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 10 17:24:08 CEST 2009 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- New SuSE package, version 2.3.5.
|
||||||
|
|
139
powerman.spec
Normal file
139
powerman.spec
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
#
|
||||||
|
# spec file for package powerman (Version 2.3.5)
|
||||||
|
#
|
||||||
|
# Copyright (c) 2009 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
|
Name: powerman
|
||||||
|
Version: 2.3.5
|
||||||
|
Release: 1
|
||||||
|
License: GPL
|
||||||
|
Group: Productivity/Clustering/HA
|
||||||
|
Url: http://powerman.sourceforge.net/
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
Summary: Centralized Power Control for Clusters
|
||||||
|
BuildRequires: curl-devel ncurses-devel tcpd-devel
|
||||||
|
# For directory ownership:
|
||||||
|
BuildRequires: heartbeat
|
||||||
|
#BuildRequires: genders
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
PowerMan is a tool for manipulating remote power control (RPC) devices from a
|
||||||
|
central location. Several RPC varieties are supported natively by PowerMan and
|
||||||
|
Expect-like configurability simplifies the addition of new devices.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Andrew Uselton
|
||||||
|
Jim Garlick <garlick.jim@gmail.com>
|
||||||
|
Al Chu <chu11@llnl.gov>
|
||||||
|
|
||||||
|
%package -n libpowerman0
|
||||||
|
License: GPL
|
||||||
|
Summary: Libraries for applications using PowerMan
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n libpowerman0
|
||||||
|
A shared library for applications using PowerMan.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Andrew Uselton
|
||||||
|
Jim Garlick <garlick.jim@gmail.com>
|
||||||
|
Al Chu <chu11@llnl.gov>
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
License: GPL
|
||||||
|
Requires: libpowerman0 = %{version}
|
||||||
|
Summary: Headers and libraries for developing applications using PowerMan
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
A header file and static library for developing applications using PowerMan.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Andrew Uselton
|
||||||
|
Jim Garlick <garlick.jim@gmail.com>
|
||||||
|
Al Chu <chu11@llnl.gov>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
# --with-genders
|
||||||
|
%configure\
|
||||||
|
--disable-static\
|
||||||
|
--with-httppower
|
||||||
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
ln -s ../..%{_sysconfdir}/init.d/powerman $RPM_BUILD_ROOT%{_sbindir}/rcpowerman
|
||||||
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/powerman/powerman.conf
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%{stop_on_removal}
|
||||||
|
|
||||||
|
%post
|
||||||
|
%{fillup_and_insserv -f}
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%{restart_on_update}
|
||||||
|
%{insserv_cleanup}
|
||||||
|
|
||||||
|
%post -n libpowerman0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n libpowerman0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc AUTHORS ChangeLog ChangeLog-1.0 DISCLAIMER COPYING NEWS README TODO
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_libdir}/stonith/plugins/external/powerman
|
||||||
|
%dir %attr(0755,daemon,root) %config %{_localstatedir}/run/powerman
|
||||||
|
%doc %{_mandir}/man?/*.*
|
||||||
|
%exclude %doc %{_mandir}/man3/*.*
|
||||||
|
%{_sbindir}/*
|
||||||
|
%dir %config %{_sysconfdir}/powerman
|
||||||
|
%{_sysconfdir}/init.d/powerman
|
||||||
|
%config %{_sysconfdir}/powerman/powerman.conf
|
||||||
|
%{_sysconfdir}/powerman/*.dev
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
%doc %{_mandir}/man3/*.*
|
||||||
|
|
||||||
|
%files -n libpowerman0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user