1 Summary: A system documentation reader from the GNOME project
2 Summary(pl.UTF-8): Czytnik dokumentacji z projektu GNOME
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.20/%{name}-%{version}.tar.bz2
9 # Source0-md5: 8902618c343093b1c64ee6d647ec41ed
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-bs.patch
12 URL: http://www.gnome.org/
13 BuildRequires: GConf2-devel >= 2.20.0
14 BuildRequires: ORBit2-devel >= 1:2.14.9
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: beagle-devel >= 0.2.13
18 BuildRequires: bzip2-devel
19 BuildRequires: dbus-glib-devel >= 0.73
20 BuildRequires: gnome-common >= 2.20.0
21 BuildRequires: gnome-doc-utils >= 0.12.0
22 BuildRequires: gnome-vfs2-devel >= 2.20.0
23 BuildRequires: libglade2-devel >= 1:2.6.2
24 BuildRequires: libgnomeui-devel >= 2.20.0
25 BuildRequires: libtool
26 BuildRequires: libxml2-devel >= 1:2.6.30
27 BuildRequires: libxslt-devel >= 1.1.22
28 BuildRequires: xulrunner-devel >= 1.8.0.4
29 BuildRequires: pkgconfig >= 1:0.15.0
30 BuildRequires: rarian-devel
31 BuildRequires: rpmbuild(macros) >= 1.311
32 BuildRequires: zlib-devel
33 Requires(post,preun): GConf2
34 Requires(post,postun): gtk+2
35 Requires(post,postun): hicolor-icon-theme
36 Requires: docbook-style-xsl >= 1.55.0
37 Requires: gnome-doc-utils >= 0.12.0
38 Requires: gnome-vfs2 >= 2.20.0
39 Requires: libgnomeui >= 2.20.0
40 Requires: scrollkeeper
41 %requires_eq_to xulrunner xulrunner-devel
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 # can be provided by mozilla or mozilla-embedded
45 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
46 # we have strict deps for it
47 %define _noautoreq libxpcom.so
50 Yelp is the GNOME help/documentation browser. It is designed to help
51 you browse all the documentation on your system in one central tool.
53 %description -l pl.UTF-8
54 Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia
55 przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego
72 rm -rf $RPM_BUILD_ROOT
75 DESTDIR=$RPM_BUILD_ROOT
77 mv $RPM_BUILD_ROOT%{_datadir}/locale/nds{@NFE,}
79 %find_lang %{name} --with-gnome
82 rm -rf $RPM_BUILD_ROOT
85 %gconf_schema_install yelp.schemas
86 %update_icon_cache hicolor
89 %gconf_schema_uninstall yelp.schemas
92 %update_icon_cache hicolor
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc README ChangeLog NEWS TODO AUTHORS
97 %attr(755,root,root) %{_bindir}/*
99 %{_desktopdir}/*.desktop
100 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
101 %{_sysconfdir}/gconf/schemas/yelp.schemas