File yast2-dirinstall.spec of Package yast2-dirinstall

#
# spec file for package yast2-dirinstall (Version 2.17.2)
#
# 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-dirinstall
Version:        2.17.2
Release:        1
License:        GPL v2 or later
Group:          System/YaST
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        yast2-dirinstall-2.17.2.tar.bz2
Prefix:         /usr
# Installation::dirinstall_target
Requires:       yast2 >= 2.16.7
# Package-split
Requires:       yast2-packager >= 2.16.3
Requires:       yast2 yast2-country yast2-mouse yast2-runlevel autoyast2-installation
BuildRequires:  yast2 >= 2.16.7
BuildRequires:  perl-XML-Writer update-desktop-files yast2-devtools yast2-testsuite
#BuildRequires:	docbook-xsl-stylesheets doxygen libxslt sgml-skel
Provides:       /usr/share/YaST2/clients/dirinstall.ycp
BuildArch:      noarch
Summary:        YaST2 - Installation into Directory

%description
This package contains scripts for installing a new system into separate
directory.



Authors:
--------
    Klaus Kaempf <kkaempf@suse.de>
    Stefan Schubert <schubi@suse.de>
    Arvin Schnell <arvin@suse.de>
    Ladislav Slezak <lslezak@suse.cz>

%prep
%setup -n yast2-dirinstall-2.17.2

%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/dirinstall
/usr/share/YaST2/include/dirinstall/*
/usr/share/YaST2/clients/*.ycp
/usr/share/YaST2/modules/*
%{prefix}/share/applications/YaST2/*.desktop
%dir /usr/share/YaST2/control
/usr/share/YaST2/control/*.xml
%doc %{prefix}/share/doc/packages/yast2-dirinstall
%changelog
* Mon Nov 24 2008 locilka@suse.cz
- Fixed control file textdomain (bnc #446123).
- 2.17.2
* Mon Nov 24 2008 lslezak@suse.cz
- a missing submit caused unfunctial module (bnc#447895)
- 2.17.1
* Thu Sep 04 2008 visnov@suse.cz
- adapt to SlideShow API changes
* Fri Jun 27 2008 lslezak@suse.cz
- do not initialize ProductControl in the DirInstall constructor
  (bnc#400782)
- 2.17.0
* Fri May 16 2008 jsrain@suse.cz
- added categories Settings and System into desktop file
  (bnc #382778)
* Wed Apr 23 2008 lslezak@suse.cz
- install all available products, base product flag has been
  dropped (similar problem to bnc#359538)
- 2.16.3
* Fri Apr 18 2008 lslezak@suse.cz
- do not create a copy of the installation source
- select a product for installation - preselect dependent patterns
- do not store the config when abort is pressed
- code clean up (bnc#379154)
- 2.16.2
* Fri Apr 11 2008 jsrain@suse.cz
- added possiblity to load software selection from AutoYaST profile
  (fate #302501)
- 2.16.1
* Mon Mar 17 2008 jsrain@suse.cz
- added 'StartupNotify=true' to the desktop file (bnc #304964)
* Mon Nov 05 2007 locilka@suse.cz
- Initial version created by splitting from yast2-packager
- 2.16.0
openSUSE Build Service is sponsored by