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: ea76093b608c1eed90ff477d0aca049d
10 Patch0: %{name}-desktop.patch
11 Patch2: %{name}-bs.patch
12 URL: http://www.gnome.org/
13 BuildRequires: GConf2-devel >= 2.14.0
14 BuildRequires: ORBit2-devel >= 1:2.14.0
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: beagle-devel >= 0.2.7
18 BuildRequires: bzip2-devel
19 BuildRequires: dbus-glib-devel >= 0.62
20 BuildRequires: gnome-common >= 2.12.0
21 BuildRequires: gnome-doc-utils >= 0.7.1
22 BuildRequires: gnome-vfs2-devel >= 2.15.3
23 BuildRequires: libglade2-devel >= 1:2.6.0
24 BuildRequires: libgnomeui-devel >= 2.15.2
25 BuildRequires: libtool
26 BuildRequires: libxml2-devel >= 1:2.6.26
27 BuildRequires: libxslt-devel >= 1.1.17
28 BuildRequires: mozilla-firefox-devel
29 BuildRequires: pkgconfig >= 1:0.15.0
30 BuildRequires: popt-devel
31 BuildRequires: rpmbuild(macros) >= 1.197
32 BuildRequires: zlib-devel
33 Requires(post,preun): GConf2 >= 2.14.0
34 Requires(post,postun): gtk+2 >= 2:2.9.2
35 Requires: docbook-style-xsl >= 1.55.0
36 Requires: gnome-doc-utils >= 0.7.1
37 Requires: gnome-vfs2 >= 2.15.3
38 Requires: libgnomeui >= 2.15.2
39 Requires: scrollkeeper
40 %requires_eq mozilla-firefox
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 # can be provided by mozilla or mozilla-embedded
44 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
47 Yelp is the GNOME help/documentation browser. It is designed to help
48 you browse all the documentation on your system in one central tool.
51 Yelp jest przegl±dark± pomocy i dokumentacji GNOME. Umo¿liwia
52 przegl±danie ca³ej dokumentacji systemu za pomoc± jednego, centralnego
65 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
70 rm -rf $RPM_BUILD_ROOT
73 DESTDIR=$RPM_BUILD_ROOT
75 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ug
77 %find_lang %{name} --with-gnome --all-name
80 rm -rf $RPM_BUILD_ROOT
83 %gconf_schema_install yelp.schemas
84 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
87 %gconf_schema_uninstall yelp.schemas
90 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
92 %files -f %{name}.lang
93 %defattr(644,root,root,755)
94 %doc README ChangeLog NEWS TODO AUTHORS
95 %attr(755,root,root) %{_bindir}/*
98 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
99 %{_sysconfdir}/gconf/schemas/yelp.schemas