File yast2-iscsi-server.spec of Package yast2-iscsi-server

#
# spec file for package yast2-iscsi-server (Version 2.18.2)
#
# 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:           yast2-iscsi-server
Version:        2.18.2
Release:        1
License:        GPL v2 or later
Group:          System/YaST
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        yast2-iscsi-server-2.18.2.tar.bz2
Prefix:         /usr
BuildRequires:  docbook-xsl-stylesheets doxygen libxslt perl-XML-Writer popt-devel sgml-skel update-desktop-files yast2 yast2-devtools yast2-packagemanager-devel yast2-perl-bindings yast2-testsuite
# network needs Wizard::OpenCancelOKDialog()
#  function from yast2-2.18.2
Requires:       yast2 >= 2.18.2
BuildArch:      noarch
Summary:        YaST2 - Configuration of iSCSI target

%description
Configuration of iSCSI target



%prep
%setup -n yast2-iscsi-server-2.18.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/iscsi-server
/usr/share/YaST2/include/iscsi-server/*
/usr/share/YaST2/clients/iscsi-server.ycp
/usr/share/YaST2/clients/iscsi-server_*.ycp
/usr/share/YaST2/modules/IscsiServer*
%{prefix}/share/applications/YaST2/iscsi-server.desktop
/usr/share/YaST2/scrconf/ietd.scr
%doc %{prefix}/share/doc/packages/yast2-iscsi-server
%changelog
* Mon Mar 09 2009 mzugec@suse.cz
- correctly work with firewall (bnc#462006)
- 2.18.2
* Tue Mar 03 2009 mzugec@suse.cz
- handle exceptions - thanks to ajohansson@novell.com (bnc#481379)
- 2.18.1
* Mon Jan 26 2009 mzugec@suse.cz
- button labeling (bnc#440542)
- 2.18.0
* Fri Dec 05 2008 mzugec@suse.cz
- align button (bnc#447558)
- 2.17.4
* Mon Nov 10 2008 mzugec@suse.cz
- fixed iSNS option problem (bnc#442670)
- 2.17.3
* Mon Sep 29 2008 mzugec@suse.de
- fixed menu category for gnome (bnc#429431)
- 2.17.2
* Mon Sep 08 2008 mzugec@suse.cz
- proofread
- 2.17.1
* Fri Sep 05 2008 mzugec@suse.cz
- changed rpm description
* Fri May 16 2008 jsrain@suse.cz
- added categories Settings and System into desktop file
  (bnc #382778)
* Mon Mar 17 2008 jsrain@suse.cz
- added 'StartupNotify=true' to the desktop file (bnc #304964)
- 2.16.1
* Sun Feb 24 2008 mzugec@suse.de
- check if network is running
- 2.16.0
* Thu Jan 10 2008 mzugec@suse.cz
- added iSNS support (FaTE #302083)
- 2.14.4
* Fri Nov 09 2007 mzugec@suse.cz
- fixed description in file dialogs
* Tue Mar 06 2007 mzugec@suse.cz
- iscsi-server writes to stdout (#250628)
* Wed Feb 07 2007 mzugec@suse.de
- disable edit and delete buttons in empty table (#241804)
- 2.14.3
* Tue Feb 06 2007 mzugec@suse.de
- remove spaces as separators between parameters in /etc/ietd.conf (#239555)
- 2.14.2
* Mon Jan 15 2007 mzugec@suse.cz
- fate #300631 - Support Several LUNs for Target
* Thu Jun 01 2006 mzugec@suse.cz
- fixed #180205 - because of gettext problem,
  one string wasn't mark for translation
- 2.14.0
* Fri May 19 2006 mzugec@suse.cz
- fixed #177060 incorrect storing data between dialogs
* Thu May 18 2006 mzugec@suse.cz
- fixed #176724 - duplicates configuration entry
* Thu May 18 2006 mzugec@suse.cz
- fixed #148968 - do not restart unchanged targets
* Wed May 17 2006 mzugec@suse.cz
- fixed #176186 - service status after YaST2 exit
* Tue May 09 2006 mzugec@suse.cz
- fixed #173818 - support for autoyast
* Mon Apr 24 2006 mzugec@suse.cz
- fixed #168732 - deleted values from auth are stored
* Mon Apr 24 2006 mzugec@suse.cz
- comments, logs, testsuite
* Tue Apr 11 2006 mzugec@suse.cz
- fixed #157643 - reload server
* Fri Apr 07 2006 mzugec@suse.cz
- fixed #163999 - iscsi target - identifier contains '\n'
* Wed Apr 05 2006 mzugec@suse.cz
- fixed #157648 - when modify target, can edit LUN
* Wed Apr 05 2006 mzugec@suse.cz
- fixed #163299 - Iscsi->iSCSI
* Wed Apr 05 2006 mzugec@suse.cz
- fixed #158546 cannot set the same user/pass fot incoming and outgoing auth
* Thu Mar 23 2006 mzugec@suse.cz
- fixed #160315 - check if user is root
* Tue Mar 21 2006 mzugec@suse.cz
- changed group to Net_advanced
* Fri Mar 17 2006 mzugec@suse.cz
- fixed #158540 - hide passwords
* Thu Mar 16 2006 mzugec@suse.cz
- fixed #158538 - write before restart server
* Tue Mar 14 2006 mzugec@suse.cz
- fixed #157645 LUN counting starts from zero
* Tue Mar 14 2006 mzugec@suse.cz
- fixed #157653 - use UUID with iqn
* Mon Mar 06 2006 mzugec@suse.cz
- #155273 - IscsiServer -> Iscsi Target
* Fri Feb 24 2006 mzugec@suse.cz
- fixed #152916 - immediately write configuration in Write()
* Tue Feb 21 2006 mzugec@suse.cz
- workarround for #148968 - warning before restart server, proofread
* Fri Feb 17 2006 mzugec@suse.cz
- fixed #149050 - enable/disable firewall
* Wed Feb 15 2006 mzugec@suse.cz
- improved #148971 - remove \n
* Tue Feb 14 2006 mzugec@suse.cz
- fixed #148971 - offer iqn
* Thu Feb 09 2006 mzugec@suse.cz
- fixed #149034 - service start
* Mon Feb 06 2006 mvidner@suse.cz
- Authentication fix (mzugec)
- 2.13.4
* Tue Jan 31 2006 mzugec@suse.cz
- new dialogs
* Mon Jan 23 2006 mzugec@suse.cz
- fixed general params
* Mon Jan 16 2006 mzugec@suse.cz
- changed specfile
* Mon Jan 16 2006 mzugec@suse.cz
- without write, without modify
* Wed Jan 11 2006 mzugec@suse.cz
- initial version
openSUSE Build Service is sponsored by