1 Summary: A system documentation reader from the GNOME project
2 Summary(pl.UTF-8): Czytnik dokumentacji z projektu GNOME
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.22/%{name}-%{version}.tar.bz2
9 # Source0-md5: a292c6712bb820e6aa2ade84ebdc9609
10 Patch0: %{name}-desktop.patch
11 Patch1: %{name}-bs.patch
12 Patch2: %{name}-beagle.patch
13 Patch3: %{name}-libxul.patch
14 URL: http://live.gnome.org/Yelp
15 BuildRequires: GConf2-devel >= 2.22.0
16 BuildRequires: autoconf
17 BuildRequires: automake >= 1:1.9
18 BuildRequires: bzip2-devel
19 BuildRequires: dbus-glib-devel >= 0.74
20 BuildRequires: gettext-devel
21 BuildRequires: gnome-common >= 2.20.0
22 BuildRequires: gnome-doc-utils >= 0.12.1
23 BuildRequires: gnome-vfs2-devel >= 2.22.0
24 BuildRequires: gtk+2-devel >= 2:2.12.8
25 BuildRequires: intltool >= 0.37.0
26 BuildRequires: libbeagle-devel >= 0.3.0
27 BuildRequires: libglade2-devel >= 1:2.6.2
28 BuildRequires: libgnomeui-devel >= 2.22.0
29 BuildRequires: libtool
30 BuildRequires: libxml2-devel >= 1:2.6.31
31 BuildRequires: libxslt-devel >= 1.1.22
32 BuildRequires: pkgconfig >= 1:0.15.0
33 BuildRequires: rarian-devel >= 0.7.0
34 BuildRequires: rpmbuild(macros) >= 1.311
35 BuildRequires: startup-notification-devel >= 0.8
36 BuildRequires: xulrunner-devel >= 1.9-5
37 BuildRequires: zlib-devel
38 Requires(post,postun): gtk+2
39 Requires(post,postun): hicolor-icon-theme
40 Requires(post,preun): GConf2
41 Requires: docbook-style-xsl >= 1.55.0
42 Requires: gnome-doc-utils >= 0.12.1
43 Requires: gnome-vfs2 >= 2.22.0
44 Requires: libgnomeui >= 2.22.0
45 Requires: scrollkeeper
46 %requires_eq_to xulrunner xulrunner-devel
47 # sr@Latn vs. sr@latin
48 Conflicts: glibc-misc < 6:2.7
49 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51 # can be provided by mozilla or mozilla-embedded
52 %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so
53 # we have strict deps for it
54 %define _noautoreq libxpcom.so
57 Yelp is the GNOME help/documentation browser. It is designed to help
58 you browse all the documentation on your system in one central tool.
60 %description -l pl.UTF-8
61 Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia
62 przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego
73 sed -i -e s#nds@NFE#nds# po/LINGUAS
74 sed -i -e s#sr@Latn#sr@latin# po/LINGUAS
76 mv po/sr@{Latn,latin}.po
87 CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
98 rm -rf $RPM_BUILD_ROOT
101 %gconf_schema_install yelp.schemas
102 %update_icon_cache hicolor
105 %gconf_schema_uninstall yelp.schemas
108 %update_icon_cache hicolor
110 %files -f %{name}.lang
111 %defattr(644,root,root,755)
112 %doc README ChangeLog NEWS TODO AUTHORS
113 %attr(755,root,root) %{_bindir}/gnome-help
114 %attr(755,root,root) %{_bindir}/yelp
116 %{_desktopdir}/yelp.desktop
117 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
118 %{_sysconfdir}/gconf/schemas/yelp.schemas