Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
yelp
yelp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yelp.spec of Package yelp
# # spec file for package yelp # # Copyright (c) 2014 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: yelp Version: 3.10.2 Release: 0 Summary: Help Browser for the GNOME Desktop License: GPL-2.0+ and LGPL-2.1+ Group: System/GUI/GNOME Url: http://www.gnome.org Source: http://download.gnome.org/sources/yelp/3.10/%{name}-%{version}.tar.xz # PATCH-FEATURE-OPENSUSE yelp-2.13.5-use-susehelp.patch -- make gnome-help a symlink to susehelp for better cross-desktop compatibility Patch0: yelp-2.13.5-use-susehelp.patch # PATCH-FEATURE-OPENSUSE yelp-lang-bundle.patch bnc#689979 vuntz@opensuse.org -- Support help documents shipped in bundles Patch1: yelp-lang-bundle.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gnome-common BuildRequires: intltool BuildRequires: itstool >= 1.2.0 BuildRequires: susehelp BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libxslt) >= 1.1.4 BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(webkitgtk-3.0) >= 1.3.10 BuildRequires: pkgconfig(yelp-xsl) >= 3.1.2 # data/dtd/catalog references dtds from oasis-open.org, which we provide on docbook_4 package (bnc#770067) Requires: docbook_4 Requires: susehelp # We need the stylesheets from yelp-xsl Requires: yelp-xsl Recommends: %{name}-lang Provides: suse_help_viewer BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description Yelp is the help viewer in GNOME (it's what happens when you press F1). With gnome-doc-utils, Yelp serves as a DocBook viewer, a man page viewer and an info page viewer. %package -n libyelp0 Summary: Help Browser for the GNOME Desktop -- Library Group: System/Libraries %description -n libyelp0 Yelp is the help viewer in GNOME (it's what happens when you press F1). With gnome-doc-utils, Yelp serves as a DocBook viewer, a man page viewer and an info page viewer. This package provides Yelp's system shared libraries. %package devel Summary: Help Browser for the GNOME Desktop -- Development Files Group: Development/Libraries/GNOME Requires: libyelp0 = %{version} %description devel Yelp is the help viewer in GNOME (it's what happens when you press F1). With gnome-doc-utils, Yelp serves as a DocBook viewer, a man page viewer and an info page viewer. This package provides Yelp's development files. %lang_package %prep %setup -q translation-update-upstream # Currently disabled, as khelpcenter does not know enough about gnome help, and thus a lot of help just does not work. # For now we prefer to be launched in yelp, even in a KDE session. #patch0 -p1 %patch1 -p1 %build # needed by patch0 autoreconf %configure --disable-static make %{?_smp_mflags} %install %make_install %if 0%{?suse_version} <= 1110 rm %{buildroot}%{_datadir}/locale/la/LC_MESSAGES/* %endif %if 0%{?suse_version} <= 1120 rm %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %suse_update_desktop_file %{name} %find_lang %{name} %{?no_lang_C} %fdupes %{buildroot} %clean rm -rf %{buildroot} %post %desktop_database_post %icon_theme_cache_post %glib2_gsettings_schema_post %postun %desktop_database_postun %icon_theme_cache_postun %glib2_gsettings_schema_postun %post -n libyelp0 -p /sbin/ldconfig %postun -n libyelp0 -p /sbin/ldconfig %files %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/gnome-help %{_bindir}/yelp %{_datadir}/applications/yelp.desktop %{_datadir}/glib-2.0/schemas/org.gnome.yelp.gschema.xml %{_datadir}/yelp/ %{_datadir}/yelp-xsl/xslt/common/domains/yelp.xml %files -n libyelp0 %defattr (-, root, root) %{_libdir}/libyelp.so.0* %files lang -f %{name}.lang %files devel %defattr (-, root, root) %{_datadir}/gtk-doc/html/libyelp/ %{_includedir}/libyelp/ %{_libdir}/libyelp.so %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