2 # merge changes from head
3 # move stylesheets to /usr/share/sgml
4 # use more generic stylesheet location
5 # remove docbook dtds and stylesheets from package and use system xml catalog
8 %bcond_with mozilla_firefox # build with mozilla-firefox-devel
10 Summary: A system documentation reader from the GNOME project
11 Summary(pl): Czytnik dokumentacji z projektu GNOME
16 Group: X11/Applications
17 Source0: http://ftp.gnome.org/pub/gnome/sources/yelp/2.12/%{name}-%{version}.tar.bz2
18 # Source0-md5: 00b36e95bdd0c8ad2679614e3ffc66af
19 Patch0: %{name}-desktop-categories.patch
20 Patch1: %{name}-MOZILLA_HOME.patch
21 URL: http://www.gnome.org/
22 BuildRequires: GConf2-devel >= 2.10.0
23 BuildRequires: ORBit2-devel >= 1:2.12.1
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: bzip2-devel
27 BuildRequires: glib2-devel >= 1:2.6.4
28 BuildRequires: gnome-common >= 2.8.0
29 BuildRequires: gnome-doc-utils >= 0.3.1
30 BuildRequires: gnome-vfs2-devel >= 2.11.0
31 BuildRequires: libglade2-devel >= 1:2.5.1
32 BuildRequires: libgnomeui-devel >= 2.11.2-2
33 BuildRequires: libtool
34 BuildRequires: libxml2-devel >= 2.6.18
35 BuildRequires: libxslt-devel >= 1.1.12
36 %if %{with mozilla_firefox}
37 BuildRequires: mozilla-firefox-devel
39 BuildRequires: mozilla-devel >= 5:1.7
41 BuildRequires: pkgconfig >= 1:0.15.0
42 BuildRequires: popt-devel
43 BuildRequires: rpmbuild(macros) >= 1.197
44 BuildRequires: zlib-devel
45 Requires(post,preun): GConf2
46 Requires: docbook-style-xsl >= 1.55.0
47 Requires: gnome-doc-utils >= 0.3.1
48 Requires: gnome-vfs2 >= 2.11.0
49 Requires: scrollkeeper
50 %if %{with mozilla_firefox}
51 %requires_eq mozilla-firefox
53 Requires: mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
55 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
57 # can be provided by mozilla or mozilla-embedded
58 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
61 Yelp is the GNOME 2 help/documentation browser. It is designed to help
62 you browse all the documentation on your system in one central tool.
65 Yelp jest przegl±dark± pomocy i dokumentacji GNOME 2. Ma pomagaæ w
66 przegl±daniu ca³ej dokumentacji systemu w jednym, centralnym
83 rm -rf $RPM_BUILD_ROOT
86 DESTDIR=$RPM_BUILD_ROOT
88 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
90 %find_lang %{name} --with-gnome --all-name
93 rm -rf $RPM_BUILD_ROOT
96 %gconf_schema_install yelp.schemas
99 %gconf_schema_uninstall yelp.schemas
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc README ChangeLog NEWS TODO AUTHORS
104 %attr(755,root,root) %{_bindir}/*
107 %{_iconsdir}/hicolor/192x192/apps/yelp-icon-big.png
108 %{_libdir}/bonobo/servers/*
109 %{_sysconfdir}/gconf/schemas/yelp.schemas