Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1:Update
yast2-python-bindings
yast2-python-bindings.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yast2-python-bindings.spec of Package yast2-python-bindings
# # spec file for package yast2-python-bindings (Version 2.17.3) # # 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-python-bindings Version: 2.17.3 Release: 1 License: GPL v2 only Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-python-bindings-2.17.3.tar.bz2 Prefix: /usr BuildRequires: blocxx-devel curl-devel gcc-c++ libxcrypt-devel python-devel yast2-core-devel yast2-devtools yast2-ycp-ui-bindings-devel # YCPValue::valuetype_str() Requires: yast2-core >= 2.16.37 BuildRequires: yast2-core-devel >= 2.16.37 BuildRequires: yast2-ycp-ui-bindings-devel >= 2.16.37 Requires: yast2-ycp-ui-bindings >= 2.16.37 Requires: python Summary: Python bindings for the YaST platform. %description The bindings allow YaST modules to be written using the Python language and also Python scripts can use YaST agents, APIs and modules. Authors: -------- Jozef Uhliarik <juhliarik@suse.cz> %prep %setup -n yast2-python-bindings-2.17.3 %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 rm $RPM_BUILD_ROOT/%{_libdir}/YaST2/plugin/libpy2lang_python.la rm $RPM_BUILD_ROOT/%{_libdir}/python/site-packages/libYCP.la %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr (-, root, root) %{_libdir}/YaST2/plugin/libpy2lang_python.so.* %{_libdir}/YaST2/plugin/libpy2lang_python.so # libYCP goes elsewhere # %dir %{_libdir}/python %{_libdir}/python/site-packages %doc %{prefix}/share/doc/packages/yast2-python-bindings %changelog * Wed Sep 24 2008 visnov@suse.cz - y2debug is always logged (bnc#426554) - 2.17.3 * Tue Sep 09 2008 visnov@suse.cz - build with python 2.6 - 2.17.2 * Fri Jun 27 2008 juhliarik@suse.cz - added support for GET/SET variables in YCP module (bnc #402684) - 2.17.1 * Mon Feb 25 2008 juhliarik@suse.cz - Added support for creating known widget names in ycp module - V 2.16.6 * Thu Feb 21 2008 sh@suse.de - Added new UI packages to Requires/BuildRequires in .spec file - V 2.16.5 * Wed Feb 20 2008 sh@suse.de - New include path for YUIComponent.h - V 2.16.4 * Mon Jan 21 2008 juhliarik@suse.cz - Added pacth for bug#355064 - problem with SCR.Write - V 2.16.3 * Wed Dec 05 2007 juhliarik@suse.cz - Added patch for problem with handling error from python - Correction for handling adding None(nil) as argument to yast function - V 2.16.2 * Thu Nov 15 2007 juhliarik@suse.cz - Addded correction in makefile and for YCPDeclaration - V 2.16.1 * Wed Nov 14 2007 juhliarik@suse.cz - Adding solution for calling python function via reference - Adding support for calling YCode in Sequencer from python - Reimplementation SCR - V 2.16.0 * Sun Sep 09 2007 juhliarik@suse.cz - Adding support for calling SCR - Adding support for ycp types symbol, term, path - Adding support for calling UI from YaST - Added patch for bug #308213 and bug# 300909 - V 2.15.3 * Fri Aug 10 2007 mvidner@suse.cz - Finished integrating Feature #120292, UI as a namespace callable from yast2-*-bindings. - 2.15.2 * Mon Aug 06 2007 juhliarik@suse.cz - initial version V 2.15.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor