File yast2-libyui.spec of Package yast2-libyui
#
# spec file for package yast2-libyui (Version 2.17.14)
#
# 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-libyui
Version: 2.17.14
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-libyui-2.17.14.tar.bz2
Prefix: /usr
Source1: yast2-libyui-rpmlintrc
BuildRequires: gcc-c++
BuildRequires: yast2-devtools
# autodocs + docbook docs
BuildRequires: doxygen
BuildRequires: docbook-xsl-stylesheets libxslt
BuildRequires: sgml-skel
Conflicts: yast2-core < 2.16.38
# libyui ImplPtr
BuildRequires: boost-devel
Summary: YaST2 - User Interface Engine
Provides: %{_libdir}/libyui.so.3.0.0
%description
This is the YaST2 user interface engine that provides the abstraction
from graphical user interfaces (Qt, Gtk) and text based user interfaces
(ncurses).
This can be used independently of YaST2 for generic (C++) applications.
This package has very few dependencies.
Authors:
--------
Stefan Hundhammer <sh@suse.de>
%package devel
License: GPL v2 or later
Requires: yast2-libyui = %version
Group: System/YaST
Summary: YaST2 - Development Package for User Interface Engine
Requires: glibc-devel
Requires: libstdc++-devel
Requires: boost-devel
%description devel
This is the development package for the YaST2 user interface engine
that provides the abstraction from graphical user interfaces (Qt, Gtk)
and text based user interfaces (ncurses).
This can be used independently of YaST2 for generic (C++) applications.
This package has very few dependencies.
Authors:
--------
Stefan Hundhammer <sh@suse.de>
%prep
%setup -n yast2-libyui-2.17.14
%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
mkdir -p "$RPM_BUILD_ROOT"/var/log/YaST2
%perl_process_packlist
%clean
rm -rf "$RPM_BUILD_ROOT"
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root)
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{prefix}/include/YaST2
%{_libdir}/pkgconfig/yast2-libyui.pc
%dir %{_datadir}/cmake
%dir %{_datadir}/cmake/Modules
%{_datadir}/cmake/Modules/*
%doc %{prefix}/share/doc/packages/yast2-libyui
%changelog
* Wed Oct 15 2008 sh@suse.de
- Added `opt(`confirmUnsupported) for PackageSelector widget
(bnc #435479)
- V 2.17.14
* Thu Oct 09 2008 sh@suse.de
- Prevent segfault when deleting YEventFilters in YDialog dtor
- Prevent segfault in YEventFilter with default args
- V 2.17.13
* Fri Sep 26 2008 tgoettlicher@suse.de
- Fixed bnc #418443: Yast modules windows have no title
- V 2.17.12
* Wed Sep 24 2008 sh@suse.de
- Improved robustness against already-deleted widgets (bnc #421794)
- V 2.17.11
* Wed Sep 17 2008 sh@suse.de
- Fixed reverse layout (for Arabic, Hebrew) in YButtonBox
* Fri Sep 12 2008 sh@suse.de
- Improved resize behaviour of YDialogSpy
* Fri Sep 12 2008 sh@suse.de
- Added widget properties to YDialogSpy
- V 2.17.10
* Fri Sep 12 2008 sh@suse.de
- Now exporting more YWidget base class attributes as properties:
HWeight, VWeight, HStretch, VStretch
* Thu Sep 11 2008 sh@suse.de
- Added highlighting for target dialog in YDialogSpy
- V 2.17.9
* Wed Sep 10 2008 sh@suse.de
- Force [Help] button left-aligned in GNOME button order
* Tue Sep 09 2008 sh@suse.de
- Added YDialogSpy for interactive introspection of a widget tree
- V 2.17.8
* Tue Sep 09 2008 sh@suse.de
- Made YEvents more robust against attempts of duplicate deletion
- Stream output (logging) for YEvents
* Thu Sep 04 2008 sh@suse.de
- Allow ButtonBox sanity check to be relaxed (bnc #422612)
- V 2.17.7
* Thu Aug 21 2008 sh@suse.de
- Added YButtonBox widget (fate #303446)
- V 2.17.6
* Tue Jul 15 2008 sh@suse.de
- Implemented fate #303492: Multi selection for table widget
- V 2.17.5
* Fri Jul 11 2008 sh@suse.de
- Fixed bnc #367023: Keyboard shortcuts for non-ASCII languages
- V 2.17.4
* Tue Jul 08 2008 sh@suse.de
- Enable keyboard shortcuts for YDumbTab widgets (fate #304890)
- V 2.17.3
* Wed Jun 18 2008 sh@suse.de
- Introduced YEventFilter to improve support for higher-level
widgets that might send and need to handle internal events
- V 2.17.2
* Wed Jun 11 2008 sh@suse.de
- Introduced YUITerminator to make sure the UI is properly shut
down in all cases, regardless if called from YCP or plain C++
- V 2.17.1
* Wed May 28 2008 sh@suse.de
- Added YWizard::wizardMode() for bnc #393040
- V 2.16.48
* Wed Apr 30 2008 lslezak@suse.cz
- added repoMgrEnabled() method to YPackageSelector widget
(repository management is now optional) (bnc#381956)
- V 2.16.47
* Wed Apr 23 2008 sh@suse.de
- Fixed segfault when discarding events from foreign dialogs
(bnc #382771)
- V 2.16.46
* Wed Apr 16 2008 sh@suse.de
- Deleting events is now automatically handled by YDialog.
Simply remove all "delete event" calls.
- Introduced uiThreadDestructor() (bnc #346987)
- V 2.16.45
* Mon Apr 14 2008 sh@suse.de
- Added dialog type YWizardDialog for main dialogs that will
contain a wizard (equivalent to YMainDialog if
YApplication::hasWizardDialogSupport() returns false)
- V 2.16.44
* Fri Apr 11 2008 sh@suse.de
- Reverted last changes - sub-wizards seem to be a dead end
- V 2.16.43
* Thu Apr 10 2008 sh@suse.de
- Added support for docked sub-wizards
- V 2.16.42
* Thu Apr 03 2008 sh@suse.de
- Added YPushButton::setHelpButton() and isHelpButton()
- Automatically show topmost YWidget::helpText() when a help button
is activated
- V 2.16.41
* Tue Apr 01 2008 sh@suse.de
- Added "HelpText" property to YWidget for easier support of
YCP wizard layouts without permanent help panel (fate #303291)
* Thu Mar 20 2008 sh@suse.de
- Added standard file logger (when used independently of YaST2)
- V 2.16.40
* Wed Mar 05 2008 sh@suse.de
- Fixed bnc #365999: Shift-F7 affects only UI logging
- V 2.16.39
* Tue Mar 04 2008 sh@suse.de
- Conflict with yast2-core < 2.16.38 (before pkg split)
* Tue Feb 26 2008 sh@suse.de
- Added cmake support for dependent packages
- V 2.16.38
* Thu Feb 21 2008 sh@suse.de
- Package split off from yast2-core
- V 2.16.37