2007-01-04 17:31:23 +01:00
|
|
|
#
|
2010-04-20 02:22:28 +02:00
|
|
|
# spec file for package yast2-update (Version 2.19.0)
|
2010-04-20 02:22:27 +02:00
|
|
|
#
|
2010-04-20 02:22:28 +02:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2010-04-20 02:22:27 +02:00
|
|
|
#
|
|
|
|
# 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/
|
2007-01-04 17:31:23 +01:00
|
|
|
#
|
2010-04-19 10:54:48 +02:00
|
|
|
|
2010-04-20 02:22:27 +02:00
|
|
|
# norootforbuild
|
2010-04-19 10:54:48 +02:00
|
|
|
|
2008-03-21 05:16:06 +01:00
|
|
|
|
2010-04-20 02:22:27 +02:00
|
|
|
Name: yast2-update
|
2010-04-20 02:22:28 +02:00
|
|
|
Version: 2.19.0
|
2010-04-20 02:22:27 +02:00
|
|
|
Release: 1
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2010-04-20 02:22:27 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-04-20 02:22:28 +02:00
|
|
|
Source0: yast2-update-2.19.0.tar.bz2
|
|
|
|
|
2010-04-20 02:22:27 +02:00
|
|
|
Prefix: /usr
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2010-04-20 02:22:27 +02:00
|
|
|
Group: System/YaST
|
2010-04-20 02:22:28 +02:00
|
|
|
License: GPLv2+
|
|
|
|
BuildRequires: perl-XML-Writer update-desktop-files yast2-devtools yast2-testsuite
|
|
|
|
# FileSystems::possible_root_fs
|
|
|
|
BuildRequires: yast2-storage >= 2.19.12
|
2008-09-25 01:10:56 +02:00
|
|
|
# Packages::GetBaseSourceID
|
2010-04-20 02:22:27 +02:00
|
|
|
BuildRequires: yast2-packager >= 2.17.19
|
2008-04-14 21:49:42 +02:00
|
|
|
# Wizard::OpenOKDialog
|
2010-04-20 02:22:27 +02:00
|
|
|
BuildRequires: yast2 >= 2.16.49
|
2007-07-20 16:12:05 +02:00
|
|
|
# package not really needed to be installed but this breaks the building cycle
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2008-12-05 15:39:46 +01:00
|
|
|
# xmllint
|
2010-04-20 02:22:27 +02:00
|
|
|
BuildRequires: libxml2
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2008-12-05 15:39:46 +01:00
|
|
|
# control.rng
|
2010-04-20 02:22:27 +02:00
|
|
|
BuildRequires: yast2-installation >= 2.17.44
|
2010-04-20 02:22:28 +02:00
|
|
|
|
|
|
|
# FileSystems::possible_root_fs
|
|
|
|
Requires: yast2-storage >= 2.19.12
|
2008-11-08 20:53:21 +01:00
|
|
|
# PackagesUI::RunPackageSelector
|
2010-04-20 02:22:27 +02:00
|
|
|
Requires: yast2 >= 2.17.40
|
|
|
|
Requires: yast2-installation
|
2008-10-09 20:01:50 +02:00
|
|
|
# Function SelectKernelPackages has been moved to Packages module (bnc #326269).
|
2010-04-20 02:22:27 +02:00
|
|
|
Requires: yast2-packager >= 2.17.27
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-02-16 08:05:35 +01:00
|
|
|
# moved into yast2-update from yast2-installation
|
|
|
|
# to remove dependency on yast2-storage
|
2010-04-20 02:22:27 +02:00
|
|
|
Provides: yast2-installation:/usr/share/YaST2/clients/vendor.ycp
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-02-26 11:54:00 +01:00
|
|
|
# Required only in inst-sys
|
|
|
|
# Requires: yast2-storage
|
2007-12-13 14:13:06 +01:00
|
|
|
# Requires: yast2-country
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-02-16 08:05:35 +01:00
|
|
|
# Pkg::PkgUpdateAll (map conf)
|
2010-04-20 02:22:27 +02:00
|
|
|
Conflicts: yast2-pkg-bindings < 2.15.11
|
2007-02-26 11:54:00 +01:00
|
|
|
# Storage::DeviceMatchFstab (#244117)
|
2010-04-20 02:22:27 +02:00
|
|
|
Conflicts: yast2-storage < 2.15.4
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2010-04-20 02:22:27 +02:00
|
|
|
Summary: YaST2 - Update
|
2007-10-31 16:48:48 +01:00
|
|
|
|
2007-07-25 23:11:00 +02:00
|
|
|
%package FACTORY
|
2010-04-20 02:22:28 +02:00
|
|
|
License: GPLv2+
|
2010-04-20 02:22:27 +02:00
|
|
|
Group: System/YaST
|
|
|
|
PreReq: %fillup_prereq
|
|
|
|
Requires: yast2-update yast2
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-07-25 23:11:00 +02:00
|
|
|
# moved into yast2-update from yast2-installation
|
|
|
|
# to remove dependency on yast2-storage
|
2010-04-20 02:22:27 +02:00
|
|
|
Provides: yast2-update:/usr/share/YaST2/clients/update.ycp
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2010-04-20 02:22:27 +02:00
|
|
|
Summary: YaST2 - Update
|
2007-01-04 17:31:23 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Use this component if you wish to update your system.
|
|
|
|
|
2007-07-25 23:11:00 +02:00
|
|
|
%description FACTORY
|
|
|
|
Use this component if you wish to update your system.
|
|
|
|
|
2007-01-04 17:31:23 +01:00
|
|
|
%prep
|
2010-04-20 02:22:28 +02:00
|
|
|
%setup -n yast2-update-2.19.0
|
2007-01-04 17:31:23 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%{prefix}/bin/y2tool y2autoconf
|
|
|
|
%{prefix}/bin/y2tool y2automake
|
|
|
|
autoreconf --force --install
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-01-04 17:31:23 +01:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-01-04 17:31:23 +01:00
|
|
|
%{?suse_update_config:%{suse_update_config -f}}
|
|
|
|
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
|
2009-09-10 12:58:39 +02:00
|
|
|
# V=1: verbose build in case we used AM_SILENT_RULES(yes)
|
|
|
|
# so that RPM_OPT_FLAGS check works
|
|
|
|
make %{?jobs:-j%jobs} V=1
|
2007-01-04 17:31:23 +01:00
|
|
|
|
|
|
|
%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)
|
|
|
|
%{prefix}/lib/YaST2/bin/*
|
|
|
|
/usr/share/YaST2/modules/*
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-07-25 23:11:00 +02:00
|
|
|
/usr/share/YaST2/clients/inst_rootpart.ycp
|
|
|
|
/usr/share/YaST2/clients/inst_update.ycp
|
|
|
|
/usr/share/YaST2/clients/inst_backup.ycp
|
|
|
|
/usr/share/YaST2/clients/rootpart_proposal.ycp
|
|
|
|
/usr/share/YaST2/clients/update_proposal.ycp
|
|
|
|
/usr/share/YaST2/clients/packages_proposal.ycp
|
|
|
|
/usr/share/YaST2/clients/backup_proposal.ycp
|
|
|
|
/usr/share/YaST2/clients/inst_update_partition.ycp
|
2007-12-13 14:13:06 +01:00
|
|
|
/usr/share/YaST2/clients/rootpart_check_keyboard.ycp
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-01-04 17:31:23 +01:00
|
|
|
/usr/share/YaST2/include/update
|
2007-07-25 23:11:00 +02:00
|
|
|
/usr/share/YaST2/include/update/rootpart.ycp
|
2010-04-20 02:22:28 +02:00
|
|
|
|
2007-01-04 17:31:23 +01:00
|
|
|
%doc %{prefix}/share/doc/packages/yast2-update
|
|
|
|
|
2007-07-25 23:11:00 +02:00
|
|
|
%files FACTORY
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{prefix}/share/applications/YaST2/update.desktop
|
2008-07-31 21:24:20 +02:00
|
|
|
%dir /usr/share/YaST2/control
|
2007-07-25 23:11:00 +02:00
|
|
|
/usr/share/YaST2/control/update.xml
|
|
|
|
/usr/share/YaST2/clients/update.ycp
|
2008-04-24 01:57:32 +02:00
|
|
|
/usr/share/YaST2/clients/run_update.ycp
|
2010-04-20 02:22:27 +02:00
|
|
|
%changelog
|