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