File yast2-add-on.spec of Package yast2-add-on
#
# spec file for package yast2-add-on (Version 2.17.11)
#
# 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-add-on
Version: 2.17.11
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-add-on-2.17.11.tar.bz2
Prefix: /usr
Requires: autoyast2-installation
# WorkflowManager module
Requires: yast2 >= 2.15.22
Requires: yast2-installation
Requires: yast2-country
# repositories_include.ycp
Requires: yast2-packager >= 2.16.47
# bugzilla #335582, new API for StorageDevices
Requires: yast2-storage >= 2.16.1
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-installation yast2-packager yast2-storage yast2-testsuite
BuildRequires: yast2 >= 2.15.22
# splitted from yast2-installation
Provides: yast2-installation:/usr/share/YaST2/clients/vendor.ycp
Provides: yast2-installation:/usr/share/YaST2/clients/add-on.ycp
# SCR::RegisterNewAgents, bugzilla #245508
Conflicts: yast2-core < 2.15.4
# Pkg::SourceProvideSignedFile Pkg::SourceProvideDigestedFile
Conflicts: yast2-pkg-bindings < 2.17.25
BuildArch: noarch
Summary: YaST2 - Add-On media installation code
%description
This package contains YaST Add-On media installation code.
Authors:
--------
Jiri Srain <jsrain@suse.cz>
Lukas Ocilka <locilka@suse.cz>
%prep
%setup -n yast2-add-on-2.17.11
%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/add-on
/usr/share/YaST2/include/add-on/*
/usr/share/YaST2/clients/add-on.ycp
/usr/share/YaST2/clients/add-on_*.ycp
/usr/share/YaST2/clients/inst_add-on*.ycp
/usr/share/YaST2/clients/inst_*_add-on*.ycp
/usr/share/YaST2/clients/vendor.ycp
#/usr/share/YaST2/modules/*.ycp
#/usr/share/YaST2/modules/*.ybc
%{prefix}/share/applications/YaST2/*.desktop
/usr/share/YaST2/schema/autoyast/rnc/add-on.rnc
%doc %{prefix}/share/doc/packages/yast2-add-on
%changelog
* Tue Nov 18 2008 locilka@suse.cz
- Listing only type=="addon" products (bnc #441984).
- Informing user what is going to happen after removing an add-on
product (bnc #441984).
- 2.17.11
* Fri Nov 07 2008 locilka@suse.cz
- Checking download files signatures (bnc #409927).
- 2.17.10
* Wed Nov 05 2008 locilka@suse.cz
- Always refreshing and loading the newly added source
(bnc #441380).
- 2.17.9
* Tue Nov 04 2008 locilka@suse.cz
- Hiding back button instead of disabling it (acccording to YaST
Style Guide) (bnc #440565).
- 2.17.8
* Mon Nov 03 2008 locilka@suse.cz
- Make `cancel behave like `abort (bnc #439435).
- 2.17.7
* Tue Oct 14 2008 locilka@suse.cz
- Add-Ons AutoYaST client now sets the product name if found by
RepositoryScan (bnc #434708).
- Repository name defined in AutoYaST profile is preferred
(bnc #433981).
- Using [OK] button to accept the AutoYaST configuration overview
dialog (bnc #427407).
- 2.17.6
* Wed Oct 01 2008 locilka@suse.cz
- Changed texts (bnc #431177).
- 2.17.5
* Tue Sep 30 2008 locilka@suse.cz
- Support for commandline: "help", "longhelp", and "xmlhelp"
(bnc #430852).
- 2.17.4
* Mon Sep 08 2008 locilka@suse.cz
- merged texts from proofread
- 2.17.3
* Fri Aug 15 2008 locilka@suse.cz
- Finished deinstallation of Add-On (FATE #300654).
- 2.17.2
* Tue Jul 22 2008 coolo@suse.de
- revert again
* Tue Jul 22 2008 ro@suse.de
- temporarily remove conflicts with older yast2-pkg-bindings
to have alpha1 installable
* Fri Jun 27 2008 locilka@suse.cz
- Implemented Add-Ons overview (FATE #303588).
- Implemented deinstallation of Add-On (FATE #300654).
- 2.17.1
* Tue Jun 17 2008 lslezak@suse.cz
- use Pkg::SourceSaveAll() instead of Pkg::SourceFinishAll()
(bnc#395738)
- 2.17.0
* Thu May 22 2008 locilka@suse.cz
- Readded managing AddOnProduct::add_on_products (list of used
Add-On products) when a new Add-On is used (bnc #393620).
- 2.16.8
* Wed May 21 2008 locilka@suse.cz
- Adjusting AddOnProduct::src_id to the latest source ID added.
It is needed for downloading the product workflow and
registration to proceed (bnc #393011).
- 2.16.7
* Mon May 19 2008 locilka@suse.cz
- Re-enabling SLP and Community Repositories for Add-Ons
(bnc #392083).
- 2.16.6
* Fri May 16 2008 jsrain@suse.cz
- added categories Settings and System into desktop file
(bnc #382778)
* Thu May 15 2008 locilka@suse.cz
- Using functions for adding repositories exported by the
yast2-packager to unify the offered types of repositories
(bnc #368207).
- Updated RPM dependencies.
- 2.16.5
* Wed May 14 2008 ug@suse.de
- ask for add-on source when ask_on_error is set
- 2.16.4
* Mon Apr 14 2008 locilka@suse.cz
- Unified Button Labels: OK instead of Accept (fate #120373).
- 2.16.3
* Tue Apr 01 2008 jsrain@suse.cz
- merged texts from proofread
- 2.16.2
* Mon Mar 17 2008 jsrain@suse.cz
- added 'StartupNotify=true' to the desktop file (bnc #304964)
* Tue Nov 20 2007 locilka@suse.cz
- Displaying busy-message when removing add-on (#305807).
- 2.16.1
* Mon Nov 19 2007 locilka@suse.cz
- Fixed / unified used terminology (repositories) (FATE #302970).
* Wed Oct 24 2007 locilka@suse.cz
- Changes in StorageDevices module API (#335582).
- 2.16.0
* Thu Oct 11 2007 locilka@suse.cz
- List Product Name, then Product URL instead if vice versa
(#332837).
* Mon Sep 24 2007 locilka@suse.cz
- Do not ask whether to install packages in the inst-sys (#327742).
- 2.15.17
* Mon Sep 24 2007 locilka@suse.cz
- Calling Pkg::SourceReleaseAll(); after a new Add-On is used and
completely merged (#293428 c#44).
- 2.15.16
* Wed Sep 05 2007 locilka@suse.cz
- NotEnoughMemory-functions moved to a separate misc.ycp include
file to make them possible to be used from packager (#305554).
- Skipping Add-Ons when requested by user (#305554).
- Adjusted RPM dependencies.
- 2.15.15
* Wed Aug 29 2007 locilka@suse.cz
- Using new Wizard window without installation steps displayed when
adding new Add-On. Dialog help is visible immediately. Restoring
dialog buttons when redrawing list of used Add-Ons (#305788).
- Requesting confirmation when user wants to delete already added
Add-On (#305802).
- Not skipping to the "Add-On Product Media" dialog in case of
going_back in the installation workflow even if there is not
Add-On in use yet (#305809).
- Disabling [ Next ] button in Media Selection dialog unless some
media type is selected (#305850).
- 2.15.14
* Mon Aug 27 2007 locilka@suse.cz
- Adjusting Add-On's name if set in SourceDialogs when adding it
during installation and on a running system (#304659).
- 2.15.13
* Wed Aug 22 2007 locilka@suse.cz
- Disabled [ Back ] button and using [ Cancel ] instead of
[ Abort ] button in the "New Add-On" dialog (#298052).
- Do not ask whether to abort the Add-On configuration when
[ Cancel ] clicked in installation, just return to the previous
dialog (#298052).
- 2.15.12
* Mon Aug 06 2007 locilka@suse.cz
- Fixed text by proofreading.
- 2.15.11
* Fri Jun 22 2007 locilka@suse.cz
- Added a code checking for open/closed dialogs after Pkg bindings
were called to use a new Add-On product.
- 2.15.10
* Fri Jun 01 2007 locilka@suse.cz
- Fixed Add-On client to provide command-line again. Providing
"help" and "longhelp" (#279074).
- Fixed Add-On workflow to store the "PRODUCT" tag from content
file for later usage in AutoYaST cloning (#279893).
- 2.15.9
* Fri May 25 2007 jsrain@suse.cz
- removed outdated translations from .desktop-files (#271209)
* Mon May 14 2007 jsrain@suse.cz
- Fixed Add-Ons in AutoYaST Write function to Integrate all Add-Ons
via AddOnProduct::Integrate (#260613).
- 2.15.8
* Wed May 02 2007 locilka@suse.cz
- CommandLine interface (no support reported) for add-on (#269886)
- CommandLine interface (no support reported) for vendor (#269911)
- 2.15.7
* Wed Apr 04 2007 ug@suse.de
- signature checks for individual add-ons for autoyast
* Fri Mar 30 2007 locilka@suse.cz
- Reporting Low-Memory issue during installation on machines with
less than 384 MB (-5%%) of total memory (together with available
swap). User is warned not to use Add-Ons in such case (bugzilla
[#239630]).
- Skipping the first table listing Add-Ons if no Add-Ons are in
use. The first dialog is then Selecting the Add-On (FATE
[#301928]).
- Adjusted RPM dependencies
- 2.15.6
* Wed Mar 28 2007 locilka@suse.cz
- Adjusted to use WorkflowManager instead of AddOnProduct module
in some cases (for FATE #129).
- Adjusted RPM requirements and BuildRequires.
- 2.15.5
* Tue Mar 13 2007 locilka@suse.cz
- Redraw Wizard steps when Add-Ons are changed in the installation
proposal. This change allows to reflect the current workflow look
just after the workflow change is made (#254035).
- Adjusted RPM dependencies (yast2-packager).
- 2.15.4
* Mon Mar 05 2007 locilka@suse.cz
- Moving AddOnProduct module back to yast2-installation because
this module is needed in the second-stage installation.
- AddOnProduct-related testsuites moved back to yast2-installation.
- 2.15.3
* Mon Feb 26 2007 locilka@suse.cz
- Fixing RPM spec file to properly cover all files included in it.
- 2.15.2
* Fri Feb 23 2007 locilka@suse.cz
- Fixed registering new agents when y2update is part of the Add-On
media (#245508) also for mode "update" and "autoinstallation"
by using Stage::initial only (#247892).
- 2.15.1
* Thu Feb 22 2007 locilka@suse.cz
- Added forgotten inst_add-on and inst_language_add-on client from
yast2-installation.
- Added autoyast2-installation into Requires because of the second
stage installation.
- Added forgotten testsuites from yast2-installation.
- Fixed paths to included files and textdomain.
* Fri Feb 16 2007 locilka@suse.cz
- Registering new agents when y2update is part of the Add-On media,
some agents might have been added (#245508).
* Fri Feb 16 2007 locilka@suse.cz
- initial version split from yast2-installation-2.15.8 to
minimize required packages (#238673).
- 2.15.0