add seraparate -gui subpackage
This commit is contained in:
parent
c0c5af5fe1
commit
bd71b581df
@ -12,7 +12,7 @@ Source1: openipmi.sysconf
|
|||||||
Source2: openipmi.initscript
|
Source2: openipmi.initscript
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
BuildRequires: gdbm-devel swig glib2-devel net-snmp-devel ncurses-devel
|
||||||
BuildRequires: openssl-devel python-devel perl-devel chrpath
|
BuildRequires: openssl-devel python-devel perl-devel chrpath tcl-devel tkinter
|
||||||
Requires(post): chkconfig
|
Requires(post): chkconfig
|
||||||
Requires(preun): chkconfig
|
Requires(preun): chkconfig
|
||||||
|
|
||||||
@ -48,18 +48,29 @@ The OpenIPMI-perl package contains the Python language bindings for OpenIPMI.
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Summary: The development environment for the OpenIPMI project
|
Summary: The development environment for the OpenIPMI project
|
||||||
Requires: pkgconfig
|
Requires: pkgconfig
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The OpenIPMI-devel package contains the development libraries and header files
|
The OpenIPMI-devel package contains the development libraries and header files
|
||||||
of the OpenIPMI project.
|
of the OpenIPMI project.
|
||||||
|
|
||||||
|
%package gui
|
||||||
|
Group: System Environment/Base
|
||||||
|
Summary: OpenIPMU graphical user interface tool
|
||||||
|
Requires: tix tkinter %{name}-python = %{version}-%{release}
|
||||||
|
|
||||||
|
%description gui
|
||||||
|
The OpenIPMI-devel package contains the graphical user interface to monitor
|
||||||
|
and control IPMI-enabled device.
|
||||||
|
|
||||||
|
|
||||||
|
%description
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS=-fPIC
|
export CFLAGS=-fPIC
|
||||||
%configure --with-pythoninstall=%{python_sitearch} --disable-dependency-tracking --with-tcl=no --with-tkinter=no
|
%configure --with-pythoninstall=%{python_sitearch} --disable-dependency-tracking --with-tcl=no
|
||||||
sed -i 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
|
sed -i 's|^sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/%{_lib} %{_libdir}|' libtool
|
||||||
make
|
make
|
||||||
|
|
||||||
@ -141,10 +152,17 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
|
%files gui
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/openipmigui
|
||||||
|
%{_mandir}/man1/openipmigui*
|
||||||
|
%{_libdir}/python*/site-packages/openipmigui
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Oct 16 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-3
|
* Thu Oct 16 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-3
|
||||||
- split ipmitool to separate package
|
- split ipmitool to separate package
|
||||||
- add 'reload' functionality to init script
|
- add 'reload' functionality to init script
|
||||||
|
- add seraparate -gui subpackage
|
||||||
|
|
||||||
* Wed Jul 30 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-2
|
* Wed Jul 30 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-2
|
||||||
- Fixed rpath problem in libOpenIPMIposix.so.0.0.1
|
- Fixed rpath problem in libOpenIPMIposix.so.0.0.1
|
||||||
|
Loading…
Reference in New Issue
Block a user