Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
sle-rt-hw_en.19618
sle-rt-hw_en.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sle-rt-hw_en.spec of Package sle-rt-hw_en.19618
# # spec file for package sle-rt-hw_en # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define my_lang en %define my_book SLE-RT-hw %define _defaultdocdir %{_datadir}/doc/manual %define _docdir %{_datadir}/doc/manual # %bcond_without PDF # Name: sle-rt-hw_en Version: 15.2 Release: 0 Summary: SLE RT Hardware Testing Guide (English) License: GFDL-1.2-only Group: Documentation/SUSE URL: https://doc.opensuse.org #OBS Source: art-slert-hwtest_en_src_set.tar.bz2 #SOURCES Source901: doc_pre_checkin.sh Source903: attributes BuildRequires: daps > 1.99999 BuildRequires: docbook5-xsl-stylesheets BuildRequires: fdupes BuildRequires: jing BuildRequires: suse-xsl-stylesheets > 1.99999 BuildRequires: update-desktop-files #JSP_REQ Requires: dejavu-fonts Requires: google-opensans-fonts #BREQ Provides: locale(desktop-data-openSUSE:en) BuildArch: noarch %description SLE RT Hardware Testing Guide (English). This paper describes the tools that can be used to determine if a specific hardware has the needed real-time capabilities. %prep %setup -q -c find -name '*.png' -o -name '*.svg' -exec chmod 644 {} \; || : %build # e.g., /usr/share/help/C/gnome-help/opensuse-manuals.page # Produce .page files for HTML # Switches according to bnc#883820 export ADDITIONAL_OPTIONS="-Xss3072K" package_dir=$(daps -d DC-SLE-RT-hw package-html --pagefiles) # daps now obeys ll_CC captalization convention # tar xvf $package_dir/SLE-RT-hw_%%{my_lang}-html.tar.bz2 tar xvf $package_dir/*_%{my_lang}-html.tar.bz2 cp $package_dir/*.page %{name}.page %if %{with PDF} daps -d DC-%{my_book} pdf %endif %install mkdir -p %{buildroot}%{_defaultdocdir} # product is name without language code %define gnome_dir %{_datadir}/gnome/help/sle-rt-hw install -d %{buildroot}%{gnome_dir} # Install the HTML cp -a --dereference art-slert-hwtest %{buildroot}/%{_defaultdocdir}/%{name} # Install the GNOME files: gnome_help_dir=%{_datadir}/help/C/gnome-help mkdir -p %{buildroot}$gnome_help_dir cp %{name}.page %{buildroot}$gnome_help_dir/%{name}.page # Create the link to make the book visible in yelp if [ %{my_lang} = "en" ]; then pushd %{buildroot}%{_datadir}/help/C ln -s ../../doc/manual/%{name} %{my_book} popd fi # Install the PDF %if %{with PDF} install -d %{buildroot}%{_defaultdocdir}/%{name}-pdf cp -v build/%{my_book}/*.pdf %{buildroot}%{_defaultdocdir}/%{name}-pdf/%{name}.pdf %endif %fdupes '%{buildroot}%{_docdir}' %files %dir %{_defaultdocdir} %dir %{_defaultdocdir}/%{name} %{_defaultdocdir}/%{name}/* %if %{with PDF} %dir %{_defaultdocdir}/%{name}-pdf %{_defaultdocdir}/%{name}-pdf/* %endif #GNOME %{_datadir}/help/C/%{my_book} %dir %{_datadir}/help/C/gnome-help %{_datadir}/help/C/gnome-help/* %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