1 Summary: A system documentation reader from the GNOME project
2 Summary(pl): Czytnik dokumentacji z projektu GNOME
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/gnome/sources/yelp/2.15/%{name}-%{version}.tar.bz2
9 # Source0-md5: 4e80d89cf67360f7f2496cf87d0c83c4
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-bs.patch
12 URL: http://www.gnome.org/
13 BuildRequires: GConf2-devel >= 2.14.0
14 BuildRequires: ORBit2-devel >= 1:2.14.2
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: beagle-devel >= 0.2.7
18 BuildRequires: bzip2-devel
19 BuildRequires: dbus-glib-devel >= 0.71
20 BuildRequires: gnome-common >= 2.12.0
21 BuildRequires: gnome-doc-utils >= 0.7.2
22 BuildRequires: gnome-vfs2-devel >= 2.15.91
23 BuildRequires: libglade2-devel >= 1:2.6.0
24 BuildRequires: libgnomeui-devel >= 2.15.91
25 BuildRequires: libtool
26 BuildRequires: libxml2-devel >= 1:2.6.26
27 BuildRequires: libxslt-devel >= 1.1.17
28 BuildRequires: mozilla-firefox-devel >= 1.5.0.6
29 BuildRequires: pkgconfig >= 1:0.15.0
30 BuildRequires: rpmbuild(macros) >= 1.311
31 BuildRequires: zlib-devel
32 Requires(post,preun): GConf2 >= 2.14.0
33 Requires(post,postun): gtk+2 >= 2:2.10.1
34 Requires: docbook-style-xsl >= 1.55.0
35 Requires: gnome-doc-utils >= 0.7.2
36 Requires: gnome-vfs2 >= 2.15.91
37 Requires: libgnomeui >= 2.15.91
38 Requires: scrollkeeper
39 %requires_eq mozilla-firefox
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 # can be provided by mozilla or mozilla-embedded
43 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
46 Yelp is the GNOME help/documentation browser. It is designed to help
47 you browse all the documentation on your system in one central tool.
50 Yelp jest przegl±dark± pomocy i dokumentacji GNOME. Umo¿liwia
51 przegl±danie ca³ej dokumentacji systemu za pomoc± jednego, centralnego
68 rm -rf $RPM_BUILD_ROOT
71 DESTDIR=$RPM_BUILD_ROOT
73 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ug
75 %find_lang %{name} --with-gnome --all-name
78 rm -rf $RPM_BUILD_ROOT
81 %gconf_schema_install yelp.schemas
82 %update_icon_cache hicolor
85 %gconf_schema_uninstall yelp.schemas
88 %update_icon_cache hicolor
90 %files -f %{name}.lang
91 %defattr(644,root,root,755)
92 %doc README ChangeLog NEWS TODO AUTHORS
93 %attr(755,root,root) %{_bindir}/*
96 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
97 %{_sysconfdir}/gconf/schemas/yelp.schemas