File yast2-tune.spec of Package yast2-tune
#
# spec file for package yast2-tune (Version 2.17.6)
#
# Copyright (c) 2008 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-tune
Version: 2.17.6
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-tune-2.17.6.tar.bz2
Prefix: /usr
BuildRequires: perl-XML-Writer update-desktop-files yast2 yast2-bootloader yast2-devtools yast2-testsuite
# hwinfo/classnames.ycp
Requires: yast2 >= 2.15.20
Requires: hdparm yast2-bootloader
Provides: yast2-config-hwinfo yast2-tune-idedma yast2-trans-tune
Obsoletes: yast2-config-hwinfo yast2-tune-idedma yast2-trans-tune
Provides: yast2-trans-hwinfo yast2-trans-idedma y2c_tune y2t_tune yast2-config-tune
Obsoletes: yast2-trans-hwinfo yast2-trans-idedma y2c_tune y2t_tune yast2-config-tune
Summary: YaST2 - Hardware Tuning
%description
This package contains the YaST2 component for hardware configuration.
%prep
%setup -n yast2-tune-2.17.6
%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)
#%ifnarch s390 s390x
#%{prefix}/share/applications/YaST2/idedma.desktop
#%endif
%dir /usr/share/YaST2/include/idedma
/usr/share/YaST2/include/hwinfo/*
/usr/share/YaST2/include/idedma/*
/usr/share/YaST2/clients/*.ycp
%{prefix}/share/applications/YaST2/hwinfo.desktop
%{prefix}/share/applications/YaST2/system_settings.desktop
/usr/share/YaST2/modules/*.ycp
/usr/share/YaST2/modules/*.ybc
/usr/share/YaST2/scrconf/*.scr
%doc %{prefix}/share/doc/packages/yast2-tune
%changelog
* Fri Oct 24 2008 visnov@suse.cz
- fix type error in accessing icons
- 2.17.6
* Mon Oct 06 2008 lslezak@suse.cz
- 'Kernel Settings' - align the action buttons to the left
(bnc#419535)
- 2.17.5
* Mon Oct 06 2008 visnov@suse.cz
- adapt to new Confirm::Detection API (bnc #431276)
* Fri Oct 03 2008 lslezak@suse.cz
- SystemSettings.ycp - check if ENABLE_SYSRQ is nil (bnc#431909)
- 2.17.4
* Wed Sep 10 2008 lslezak@suse.cz
- merged proofread texts (2008-09-08)
- 2.17.3
* Thu Sep 04 2008 lslezak@suse.cz
- use "Kernel Settings" label consistently (bnc#421029)
- 2.17.2
* Tue Jul 22 2008 lslezak@suse.cz
- NewID.ycp - fixed activation of new device IDs for drivers
containing spaces (bnc#402572)
- 2.17.1
* Mon Jun 16 2008 lslezak@suse.cz
- OK/Cancel buttons in the main dialog (bnc#398496)
- 2.17.0
* Thu Jun 05 2008 lslezak@suse.cz
- do not write ENABLE_SYSRQ 'nil' value (do not remove the
variable from sysconfig/sysctl file) (bnc#397101)
- 2.16.2
* Fri May 16 2008 jsrain@suse.cz
- added categories Settings and System into desktop file
(bnc #382778)
* Thu Apr 03 2008 lslezak@suse.cz
- changed "System Settings" -> "Kernel Settings" (fate#303464)
- 2.16.1
* Mon Mar 17 2008 lslezak@suse.cz
- unified button labels (use "OK" instead of "Accept")
(fate#120373)
- 2.16.0
* Mon Mar 17 2008 jsrain@suse.cz
- added 'StartupNotify=true' to the desktop file (bnc #304964)
* Mon Dec 10 2007 lslezak@suse.cz
- merged proofread texts (2007-18-23)
* Mon Sep 03 2007 locilka@suse.cz
- Fixed "System Settings" buttons (#307148).
- 2.15.7
* Fri May 25 2007 jsrain@suse.cz
- removed outdated translations from .desktop-files (#271209)
* Thu May 24 2007 lslezak@suse.cz
- added minimal command line mode support to 'hwinfo' (#269892)
- 2.15.6
* Thu Apr 26 2007 lslezak@suse.cz
- disable the IDE DMA module for now - libata doesn't support DMA
mode changes (#264681)
- 2.15.5
* Wed Apr 18 2007 lslezak@suse.cz
- properly remove 'elevator' option from the bootloader config
when IO scheduler is set to 'not configured', do not write
bootloader config if there is no change (#261551)
- 2.15.4
* Fri Mar 23 2007 lslezak@suse.cz
- fixed version dependency in .spec
- 2.15.3
* Wed Mar 21 2007 lslezak@suse.cz
- moved hwinfo/classnames.ycp to yast2.rpm (#253486)
- 2.15.2
* Tue Jan 23 2007 locilka@suse.cz
- PCI ID Setup uses [Cancel] / [Accept] buttons for the AutoYaST
and installation and [Abort] / [Finish] buttons for any other
case (#237379).
* Mon Jan 22 2007 locilka@suse.cz
- Disabling [Edit] and [Delete] buttons in case there is nothing to
edit or delete in the PCI ID Setup dialog (#237339).
- 2.15.1
* Wed Dec 13 2006 lslezak@suse.cz
- append /dev name to device name (#164823)
- translate more keys
- display better progress popup when probing devices
- 2.15.0
* Mon Nov 13 2006 lslezak@suse.cz
- 2.14.0
* Fri Oct 20 2006 lslezak@suse.cz
- added missing system_settings_finish.ycp client - save settings
at installation time (feature #110070, #110071)
- 2.13.9
* Fri Oct 20 2006 lslezak@suse.cz
- added SysRq configuration option (feature #110071)
- added global I/O scheduler option (feature #110070)
- removed pci_id client (merged into system_settings client)
- 2.13.8
* Tue Jul 18 2006 lslezak@suse.cz
- hwinfo - translate some generic device names (#179880)
- 2.13.7
* Tue May 09 2006 lslezak@suse.cz
- updated the testsuite
- 2.13.6
* Tue May 09 2006 lslezak@suse.cz
- fixed udev script filename (#173126)
- 2.13.5
* Mon Feb 20 2006 lslezak@suse.cz
- updated BuildRequires (replaced yast2-devel-packages macro)
- 2.13.4
* Sun Feb 19 2006 jsrain@suse.de
- exclude pci_id.desktop file on S/390 (#151109)
- 2.13.3
* Mon Dec 19 2005 jsuchome@suse.cz
- merged proofread texts
- 2.13.2
* Wed Dec 07 2005 lslezak@suse.cz
- added translations to pci_id.desktop file (#135688)
* Thu Dec 01 2005 locilka@suse.cz
- pci_id prepaired for CWM needed for implementing other features
and moving pci_id to the tab
* Thu Oct 13 2005 lslezak@suse.cz
- don't use boot.idedma initscript (the script has been replaced
by an udev rule and an udev script) (#117683)
- 2.13.1
* Thu Sep 22 2005 lslezak@suse.cz
- use hdparm parameter -I instead of -i (get the status directly
from the drive) (#117684)
- 2.13.0
* Fri Jul 22 2005 lslezak@suse.cz
- translate also "dsl" string
- 2.12.1
* Wed May 18 2005 lslezak@suse.cz
- merged proofread texts
- 2.12.0
* Wed Apr 06 2005 lslezak@suse.cz
- PCI ID: added runtime client, improved read/write support,
select detected PCI device and get the IDs automatically
- 2.11.7
* Mon Mar 14 2005 lslezak@suse.cz
- idedma: don't show SATA disks - DMA cannot be changed (#71879)
- 2.11.6
* Tue Mar 08 2005 lslezak@suse.cz
- always retranslate memory string (#71109)
- 2.11.5
* Tue Mar 01 2005 lslezak@suse.cz
- PCI ID - nil handling - allow adding of an ID (#67023)
- 2.11.4
* Mon Feb 07 2005 lslezak@suse.cz
- merged proofread texts
- version 2.11.3
* Mon Nov 29 2004 lslezak@suse.cz
- PCI ID - write hwcfg file to load kernel module by
coldplug/hotplug (#48500)
* Tue Nov 23 2004 lslezak@suse.cz
- merged PCI ID feature from 9.1 branch (#36084)
- select&lookup replaced by bracket operator
- version 2.11.2
* Tue Nov 23 2004 lslezak@suse.cz
- updated to new Mode:: API
* Tue Oct 19 2004 lslezak@suse.cz
- updated: class DB, probe agent path translations
- version 2.11.1
* Wed Oct 13 2004 lslezak@suse.cz
- UML mode enhancements (#40835)
- version 2.11.0
* Mon Oct 11 2004 jsrain@suse.cz
- adapted to new Arch:: interface
* Fri Sep 03 2004 lslezak@suse.cz
- traslate new device types (wlan, tape)
- version 2.10.1
* Tue Aug 10 2004 mvidner@suse.cz
- Merged proofread texts.
* Wed Jun 16 2004 lslezak@suse.cz
- updated testsuite (use Testsuite:: module, set testedfiles)
- version 2.10.0
* Tue May 25 2004 lslezak@suse.cz
- don't show .boot_disk value (not reliable and works only on
some i386 systems) (#40949)
- new subpath names (is_uml, redasd, block)
- version 2.9.22
* Tue May 04 2004 lslezak@suse.cz
- merged proofread texts
- version 2.9.21
* Fri Apr 02 2004 lslezak@suse.cz
- changed license to GPL
- version 2.9.20
* Fri Mar 26 2004 lslezak@suse.cz
- added missing translation mark (#37063)
- use -i option in hdaprm call (#36565), testsuite update
- added missing import
- version 2.9.18
* Wed Mar 17 2004 lslezak@suse.cz
- fixed monitor resolution
- type fixes
- don't loose data from probe agent
- enable save button (#36230)
- version 2.9.17
* Wed Mar 10 2004 nashif@suse.de
- Adapted to new wizard
* Mon Mar 08 2004 lslezak@suse.cz
- use Sequencer::
- set icon
- fixed ycphook in Makefile.am
- version 2.9.15
* Mon Mar 01 2004 lslezak@suse.cz
- merged proofread texts
- typed lists and maps
- version 2.9.14
* Fri Feb 27 2004 lslezak@suse.cz
- InitHWinfo - only [OK] button in details dialog (#34915)
- allow aborting during detection
- version 2.9.13
* Thu Feb 26 2004 nashif@suse.de
- Changed proposal file name proposal_* to *_proposal
- 2.9.12
* Tue Feb 24 2004 lslezak@suse.cz
- InitHWinfo - only [OK] button in HW summary dialog (#34915)
- version 2.9.11
* Tue Feb 17 2004 lslezak@suse.cz
- NI fixes (removed globals)
- InitHWinfo: changed column order
* Tue Feb 17 2004 lslezak@suse.cz
- InitHWinfo: use board and generation info for PPC architecture
- version 2.9.10
* Thu Feb 12 2004 lslezak@suse.cz
- use new config file (/etc/sysconfig/ide)
- cfg_hardware.scr renamed to cfg_ide.scr (.sysconfig.ide path)
- testsuite update
- InitHWinfo: use String::FormatSizeWithPrecision function
- version 2.9.9
* Thu Feb 12 2004 arvin@suse.de
- added type names for new udev and sysfs infos (bug #34355)
* Mon Feb 09 2004 arvin@suse.de
- removed config files (*.y2cc)
* Fri Jan 30 2004 lslezak@suse.cz
- fixes for new interpreter (data types)
- build fix (ycp hook, testsuite update)
- version 2.9.6
* Tue Jan 13 2004 lslezak@suse.cz
- init_hwinfo - read system name (SMBIOS entry), NI fixes
- idedma - use Service:: module
- version 2.9.5
* Mon Dec 01 2003 lslezak@suse.cz
- fixes for the new interpreter
- version 2.9.4
* Wed Nov 19 2003 lslezak@suse.cz
- use UI:: file popup builtin
- version 2.9.3
* Thu Nov 13 2003 lslezak@suse.cz
- syntax fixes for new interpreter (by jhumpol)
- command line UI
- autoinstallation support
- version 2.9.2
* Thu Oct 30 2003 lslezak@suse.cz
- fixes for the new interpreter
- flush disc cache (sync) before DMA is enabled
- version 2.9.1
* Fri Oct 17 2003 lslezak@suse.de
- added new 'initial hwnifo' module (new module in the
installation proposal - show hardware information, allow saving
hwinfo output to the file/floppy)
- hwinfo: fixed visualization of list with just one map
item (#31144)
- more items returned by .probe agent are translated
- version 2.9.0
* Sun Sep 14 2003 adrian@suse.de
- make it working in kcontrol
* Mon Sep 01 2003 lslezak@suse.de
- added missing import
- ignore cdb_isdn path
- set focus to the tree widget
- version 2.8.5
* Mon Aug 25 2003 lslezak@suse.cz
- removed "Initializing..." dialog in idedma module
- version 2.8.4
* Tue Aug 12 2003 lslezak@suse.cz
- detect and configure ide-scsi devices correctly (#25640)
- updated testsuite
- version 2.8.3
* Mon Aug 11 2003 lslezak@suse.de
- merged proofread texts
- version 2.8.2
* Fri Aug 08 2003 lslezak@suse.de
- use Label:: and Popup:: modules
- fixed displaying of the warning message in idedma
- added .desktop files
- version 2.8.1
* Mon Jun 09 2003 lslezak@suse.de
- fixed package build on s390
- removed obsoleted comments
- version 2.8.0
* Fri Mar 21 2003 lslezak@suse.de
- hwinfo: save hwinfo output to the file (enh. #16771), use Wizard
module, small fixes
* Mon Mar 03 2003 lslezak@suse.de
- merged proof-read texts
- version 2.7.6
* Wed Feb 19 2003 lslezak@suse.de
- hwinfo: increased size of progress window (#23791)
- idedma: added testsuites, start boot.idedma only if it's needed
- version 2.7.5
* Fri Feb 14 2003 lslezak@suse.de
- edit DMA transfer mode
- use DEVICES_FORCE_IDE_DMA sysconfig variable
- documentation and testsuite update
- version 2.7.4
* Fri Feb 07 2003 lslezak@suse.de
- don't probe for chipcards when X server is running
(moves mouse cursor)
- updated class names (hwinfo 5.51)
- updated probe agent mapping (from path to translateable string)
- version 2.7.3
* Mon Feb 03 2003 lslezak@suse.cz
- merged proof-read texts
- version 2.7.2
* Fri Jan 17 2003 lslezak@suse.cz
- function keys in ncurses UI
- version 2.7.1
* Wed Dec 11 2002 lslezak@suse.cz
- fixed CPU information (#22379)
- version 2.7.0
* Mon Sep 09 2002 lslezak@suse.cz
- removed noarch architecture from spec file (required by %%ifnarch)
- version 2.6.14
* Mon Sep 09 2002 lslezak@suse.cz
- exclude IDE DMA configuration from y2cc on S390
- version 2.6.13
* Fri Sep 06 2002 lslezak@suse.cz
- provide/obsolete old packages
- version 2.6.12
* Mon Sep 02 2002 lslezak@suse.cz
- version 2.6.11
* Tue Aug 27 2002 jsuchome@suse.cz
- provide/obsolete old translation packages
* Mon Aug 19 2002 lslezak@suse.cz
- added translation message "isapnp" -> _("ISA PnP")
- version 2.6.10
* Wed Aug 14 2002 lslezak@suse.cz
- merged proofread texts
- version 2.6.9
* Mon Aug 12 2002 mvidner@suse.cz
- Fix building (testsuite adapted to changes in yast2.rpm, due to #17608).
- 2.6.8
* Fri Aug 09 2002 arvin@suse.de
- added some more translation texts
* Thu Aug 08 2002 arvin@suse.de
- added string "Requires" to translate texts
* Wed Aug 07 2002 lslezak@suse.de
- hwinfo: better check if X server is running
- idedma: fixed loading class database, fixed testsuite
- version 2.6.5
* Tue Aug 06 2002 lslezak@suse.de
- added help texts for translators
- removed yast2-runlevel from Requires and #neededforbuild
- hwinfo: added new path descriptions for translation
- version 2.6.4
* Fri Jul 12 2002 arvin@suse.de
- use proper namespace for Args and CallFunction (#16776)
* Fri Jul 05 2002 arvin@suse.de
- moved non binary files to /usr/share/YaST2
* Mon Jul 01 2002 lslezak@suse.cz
- merged yast2-config-hwinfo and yast2-tune-idedma packages to
yast2-tune
- textdomains merged to "tune" textdomain
- version 2.6.1
* Tue Jun 25 2002 lslezak@suse.cz
- fixed double CPU entry (#15905)
- version 2.6.0
* Wed Apr 10 2002 lslezak@suse.cz
- SuSE-8_0-Branch merged to the head
* Tue Mar 05 2002 dmeszar@suse.cz
- fixed #13284 (partially overlapped horizontal scrollbar)
* Fri Feb 22 2002 dmeszar@suse.cz
- fixed #13661 (empty values)
* Mon Feb 18 2002 dmeszar@suse.cz
- skip .probe.status
* Tue Feb 05 2002 dmeszar@suse.cz
- shows 'modules' entry of some devices in more readable form
* Tue Dec 18 2001 dmeszar@suse.cz
- 3rd param for 'select', fixed specfile
* Fri Nov 09 2001 dmeszar@suse.cz
- changes due to new libycp implemented
* Mon Sep 10 2001 dmeszar@suse.cz
- bug #10332 fixed (label for monitor)
* Wed Aug 08 2001 dmeszar@suse.cz
- now arrows are used as a fallback for list items.
each item should have reasonable label.
- documented & formated sources
* Tue Jul 31 2001 dmeszar@suse.cz
- model or device_name (if presesnt) is used instead of arrows in lists
* Tue Jul 31 2001 dmeszar@suse.cz
- more info on cpu added
* Mon Jul 30 2001 dmeszar@suse.cz
- show processor description
- list members are shown not with index but with descprition inside,
or with arrow
* Mon Jul 23 2001 dmeszar@suse.cz
- added yast2-agent-probe to rpm 'requires' entry
* Fri May 11 2001 kkaempf@suse.de
- use bzip2 for packaging
* Fri May 04 2001 dmeszar@suse.cz
- abort button for stopping immediatelly, entries translation,
close button instead of next/abort
- class_id, sub_class_id translated
* Tue Apr 24 2001 dmeszar@suse.cz
- menuentry fixed, occasional division by zero fixed
* Thu Apr 05 2001 dmeszar@suse.cz
- initial version