checked in (request 29584)

OBS-URL: https://build.opensuse.org/package/show/YaST:Head/autoyast2?expand=0&rev=24
This commit is contained in:
OBS User autobuild 2010-01-14 21:30:13 +00:00 committed by Git OBS Bridge
parent 3799c744c3
commit 4dedd67231
4 changed files with 53 additions and 83 deletions

3
autoyast2-2.19.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:51439ed3d049af6b06515e1a131274491280a40cc27dc57d3a0f2f048b2ea290
size 1240632

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7c722ae978e979750b9f4a7c71da8c57a89c6ff0406f318648d7745b5b7b68c
size 1220865

View File

@ -1,15 +1,3 @@
-------------------------------------------------------------------
Thu Jan 14 15:05:16 CET 2010 - ug@suse.de
- autoyast=label://LABEL/PATH implemented (fate#308525)
- 2.19.1
-------------------------------------------------------------------
Wed Dec 23 11:30:12 CET 2009 - ug@suse.de
- merged the code for autoyast=device and autoyast=usb to reduce
redundancy and fix the "already mounted" bug for USB (bnc#565558)
-------------------------------------------------------------------
Wed Dec 16 18:44:20 CET 2009 - aschnell@suse.de

View File

@ -1,43 +1,47 @@
#
# spec file for package autoyast2 (Version 2.19.1)
# spec file for package autoyast2 (Version 2.19.0)
#
# 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: autoyast2
Version: 2.19.1
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: autoyast2-2.19.1.tar.bz2
prefix: /usr
Group: System/YaST
License: GPL v2 or later
BuildRequires: java2-devel-packages yast2-mouse yast2-transfer yast2-bootloader xorg-x11-libs yast2-devtools pkg-config libxslt perl-XML-Writer docbook-xsl-stylesheets sgml-skel yast2-testsuite update-desktop-files yast2-country yast2-slp
Name: autoyast2
Version: 2.19.0
Release: 1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: autoyast2-2.19.0.tar.bz2
Prefix: /usr
Group: System/YaST
License: GPLv2+
BuildRequires: docbook-xsl-stylesheets java2-devel-packages libxslt perl-XML-Writer pkg-config sgml-skel update-desktop-files xorg-x11-libs yast2-bootloader yast2-country yast2-devtools yast2-mouse yast2-slp yast2-testsuite yast2-transfer
# API for Disabled Modules (ProductControl)
BuildRequires: yast2 >= 2.16.36
BuildRequires: yast2 >= 2.16.36
# After API cleanup
BuildRequires: yast2-update >= 2.18.3
BuildRequires: yast2-storage >= 2.19.2
Requires: yast2 >= 2.16.36
Requires: yast2-core yast2-xml libxslt
Requires: autoyast2-installation = %{version}
Requires: yast2-schema yast2 yast2-country yast2-storage
Requires: yast2-storage >= 2.19.2
Provides: yast2-module-autoinst yast2-config-autoinst
Obsoletes: yast2-module-autoinst yast2-config-autoinst
Provides: yast2-lib-autoinst
Obsoletes: yast2-lib-autoinst
PreReq: %insserv_prereq %fillup_prereq
BuildArchitectures: noarch
Summary: YaST2 - Automated Installation
BuildRequires: yast2-update >= 2.18.3
Requires: yast2 >= 2.16.36
Requires: yast2-core yast2-xml libxslt
Requires: autoyast2-installation = %{version}
Requires: yast2-schema yast2 yast2-country yast2-storage
Provides: yast2-module-autoinst yast2-config-autoinst
Obsoletes: yast2-module-autoinst yast2-config-autoinst
Provides: yast2-lib-autoinst
Obsoletes: yast2-lib-autoinst
PreReq: %insserv_prereq %fillup_prereq
BuildArch: noarch
Summary: YaST2 - Automated Installation
%description
This package is intended for management of the control files and the
@ -50,31 +54,32 @@ This file contains YaST2-independent files needed to create
installation sources.
%package installation
Version: 2.19.1
Summary: YaST2 - Auto Installation Modules
Group: System/YaST
License: GPLv2+
Version: 2.19.0
Release: 1
Summary: YaST2 - Auto Installation Modules
Group: System/YaST
# API for Disabled Modules (ProductControl)
Requires: yast2 >= 2.16.36
Requires: yast2 >= 2.16.36
# After API cleanup
Requires: yast2-update >= 2.18.3
Requires: yast2-xml yast2-core yast2 yast2-country yast2-mouse yast2-packager yast2-storage yast2-transfer yast2-slp
Provides: yast2-trans-autoinst
Obsoletes: yast2-trans-autoinst
Requires: yast2-update >= 2.18.3
Requires: yast2-xml yast2-core yast2 yast2-country yast2-mouse yast2-packager yast2-storage yast2-transfer yast2-slp
Provides: yast2-trans-autoinst
Obsoletes: yast2-trans-autoinst
%description installation
This package performs auto-installation relying on a control file
generated with the autoyast2 package.
%prep
%setup -n autoyast2-2.19.1
%setup -n autoyast2-2.19.0
%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}
# V=1: verbose build in case we used AM_SILENT_RULES(yes)
@ -91,11 +96,9 @@ for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desk
d=${f##*/}
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done
for d in `ls $RPM_BUILD_ROOT/usr/share/autoinstall/modules/*.desktop`; do
%suse_update_desktop_file $d
done
# Class conf
install -d -m 700 $RPM_BUILD_ROOT/etc/autoinstall
# Installation files
@ -104,7 +107,6 @@ install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/init.d
install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/logs
install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/files
install -d -m 700 $RPM_BUILD_ROOT/var/adm/autoinstall/cache
# Repository
install -d $RPM_BUILD_ROOT/var/lib/autoinstall/repository
install -d $RPM_BUILD_ROOT/var/lib/autoinstall/repository/templates
@ -119,7 +121,6 @@ rm -rf "$RPM_BUILD_ROOT"
%post
%{fillup_only -n autoinstall}
%files
%defattr(-,root,root)
%dir /etc/autoinstall
@ -130,8 +131,6 @@ rm -rf "$RPM_BUILD_ROOT"
%dir /var/lib/autoinstall/repository/classes
%dir /var/lib/autoinstall/tmp
%doc %{prefix}/share/doc/packages/autoyast2
%{prefix}/share/applications/YaST2/autoyast.desktop
/usr/share/autoinstall/modules/*.desktop
/usr/share/YaST2/include/autoinstall/classes.ycp
@ -143,7 +142,6 @@ rm -rf "$RPM_BUILD_ROOT"
/usr/share/YaST2/include/autoinstall/wizards.ycp
/usr/share/YaST2/include/autoinstall/helps.ycp
/usr/share/YaST2/schema/autoyast/rnc/*.rnc
/usr/share/YaST2/clients/general_auto.ycp
/usr/share/YaST2/clients/report_auto.ycp
/usr/share/YaST2/clients/classes_auto.ycp
@ -153,21 +151,13 @@ rm -rf "$RPM_BUILD_ROOT"
/usr/share/YaST2/clients/autoyast.ycp
/usr/share/YaST2/clients/clone_system.ycp
/usr/share/YaST2/clients/ayast_setup.ycp
/usr/share/YaST2/scrconf/ksimport.scr
/usr/share/YaST2/modules/AutoinstClass.y*
/usr/share/YaST2/modules/Kickstart.y*
/usr/lib/YaST2/servers_non_y2/ag_ksimport
# additional files
/var/adm/fillup-templates/sysconfig.autoinstall
%files installation
%defattr(-,root,root)
/usr/share/YaST2/scrconf/autoinstall.scr
@ -178,11 +168,9 @@ rm -rf "$RPM_BUILD_ROOT"
%dir /usr/share/autoinstall/modules
#/usr/share/autoinstall/dtd/*
/etc/init.d/autoyast
%dir /usr/share/autoinstall/xslt
/usr/share/autoinstall/xslt/merge.xslt
# config file
/usr/share/YaST2/modules/AutoinstClone.y*
%dir /usr/share/YaST2/include/autoinstall
/usr/share/YaST2/include/autoinstall/autopart.ycp
@ -196,9 +184,7 @@ rm -rf "$RPM_BUILD_ROOT"
/usr/share/YaST2/include/autoinstall/common.ycp
/usr/share/YaST2/include/autoinstall/tree.ycp
/usr/share/YaST2/include/autoinstall/types.ycp
/usr/share/YaST2/control/*.xml
/usr/share/YaST2/modules/AutoInstall.y*
/usr/share/YaST2/modules/AutoinstScripts.y*
/usr/share/YaST2/modules/AutoinstGeneral.y*
@ -217,7 +203,6 @@ rm -rf "$RPM_BUILD_ROOT"
/usr/share/YaST2/modules/AutoinstDrive.y*
/usr/share/YaST2/modules/AutoinstPartPlan.y*
/usr/share/YaST2/modules/AutoinstPartition.y*
#clients
/usr/share/YaST2/clients/inst_autoinit.ycp
/usr/share/YaST2/clients/inst_autoimage.ycp
@ -232,8 +217,6 @@ rm -rf "$RPM_BUILD_ROOT"
/usr/share/YaST2/clients/ayast_probe.ycp
/usr/share/YaST2/include/autoinstall/xml.ycp
/usr/share/YaST2/include/autoinstall/ask.ycp
%dir /var/adm/autoinstall/
%dir /var/adm/autoinstall/scripts
%dir /var/adm/autoinstall/init.d
@ -242,5 +225,4 @@ rm -rf "$RPM_BUILD_ROOT"
%dir /var/adm/autoinstall/cache
%dir /var/lib/autoinstall
%dir /var/lib/autoinstall/autoconf
%changelog