File instlux.spec of Package instlux

#
# spec file for package instlux (Version 11.1_SVN62)
#
# 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:           instlux
Summary:        Windows openSUSE installer
%define distroversion 11_1
Url:            http://en.opensuse.org/Instlux
Version:        11.1_SVN62
Release:        12
License:        GPL v2 or later
Group:          Metapackages
AutoReqProv:    off
Recommends:     instlux-net
Recommends:     instlux-local
Source0:        instlux-SVN62.tar.bz2
Source1:        openSUSE%{distroversion}_LOCAL.exe
Source2:        openSUSE%{distroversion}_NET.exe
Source6:        %name-README.BUILD
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86 x86_64

%description
Find your place in the Linux world by upgrading your windows to a Linux
system the easiest possible way: running an installer on your Windows.

This package as meta package contains the instlux CD content.



Authors:
--------
    Jordi Massaguer

%package net
Summary:        Network openSUSE installer for Windows
Group:          Metapackages
License:        GPL v2 or later

%description net
Find your place in the Linux world by upgrading your windows to a Linux
system the easiest possible way: running an installer on your Windows.

This package as meta package contains the instlux CD content for
installing an openSUSE system over the network.



Authors:
--------
    Jordi Massaguer

%package local
Summary:        Local openSUSE installer for Windows
Group:          Metapackages
License:        GPL v2 or later

%description local
Find your place in the Linux world by upgrading your windows to a Linux
system the easiest possible way: running an installer on your Windows.

This package as meta package contains the instlux CD content for
installation from a local media.



Authors:
--------
    Jordi Massaguer

%prep

%build

%install
# create a short README for the pseudo main package
mkdir -p %buildroot%_defaultdocdir/%name/
cat > %buildroot%_defaultdocdir/%name/README << EOF
Instlux allows a windows user start installing openSUSE from Windows, without
configuring the BIOS.
Instlux is based on Marc Herberts web page[1] and was started as a
sourceforge.net[2] project on October 2005.
Instlux is included in openSUSE since 10.3. 
[1]: http://marc.herbert.free.fr/linux/win2linstall.html
[2]: http://instlux.svn.sourceforge.net/
Have a lot of fun!
EOF
install -m644 %{S:6} %buildroot%_defaultdocdir/%name/README.BUILD
mkdir -p %buildroot/CD1
install -m644 %{S:1} %buildroot/CD1/openSUSE%{distroversion}_LOCAL.exe
install -m644 %{S:2} %buildroot/CD1/openSUSE%{distroversion}_NET.exe

%clean
rm -rf %buildroot

%files 
%defattr(-, root, root)
%dir %_defaultdocdir/%name
%doc %_defaultdocdir/%name/*

%files local
%defattr(-, root, root)
%dir /CD1
/CD1/openSUSE%{distroversion}_LOCAL.exe

%files net
%defattr(-, root, root)
%dir /CD1
/CD1/openSUSE%{distroversion}_NET.exe

%changelog
* Thu Nov 06 2008 ro@suse.de
- drop noarch, makes no sense in combination with ExclusiveArch
* Thu Nov 06 2008 pgajdos@suse.cz
- adjusted labels 11.0 -> 11.1 [bnc#442271]
* Thu Sep 18 2008 lrupp@suse.de
- split of into instlux-net and instlux-local to avoid ugly hacks
  during media creation (we need only one of the files there)
- remove unneeded sources
- make it noarch for now as it contains prebuild windows binaries
* Tue Jul 29 2008 pgajdos@suse.cz
- openSUSE 11.1, from now on:
- restores custom timeout [bnc#402682]
- uses "C:\windows\system32\bcdedit.exe" command instead of "bcdedit"
  [bnc#395675]
* Mon Dec 03 2007 ssommer@suse.de
- updated instlux to r62:
  o openSUSE 11.0
  o grub4dos sources are now part of the instlux tarball
  o hungarian translation
  o all patches are included now
* Fri Sep 14 2007 ssommer@suse.de
- fix installation when there is a XP and Vista installation and
  the system is set up to boot the XP partition (#310575)
- add forgotten hungarian translation
* Mon Aug 27 2007 ssommer@suse.de
- avoid error message after successfully copying the initrd
* Wed Aug 08 2007 ssommer@suse.de
- remove (unused) cs89x0 driver sources because they may only be
  distributed with the Etherbootpackage (#294857)
* Thu Aug 02 2007 ssommer@suse.de
- update instlux to r43:
  o changed language selection dialog title to NAME_VERSION: Select language
  o changed language selection dialog description to Please select a
  language for the NAME_VERSION Installer
  o description for the installation options
  (#293017)
  o display the uninstaller in the language that has been selected
  during the installation (#296415)
* Tue Jul 24 2007 lrupp@suse.de
- initial version
openSUSE Build Service is sponsored by