summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Yin <yan.yin@intel.com>2012-03-14 14:08:35 +0800
committerYan Yin <yan.yin@intel.com>2012-03-14 14:08:35 +0800
commit85d82a1577b2c763c12239848b39a5100f71910f (patch)
tree75754eb3338a8afc800613d8a1e1dfad041353ec
parentd7e6465ccc3edb02d794d6d417db7da4a3295a3a (diff)
downloadlibslp-sysman-85d82a1577b2c763c12239848b39a5100f71910f.tar.gz
libslp-sysman-85d82a1577b2c763c12239848b39a5100f71910f.tar.bz2
libslp-sysman-85d82a1577b2c763c12239848b39a5100f71910f.zip
update for beta universally
-rw-r--r--packaging/libslp-sysman.spec (renamed from packaging/sysman.spec)21
1 files changed, 3 insertions, 18 deletions
diff --git a/packaging/sysman.spec b/packaging/libslp-sysman.spec
index e449022..52673f7 100644
--- a/packaging/sysman.spec
+++ b/packaging/libslp-sysman.spec
@@ -1,11 +1,10 @@
-
-Name: sysman
+Name: libslp-sysman
Summary: System manager interface library
Version: 0.2.25
Release: 1
Group: System/Libraries
-License: LGPL
-Source0: sysman-%{version}.tar.gz
+License: Apache-2.0
+Source0: libslp-sysman-%{version}.tar.gz
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: cmake
@@ -47,7 +46,6 @@ cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?jobs:-j%jobs}
%install
-rm -rf %{buildroot}
%make_install
mkdir -p %{buildroot}%{_sysconfdir}/rc.d/
@@ -58,22 +56,11 @@ ln -s %{_bindir}/regpmon.sh %{buildroot}%{_sysconfdir}/rc.d/rc3.d/S99regpmon
ln -s %{_bindir}/regpmon.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S99regpmon
-
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-
-
-
-
-
-
-
%files
-%defattr(-,root,root,-)
-%doc COPYING
%{_libdir}/*.so.*
%{_bindir}/*
%{_sysconfdir}/rc.d/init.d/*
@@ -82,13 +69,11 @@ ln -s %{_bindir}/regpmon.sh %{buildroot}%{_sysconfdir}/rc.d/rc5.d/S99regpmon
%files devel
-%defattr(-,root,root,-)
%{_includedir}/sysman/sysman.h
%{_includedir}/sysman/SLP_sysman_PG.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%files internal-devel
-%defattr(-,root,root,-)
%{_includedir}/sysman/sysman-internal.h