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