]>
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 |
62253846 | 4 | Version: 2.20.0 |
46c6ed65 | 5 | Release: 3 |
b624bdba | 6 | License: GPL |
7 | Group: X11/Applications | |
62253846 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.20/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 8902618c343093b1c64ee6d647ec41ed | |
ac42d540 | 10 | Patch0: %{name}-desktop.patch |
ab26d82c | 11 | Patch1: %{name}-bs.patch |
c274dea6 | 12 | URL: http://www.gnome.org/ |
dbdb391e | 13 | BuildRequires: GConf2-devel >= 2.20.0 |
62253846 | 14 | BuildRequires: ORBit2-devel >= 1:2.14.9 |
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 |
62253846 MB |
20 | BuildRequires: gnome-common >= 2.20.0 |
21 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
22 | BuildRequires: gnome-vfs2-devel >= 2.20.0 | |
23 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
dbdb391e | 24 | BuildRequires: libgnomeui-devel >= 2.20.0 |
62383471 | 25 | BuildRequires: libtool |
62253846 MB |
26 | BuildRequires: libxml2-devel >= 1:2.6.30 |
27 | BuildRequires: libxslt-devel >= 1.1.22 | |
28 | BuildRequires: xulrunner-devel >= 1.8.0.4 | |
94294d0d | 29 | BuildRequires: pkgconfig >= 1:0.15.0 |
62253846 | 30 | BuildRequires: rarian-devel |
ab26d82c | 31 | BuildRequires: rpmbuild(macros) >= 1.311 |
a7dc9ceb | 32 | BuildRequires: zlib-devel |
bc7c417c MB |
33 | Requires(post,preun): GConf2 |
34 | Requires(post,postun): gtk+2 | |
99ebaa82 | 35 | Requires(post,postun): hicolor-icon-theme |
eb7456ff | 36 | Requires: docbook-style-xsl >= 1.55.0 |
62253846 MB |
37 | Requires: gnome-doc-utils >= 0.12.0 |
38 | Requires: gnome-vfs2 >= 2.20.0 | |
dbdb391e | 39 | Requires: libgnomeui >= 2.20.0 |
0d29a63a | 40 | Requires: scrollkeeper |
f231837f | 41 | %requires_eq_to xulrunner xulrunner-devel |
b624bdba | 42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
43 | ||
a7dc9ceb | 44 | # can be provided by mozilla or mozilla-embedded |
2d1261f0 | 45 | %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so |
4dbe8451 MB |
46 | # we have strict deps for it |
47 | %define _noautoreq libxpcom.so | |
a7dc9ceb | 48 | |
79f3a103 | 49 | %description |
2fdcd29e | 50 | Yelp is the GNOME help/documentation browser. It is designed to help |
b624bdba | 51 | you browse all the documentation on your system in one central tool. |
79f3a103 | 52 | |
234614fa JR |
53 | %description -l pl.UTF-8 |
54 | Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia | |
55 | przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego | |
56 | narzędzia. | |
2a50b763 | 57 | |
79f3a103 | 58 | %prep |
ccb9f7bf | 59 | %setup -q |
c274dea6 | 60 | %patch0 -p1 |
ab26d82c | 61 | %patch1 -p1 |
e48cadd2 | 62 | |
79f3a103 | 63 | %build |
badb51e0 | 64 | %{__libtoolize} |
ac42d540 | 65 | %{__aclocal} -I m4 |
c274dea6 AF |
66 | %{__autoconf} |
67 | %{__automake} | |
79f3a103 | 68 | %configure |
f14f2a36 | 69 | %{__make} -j1 |
79f3a103 | 70 | |
71 | %install | |
72 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 73 | |
a3ef75ef | 74 | %{__make} install \ |
62383471 | 75 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 76 | |
4f1ac4e3 | 77 | mv $RPM_BUILD_ROOT%{_datadir}/locale/nds{@NFE,} |
e14c4126 | 78 | |
4f1ac4e3 | 79 | %find_lang %{name} --with-gnome |
79f3a103 | 80 | |
81 | %clean | |
82 | rm -rf $RPM_BUILD_ROOT | |
83 | ||
a7dc9ceb | 84 | %post |
85 | %gconf_schema_install yelp.schemas | |
ab26d82c | 86 | %update_icon_cache hicolor |
a7dc9ceb | 87 | |
88 | %preun | |
89 | %gconf_schema_uninstall yelp.schemas | |
90 | ||
5fcb1653 | 91 | %postun |
ab26d82c | 92 | %update_icon_cache hicolor |
5fcb1653 | 93 | |
79f3a103 | 94 | %files -f %{name}.lang |
b624bdba | 95 | %defattr(644,root,root,755) |
c274dea6 AF |
96 | %doc README ChangeLog NEWS TODO AUTHORS |
97 | %attr(755,root,root) %{_bindir}/* | |
98 | %{_datadir}/%{name} | |
7a05025b | 99 | %{_desktopdir}/*.desktop |
5fcb1653 | 100 | %{_iconsdir}/hicolor/*/*/yelp-icon-big.png |
a7dc9ceb | 101 | %{_sysconfdir}/gconf/schemas/yelp.schemas |