Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:12.2_ArchPorts
yast2-devtools
yast2-devtools.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yast2-devtools.spec of Package yast2-devtools
# # spec file for package yast2-devtools # # Copyright (c) 2012 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/ # Name: yast2-devtools Version: 2.23.0 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-devtools-%{version}.tar.bz2 BuildRequires: automake BuildRequires: docbook-xsl-stylesheets BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: libxslt BuildRequires: perl-XML-Writer BuildRequires: pkgconfig BuildRequires: sgml-skel Requires: libxslt Requires: perl Requires: perl-XML-Writer # we install our .pc under $prefix/share Requires: autoconf Requires: automake Requires: gettext-tools Requires: pkgconfig >= 0.16 Recommends: cmake # /usr/lib/YaST2/bin/ydoxygen needs it Recommends: doxygen # for svn builds of binary packages Recommends: libtool Provides: ycpdoc Provides: ydoc Obsoletes: ycpdoc Obsoletes: ydoc Provides: yast2-config-newmodule Provides: yast2-trans-newmodule Obsoletes: yast2-config-newmodule Obsoletes: yast2-trans-newmodule Summary: YaST2 - Development Tools License: GPL-2.0+ Group: System/YaST BuildArch: noarch %description Scripts and templates for developing YaST2 modules and components. Required for rebuilding the existing YaST2 modules and components (both YCP and C++). %prep %setup -n yast2-devtools-%{version} %build autoreconf --force --install ./configure --prefix=%{_prefix} --libdir=%{_libdir} make %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 %if 0%{?qemu_user_space_build} # disable testsuite on QEMU builds, will fail cat > "$RPM_BUILD_ROOT//usr/share/YaST2/data/devtools/NO_MAKE_CHECK" <<EOF Disabling testsuite on QEMU builds, as the userspace emulation is not complete enough for yast2-core EOF %endif # Change false to true in the following line when yast2 core is broken false && cat > "$RPM_BUILD_ROOT//usr/share/YaST2/data/devtools/NO_MAKE_CHECK" <<EOF When yast2 core is broken and the interpreter does not work, submitting yast2-devtools with the flag file existing will prevent ycp developers being flooded by testsuite failures. EOF %files %defattr(-,root,root) %{_prefix}/bin/y2tool %{_prefix}/bin/yastdoc %dir %{_prefix}/share/emacs %dir %{_prefix}/share/emacs/site-lisp %{_prefix}/share/emacs/site-lisp/*ycp-mode.el %dir %{_prefix}/share/vim %dir %{_prefix}/share/vim/site %dir %{_prefix}/share/vim/site/syntax %{_prefix}/share/vim/site/syntax/ycp.vim %dir %{_prefix}/share/vim/site/ftdetect %{_prefix}/share/vim/site/ftdetect/ycp_filetype.vim %dir %{_prefix}/lib/YaST2 %{_prefix}/share/cmake %{_prefix}/lib/YaST2/bin %dir %{_prefix}/share/YaST2 /usr/share/YaST2/data %{_prefix}/share/aclocal/*.m4 %{_prefix}/share/pkgconfig/yast2-devtools.pc %doc %{_prefix}/share/doc/packages/yast2-devtools %changelog
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