File yast2-schema.spec of Package yast2-schema
#
# spec file for package yast2-schema (Version 2.17.4)
#
# 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
Url: http://www.suse.com/
Name: yast2-schema
Version: 2.17.4
Release: 1
License: GPL v2 or later
Group: System/YaST
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: yast2-schema-2.17.4.tar.bz2
Prefix: /usr
BuildRequires: java2-devel-packages trang yast2-all-packages
# yast2-core omited from some reason in buildservice, adding explicitly
BuildRequires: yast2-core
#!BuildIgnore: yast2-build-test yast2-online-update
# optimization suggested by AJ:
#!BuildIgnore: tomcat5
# ignoring conflicting packages
#!BuildIgnore: yast2-branding-SLED yast2-branding-openSUSE
#!BuildIgnore: yast2-theme yast2-theme-SLED yast2-theme-openSUSE yast2-theme-SLE
# Hotfix to build a package, bnc #427684
#!BuildIgnore: xerces-j2-bootstrap libusb-0_1-4 crimson
# Just a S390 thingie
#!BuildIgnore: yast2-reipl
# To speedup && to easily recover from dependency hell
#!BuildIgnore: yast2-pkg-bindings-devel-doc yast2-pkg-bindings zypper libzypp yast2-gtk yast2-qt yast2-ncurses yast2-qt-pkg yast2-ncurses-pkg
BuildArch: noarch
Summary: YaST2 - AutoYaST Schema
%description
AutoYaST Syntax Schema
Authors:
--------
Anas Nashif <nashif@suse.de>
Martin Vidner <mvidner@suse.cz>
%prep
%setup -n yast2-schema-2.17.4
%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/schema/autoyast/rnc
/usr/share/YaST2/schema/autoyast/rnc/profile.rnc
/usr/share/YaST2/schema/autoyast/rnc/includes.rnc
%dir /usr/share/YaST2/schema/autoyast/rng
/usr/share/YaST2/schema/autoyast/rng/*.rng
%doc %{prefix}/share/doc/packages/yast2-schema
%changelog
* Wed Oct 15 2008 ug@suse.de
- moved common.rnc from yast2-schema to autoyast2 to
fix yast2-schema build errors
- 2.17.4
* Thu Oct 02 2008 jsrain@suse.cz
- added yast2-core to BuildRequires to build the package
- 2.17.3
* Tue Sep 30 2008 locilka@suse.cz
- Added some more BuildIgnores to build the package.
- 2.17.2
* Fri Sep 26 2008 locilka@suse.cz
- Adding some more BuildIgnores to build the package (bnc #427684).
- 2.17.1
* Tue Sep 16 2008 locilka@suse.cz
- Ignoring conflicting packages (yast2-branding-*, yast2-theme-*).
- 2.17.0
* Tue Mar 27 2007 mvidner@suse.cz
- Ignore tomcat5 while building to save time.
- 2.15.0
* Wed Nov 22 2006 mvidner@suse.cz
- Include also user_defaults and groups with users (#215249#c7).
- 2.14.2
* Tue Nov 21 2006 ug@suse.de
- for some reason the order of the elements is important
for xmllint. This is a workaround for that problem.
It might be a bug in xmllint and requires further
investigation.
(#222956)
- 2.14.1
* Mon Nov 13 2006 jsrain@suse.cz
- 2.14.0
* Mon Oct 30 2006 mvidner@suse.cz
- Fixed too aggressive escaping which broke on files-with-dashes.rnc
- 2.13.3
* Thu Feb 23 2006 mvidner@suse.cz
- converted neededforbuild to BuildRequires (mls)
- broke a build cycle with yast2-online-update (ro)
- removed yast2-devel-packages, yast2-all-packages is enough
- 2.13.2
* Mon Oct 10 2005 mvidner@suse.cz
- Added rules, classes-*, and (disabled) profile-misc.
- 2.13.1
* Fri Sep 23 2005 mvidner@suse.cz
- More documentation, renamed it so that it does not clash it with the
copyright files.
- Do not use notAllowed, it is unclear and validators disagree.
- Allow X_SuSE_YaST_AutoInstResource and X_SuSE_YaST_AutoInstSchema to
differ.
- Install forgotten RNC files.
- 2.13.0
* Mon Jun 13 2005 mvidner@suse.cz
- Don't install generated RNC files, they create conflicts.
- Don't distribute generated HTML docs.
- 2.12.2
* Tue Jun 07 2005 mvidner@suse.cz
- Build it in makefiles, not in the spec file.
- Build fix: trang now requires JRE.
- 2.12.1
* Tue Sep 07 2004 nashif@suse.de
- Removed nfb cycle
* Wed Aug 18 2004 nashif@suse.de
- initial version