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: ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
13 Patch0: %{name}-pixmapsdir.patch
14 #Patch1: %{name}-pld.patch
15 URL: http://www.gnome.org/
16 Requires: docbook-style-xsl = 1.50.0-1
17 Requires: scrollkeeper
18 BuildRequires: pkgconfig >= 0.12.0
19 BuildRequires: ORBit2-devel >= 2.4.0
20 BuildRequires: glib2-devel >= 2.0.3
21 BuildRequires: libgtkhtml-devel >= 2.0.0
22 BuildRequires: gnome-vfs2-devel >= 2.0.0
23 BuildRequires: libgnome-devel >= 2.0.1
24 BuildRequires: libgnomeui-devel >= 2.0.1
25 BuildRequires: libxslt-devel >= 1.0.15
26 BuildRequires: GConf2-devel >= 1.2.0
27 BuildRequires: bzip2-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define _prefix /usr/X11R6
31 %define _sysconfdir /etc/X11/GNOME2
34 Yelp is the Gnome 2 help/documentation browser. It is designed to help
35 you browse all the documentation on your system in one central tool.
38 Yelp jest przegl±dark± pomocy i dokumentacji GNOME 2. Ma pomagaæ w
39 przegl±daniu ca³ej dokumentacji systemu w jednym, centralnym
48 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT
58 %{__make} install DESTDIR=$RPM_BUILD_ROOT
60 %find_lang %{name} --with-gnome --all-name
63 rm -rf $RPM_BUILD_ROOT
66 GCONF_CONFIG_SOURCE="" %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc README ChangeLog NEWS TODO AUTHORS
71 %attr(755,root,root) %{_bindir}/*
73 %{_datadir}/pixmaps/%{name}
74 %{_datadir}/applications/*
75 %{_libdir}/bonobo/servers/*
76 %{_datadir}/sgml/docbook/%{name}