Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
susehelp.949
susehelp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File susehelp.spec of Package susehelp.949
# # spec file for package susehelp # # Copyright (c) 2015 SUSE LINUX 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: susehelp BuildRequires: apache2-devel BuildRequires: libapr-util1-devel BuildRequires: pcre-devel BuildRequires: perl-XML-Parser Provides: dochost Provides: manhtml Provides: susehilf Obsoletes: dochost Obsoletes: susehilf Requires: info2html Requires: recode Requires: susehelp_lang Requires: wget Suggests: htdig PreReq: %fillup_prereq Version: 2009.10.06 Release: 0 Summary: SUSE Help-System (base) License: GPL-2.0+ Group: Documentation/SUSE Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM susehelp-ghelp-for-yelp.patch bnc#771530 dimstar@opensuse.org -- Do not mingle ghelp:// URIs to help:// when using yelp. Patch0: susehelp-ghelp-for-yelp.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %package -n susehelp_en Requires: susehelp Summary: SUSE Help System (English) Group: Documentation/SUSE Provides: susehelp_lang Provides: locale(susehelp:en) %package -n susehelp_de Requires: susehelp Summary: SUSE Help System (German) Group: Documentation/SUSE Provides: susehelp_lang Provides: locale(susehelp:de) %package -n susehelp_fr Requires: susehelp Summary: SUSE Help-System (French) Group: Documentation/SUSE Provides: susehelp_lang Provides: locale(susehelp:fr) %package -n susehelp_es Requires: susehelp Summary: SUSE Help System (Spanish) Group: Documentation/SUSE Provides: susehelp_lang Provides: locale(susehelp:es) %package -n susehelp_it Requires: susehelp Summary: SUSE Help System (Italian) Group: Documentation/SUSE Provides: susehelp_lang Provides: locale(susehelp:it) %package -n susehelp_cz Requires: susehelp Summary: SUSE Help System (Czech) Group: Documentation/SUSE Provides: susehelp_cs Provides: susehelp_lang Provides: locale(susehelp:cs) Obsoletes: susehelp_cs %package -n susehelp_hu Requires: susehelp Summary: SUSE Help System (Hungarian) Group: Documentation/SUSE Provides: susehelp_lang Provides: locale(susehelp:hu) %description -n susehelp This package contains the basics of the SUSE Help System. The SUSE Help System centralizes all Linux documentation in a clear, structured manner with convenient search capabilities. For quick start, click on the lifesaver in the desktop panel. For configuration, use the KDE Control Center. For more information, have a look at /usr/share/doc/packages/susehelp/README. Authors: -------- <suse@suse.de> %description -n susehelp_en This package contains the English localization of the SUSE Help System. For more information, see the susehelp base package. Authors: -------- <suse@suse.de> %description -n susehelp_de This package contains the German localization of the SUSE Help System. For more information, see the susehelp base package. Authors: -------- <suse@suse.de> %description -n susehelp_fr This package contains the French localization of the SUSE Help System. For more information, see the susehelp base package. Authors: -------- <suse@suse.de> %description -n susehelp_es This package contains the Spanish localization of the SUSE Help System. For more information, see the susehelp base package. Authors: -------- <suse@suse.de> %description -n susehelp_it This package contains the Italian localization of the SUSE Help System. For more information, see the susehelp base package. Authors: -------- <suse@suse.de> %description -n susehelp_cz This package contains the Czech localization of the SUSE Help System. For more information, see the susehelp base package. Authors: -------- <suse@suse.de> %description -n susehelp_hu This package contains the Hungarian localization of the SUSE Help System. For more information, see the susehelp base package. Authors: -------- <suse@suse.de> %define docdir /usr/share/doc %define susehelpdir /usr/share/susehelp %define apacheserver %(/usr/sbin/apxs2 -q datadir 2>/dev/null || /usr/sbin/apxs -q PREFIX) %define cgibin %{susehelpdir}/cgi-bin %define localedir /usr/share/locale %define susehelpvardir /var/lib/susehelp %define susehelpindexdir /var/cache/susehelp %prep %setup -n %{name} %patch0 -p1 %build make perl -p -i*.orig -e '$a="%{apacheserver}"; s/^(\$apachedir\s*=\s*)(.*)/$1"$a";/;' share/susehelprc perl -p -i*.orig -e 's/^(\$dbg\s*=\s*)(.*)/$1"0";/;' share/susehelprc %install rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} \ CGIDIR=%{cgibin} install pushd $RPM_BUILD_ROOT%{_bindir} ln -s susehelp hilfe ln -s susehelp segítség ln -s susehelp suseaide ln -s susehelp suseayuda ln -s susehelp suseaiuto popd install -d $RPM_BUILD_ROOT/usr/sbin install -m755 bin/susedig.sh $RPM_BUILD_ROOT/usr/sbin #sysconfig install -d $RPM_BUILD_ROOT/var/adm/fillup-templates install -m 644 conf/sysconfig.susehelp $RPM_BUILD_ROOT/var/adm/fillup-templates/ install -m 644 conf/sysconfig.apache2-susehelp $RPM_BUILD_ROOT/var/adm/fillup-templates/ install -d $RPM_BUILD_ROOT/%{susehelpvardir} install -m 775 -d $RPM_BUILD_ROOT/%{susehelpindexdir} touch $RPM_BUILD_ROOT/%{susehelpvardir}/dochost # docs and examples SuSEconfig.susehelp script mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/examples cp README $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name} cp bin/SuSEconfig.susehelp $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/examples #Disable broken script rm $RPM_BUILD_ROOT/%{cgibin}/pac* ./createfilelist.pl %{susehelpdir} %post %{fillup_only} %{fillup_only -an apache2} %files -n susehelp -f metafilelist %defattr(-,root,root) /var/adm/fillup-templates/sysconfig.susehelp /var/adm/fillup-templates/sysconfig.apache2-susehelp /usr/sbin/susedig.sh %{_bindir}/susehelp %{_bindir}/susehelpindex %{_bindir}/susehelp-khelpcenter %{cgibin} %dir %{susehelpdir} %dir %{susehelpdir}/docserver %dir %{susehelpdir}/i18n %dir %{susehelpdir}/htdig %{susehelpdir}/img %{susehelpdir}/htdig/*.html %{susehelpdir}/htdig/en %{susehelpdir}/genhtdig.pl %{susehelpdir}/genpaclist.pl %{susehelpdir}/susehelp.symbols %{susehelpdir}/susehelprc %{susehelpdir}/khelpcenter.template %{susehelpdir}/httpd.conf %dir %{susehelpvardir} %{susehelpvardir}/dochost %attr(0775,root,man) %dir %{susehelpindexdir} %doc %{_defaultdocdir}/%{name} %files -n susehelp_de -f metafilelist.de %defattr(-,root,root) %{susehelpdir}/i18n/de %lang(de) %{localedir}/de/LC_MESSAGES/* %{_bindir}/hilfe %{susehelpdir}/docserver/index.html.de %{susehelpdir}/htdig/de %files -n susehelp_en -f metafilelist.en %defattr(-,root,root) %{susehelpdir}/i18n/en %{susehelpdir}/docserver/index.html.en %files -n susehelp_fr -f metafilelist.fr %defattr(-,root,root) %{susehelpdir}/i18n/fr %lang(fr) %{localedir}/fr/LC_MESSAGES/* %{_bindir}/suseaide %{susehelpdir}/docserver/index.html.fr %files -n susehelp_es -f metafilelist.es %defattr(-,root,root) %{susehelpdir}/i18n/es %lang(es) %{localedir}/es/LC_MESSAGES/* %{_bindir}/suseayuda %{susehelpdir}/docserver/index.html.es %files -n susehelp_it -f metafilelist.it %defattr(-,root,root) %{susehelpdir}/i18n/it %{_bindir}/suseaiuto %{susehelpdir}/docserver/index.html.it %files -n susehelp_hu -f metafilelist.hu %defattr(-,root,root) %{susehelpdir}/i18n/hu %{_bindir}/segítség %{susehelpdir}/docserver/index.html.hu %files -n susehelp_cz -f metafilelist.cz %defattr(-,root,root) %{susehelpdir}/i18n/cz %{susehelpdir}/docserver/index.html.cz %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