2 # move stylesheets to /usr/share/sgml
3 # use more generic stylesheet location
4 # remove docbook dtds and stylesheets from package and use system xml catalog
5 Summary: A system documentation reader from the Gnome project
6 Summary(pl): Czytnik dokumentacji z projektu GNOME
11 Group: X11/Applications
12 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
13 Patch0: %{name}-pixmapsdir.patch
14 #Patch1: %{name}-pld.patch
15 URL: http://www.gnome.org/
16 BuildRequires: GConf2-devel >= 1.2.1
17 BuildRequires: ORBit2-devel >= 2.4.3
18 BuildRequires: autoconf
19 BuildRequires: automake
20 BuildRequires: bzip2-devel
21 BuildRequires: glib2-devel >= 2.0.6
22 BuildRequires: gnome-vfs2-devel >= 2.0.4-3
23 BuildRequires: libgnome-devel >= 2.0.4
24 BuildRequires: libgnomeui-devel >= 2.0.5
25 BuildRequires: libgtkhtml-devel >= 2.1.2
26 BuildRequires: libxslt-devel >= 1.0.20
27 BuildRequires: pkgconfig >= 0.12.0
28 Requires(post): GConf2
29 Requires: docbook-style-xsl >= 1.55.0
30 Requires: scrollkeeper
31 Requires: gnome-vfs2 >= 2.0.4-3
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _prefix /usr/X11R6
35 %define _sysconfdir /etc/X11/GNOME2
38 Yelp is the Gnome 2 help/documentation browser. It is designed to help
39 you browse all the documentation on your system in one central tool.
42 Yelp jest przegl±dark± pomocy i dokumentacji GNOME 2. Ma pomagaæ w
43 przegl±daniu ca³ej dokumentacji systemu w jednym, centralnym
52 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT
62 %{__make} install DESTDIR=$RPM_BUILD_ROOT
64 %find_lang %{name} --with-gnome --all-name
67 rm -rf $RPM_BUILD_ROOT
70 GCONF_CONFIG_SOURCE="`%{_bindir}/gconftool-2 --get-default-source`" %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc README ChangeLog NEWS TODO AUTHORS
75 %attr(755,root,root) %{_bindir}/*
77 %{_datadir}/pixmaps/%{name}
78 %{_datadir}/applications/*
79 %{_libdir}/bonobo/servers/*
80 %attr(755,root,root) %{_libdir}/%{name}-db2html
81 %{_datadir}/sgml/docbook/%{name}