]>
Commit | Line | Data |
---|---|---|
1 | Summary: A system documentation reader from the GNOME project | |
2 | Summary(pl.UTF-8): Czytnik dokumentacji z projektu GNOME | |
3 | Name: yelp | |
4 | Version: 2.18.1 | |
5 | Release: 6 | |
6 | License: GPL | |
7 | Group: X11/Applications | |
8 | Source0: http://ftp.gnome.org/pub/gnome/sources/yelp/2.18/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 84abbfe7e042706cbf21752957e29bf3 | |
10 | Patch0: %{name}-desktop.patch | |
11 | Patch1: %{name}-bs.patch | |
12 | URL: http://www.gnome.org/ | |
13 | BuildRequires: GConf2-devel >= 2.18.0.1 | |
14 | BuildRequires: ORBit2-devel >= 1:2.14.7 | |
15 | BuildRequires: autoconf | |
16 | BuildRequires: automake | |
17 | BuildRequires: beagle-devel >= 0.2.13 | |
18 | BuildRequires: bzip2-devel | |
19 | BuildRequires: dbus-glib-devel >= 0.73 | |
20 | BuildRequires: gnome-common >= 2.18.0 | |
21 | BuildRequires: gnome-doc-utils >= 0.10.1 | |
22 | BuildRequires: gnome-vfs2-devel >= 2.18.0.1 | |
23 | BuildRequires: libglade2-devel >= 1:2.6.0 | |
24 | BuildRequires: libgnomeui-devel >= 2.18.1 | |
25 | BuildRequires: libtool | |
26 | BuildRequires: libxml2-devel >= 1:2.6.27 | |
27 | BuildRequires: libxslt-devel >= 1.1.20 | |
28 | BuildRequires: xulrunner-devel >= 1.8.1.6 | |
29 | BuildRequires: pkgconfig >= 1:0.15.0 | |
30 | BuildRequires: rpmbuild(macros) >= 1.311 | |
31 | BuildRequires: zlib-devel | |
32 | Requires(post,preun): GConf2 | |
33 | Requires(post,postun): gtk+2 | |
34 | Requires(post,postun): hicolor-icon-theme | |
35 | Requires: docbook-style-xsl >= 1.55.0 | |
36 | Requires: gnome-doc-utils >= 0.10.1 | |
37 | Requires: gnome-vfs2 >= 2.18.0.1 | |
38 | Requires: libgnomeui >= 2.18.1 | |
39 | Requires: scrollkeeper | |
40 | %requires_eq_to xulrunner xulrunner-devel | |
41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
42 | ||
43 | # can be provided by mozilla or mozilla-embedded | |
44 | %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so | |
45 | # we have strict deps for it | |
46 | %define _noautoreq libxpcom.so | |
47 | ||
48 | %description | |
49 | Yelp is the GNOME help/documentation browser. It is designed to help | |
50 | you browse all the documentation on your system in one central tool. | |
51 | ||
52 | %description -l pl.UTF-8 | |
53 | Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia | |
54 | przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego | |
55 | narzędzia. | |
56 | ||
57 | %prep | |
58 | %setup -q | |
59 | %patch0 -p1 | |
60 | %patch1 -p1 | |
61 | ||
62 | %build | |
63 | %{__libtoolize} | |
64 | %{__aclocal} -I m4 | |
65 | %{__autoconf} | |
66 | %{__automake} | |
67 | %configure | |
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | mv $RPM_BUILD_ROOT%{_datadir}/locale/nds{@NFE,} | |
77 | ||
78 | %find_lang %{name} --with-gnome | |
79 | ||
80 | %clean | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %post | |
84 | %gconf_schema_install yelp.schemas | |
85 | %update_icon_cache hicolor | |
86 | ||
87 | %preun | |
88 | %gconf_schema_uninstall yelp.schemas | |
89 | ||
90 | %postun | |
91 | %update_icon_cache hicolor | |
92 | ||
93 | %files -f %{name}.lang | |
94 | %defattr(644,root,root,755) | |
95 | %doc README ChangeLog NEWS TODO AUTHORS | |
96 | %attr(755,root,root) %{_bindir}/* | |
97 | %{_datadir}/%{name} | |
98 | %{_desktopdir}/*.desktop | |
99 | %{_iconsdir}/hicolor/*/*/yelp-icon-big.png | |
100 | %{_sysconfdir}/gconf/schemas/yelp.schemas |