File yast2-kdump.spec of Package yast2-kdump

#
# spec file for package yast2-kdump (Version 2.18.1)
#
# 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:           yast2-kdump
Version:        2.18.1
Release:        1
License:        GPL v2 only
Group:          System/YaST
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        yast2-kdump-2.18.1.tar.bz2
Prefix:         /usr
Requires:       yast2 yast2-storage yast2-bootloader
BuildRequires:  perl-XML-Writer update-desktop-files yast2 yast2-bootloader yast2-devtools yast2-storage yast2-testsuite
Recommends:     makedumpfile
BuildRequires:  yast2 >= 2.17.36
BuildRequires:  yast2-packager >= 2.17.24
Summary:        Configuration of kdump

%description
Configuration of kdump



Authors:
--------
    Jozef Uhliarik <juhliarik@suse.cz>

%prep
%setup -n yast2-kdump-2.18.1

%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
make %{?jobs:-j%jobs}

%install
make install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
    d=${f##*/}
    %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%dir /usr/share/YaST2/include/kdump
/usr/share/YaST2/include/kdump/*
/usr/share/YaST2/clients/kdump.ycp
/usr/share/YaST2/clients/kdump_*.ycp
/usr/share/YaST2/modules/Kdump.*
%{prefix}/share/applications/YaST2/kdump.desktop
/usr/share/YaST2/schema/autoyast/rnc/kdump.rnc
/usr/share/YaST2/scrconf/*.scr
%doc %{prefix}/share/doc/packages/yast2-kdump
%changelog
* Thu Mar 05 2009 juhliarik@suse.cz
- added fix for validation of autoyast profil (bnc#480466)
- 2.18.1
* Mon Feb 09 2009 juhliarik@suse.de
- added fix for correct using buttons (bnc#440554)
- 2.18.0
* Wed Dec 10 2008 jsrain@suse.cz
- use correct quote in help text
* Fri Nov 28 2008 juhliarik@suse.cz
- updated proposal of alocation memory (bnc #446480)
- V 2.17.14
* Thu Nov 20 2008 juhliarik@suse.cz
- deleted offset for ppc64 in crashkernel value (bnc #447107)
- V 2.17.13
* Thu Nov 20 2008 juhliarik@suse.cz
- added fix for problem with "Browse" button (bnc #445894)
- V 2.17.12
* Wed Nov 19 2008 juhliarik@suse.cz
- updated proposal of alocated memory for ia64 with huge RAM
  (bnc #446480)
- V 2.17.11
* Thu Nov 13 2008 ug@suse.de
- rnc file fixed
* Fri Nov 07 2008 juhliarik@suse.cz
- added fix for unsupported option KDUMP_RUNLEVEL (bnc #440897)
- added fix for default value of KDUMP_SAVEDIR (bnc #440843)
- V 2.17.10
* Fri Oct 31 2008 juhliarik@suse.cz
- added fix for unsupported option KDUMP_DUMPDEV (bnc #438976)
- added fix for autoyast (bnc #436365)
- fixed problem with value of crashkernel for XEN (bnc #439881)
- added pacth for allocating double size of memory for ppc64
  (bnc #431492)
- added fix for problem with Popup in autoyast installation on
  s390 (bnc #440277)
- V 2.17.9
* Fri Oct 31 2008 ug@suse.de
- is cloneable for autoyast
* Fri Oct 24 2008 juhliarik@suse.cz
- added fix for problem with value of "KDUMP_KERNELVER"
  (bnc #438222)
- added fix for proposal: disable kdump if machine has less
  than 1024MB RAM
- added fix for problem with wrong value for crashkernel
  (bnc #437340)
- V 2.17.8
* Fri Oct 17 2008 juhliarik@suse.cz
- added fix for adding password for ssh target (bnc #436042)
- V 2.17.7
* Wed Oct 08 2008 juhliarik@suse.cz
- added fix for adding crashkernel option (bnc #432651)
- V 2.17.6
* Fri Oct 03 2008 juhliarik@suse.cz
- added fix for installing packages (bnc #431580)
- V 2.17.5
* Mon Sep 22 2008 juhliarik@suse.cz
- added new tree item Email Notification
- fix for problem with ncurses (bnc #373551)
- fix problem with long text (bnc #344873)
- added changes for new kdump (bnc #412140)
- V 2.17.4
* Thu Sep 11 2008 jsrain@suse.cz
- merged texts from proofread
* Thu Aug 28 2008 juhliarik@suse.cz
- added changes for init script of kdump (kdump -> boot.kdump)
- V 2.17.3
* Tue Jul 08 2008 juhliarik@suse.cz
- added support for autoyast (fate #303263)
- added support fot installation (fate #303893)
- V 2.17.2
* Thu Jun 19 2008 juhliarik@suse.cz
- added fix for CIFS is cifs-mount is not installed (bnc #307307)
- added fix for CIFS problem with path of directory (bnc #307336)
- added fix for adding crashkernel to XEN boot section(bnc #390842)
- added handling ranges in craskernel (fate #303161)
- V 2.17.1
* Fri May 16 2008 jsrain@suse.cz
- added categories Settings and System into desktop file
  (bnc #382778)
* Thu Mar 27 2008 juhliarik@suse.cz
- changed dialog buttons (fate #120373) Unified Button Labels
- changed dependences kdump vs. kernel-kdump (ppc64)
- V 2.16.10
* Mon Mar 17 2008 jsrain@suse.cz
- added 'StartupNotify=true' to the desktop file (bnc #304964)
* Wed Jan 09 2008 juhliarik@suse.cz
- added patch for text lines bug #352266 #350248
- V 2.16.9
* Tue Dec 11 2007 juhliarik@suse.cz
- added patch for bug# 347241 - kdump package needs to be
  installed in yast2-kdump module
- new version for openSUSE 11.0
- V 2.16.8
* Thu Aug 30 2007 juhliarik@suse.cz
- added correction for:
  bug#300124 - Adding boot options via yast bootloader doesn't work
  bug#305905 - Unneeded sleeps during KDump reading
- added recommends for makedumpfile
- V 2.15.7
* Mon Aug 27 2007 juhliarik@suse.cz
- added correction for problems:
  bug#301357 - yast2-kdump module always asks for reboot
  bug#301359 - yast2-kdump: Ncurses UI contains no space between text fields
  bug#301361 - yast2-kdump: Username not saved for FTP
  bug#301372 - yast2-kdump: Wrong default port for SSH
  bug#301399 - yast2-kdump: Install makedumpfile if necessary
- V 2.15.6
* Fri Aug 17 2007 juhliarik@suse.cz
- added new interactive installation packages
- V 2.15.5
* Thu Aug 16 2007 juhliarik@suse.cz
- added patch for enable kdump, delete "noarch" from spec file
- deleted switching between Command Line and Command Line Append
- added patch for default allocate memory
- V 2.15.4
* Wed Aug 15 2007 juhliarik@suse.cz
- added patch for problem with installing package kernel-kdump
- V 2.15.3
* Thu Aug 09 2007 juhliarik@suse.cz
- added commandline interface
- V 2.15.2
* Mon Aug 06 2007 juhliarik@suse.cz
- initial version
- V 2.15.1
openSUSE Build Service is sponsored by