add seraparate -gui subpackage

This commit is contained in:
Jan Šafránek 2008-10-17 10:59:17 +00:00
parent c0c5af5fe1
commit bd71b581df
1 changed files with 21 additions and 3 deletions

View File

@ -12,7 +12,7 @@ Source1: openipmi.sysconf
Source2: openipmi.initscript
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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(preun): chkconfig
@ -48,18 +48,29 @@ The OpenIPMI-perl package contains the Python language bindings for OpenIPMI.
Group: Development/Libraries
Summary: The development environment for the OpenIPMI project
Requires: pkgconfig
Requires: %{name} = %{version}
Requires: %{name} = %{version}-%{release}
%description devel
The OpenIPMI-devel package contains the development libraries and header files
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
%setup -q
%build
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
make
@ -141,10 +152,17 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.a
%{_libdir}/pkgconfig/*.pc
%files gui
%defattr(-,root,root)
%{_bindir}/openipmigui
%{_mandir}/man1/openipmigui*
%{_libdir}/python*/site-packages/openipmigui
%changelog
* Thu Oct 16 2008 Jan Safranek <jsafrane@redhat.com> - 2.0.14-3
- split ipmitool to separate package
- add 'reload' functionality to init script
- add seraparate -gui subpackage
* Wed Jul 30 2008 Phil Knirsch <pknirsch@redhat.com> - 2.0.14-2
- Fixed rpath problem in libOpenIPMIposix.so.0.0.1