]>
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 |
5bea11f9 | 4 | Version: 2.16.2 |
f231837f | 5 | Release: 2 |
b624bdba | 6 | License: GPL |
7 | Group: X11/Applications | |
4f1ac4e3 | 8 | Source0: http://ftp.gnome.org/pub/gnome/sources/yelp/2.16/%{name}-%{version}.tar.bz2 |
5bea11f9 | 9 | # Source0-md5: ac55332d62c1871b3de92b5c1f0befaa |
ac42d540 | 10 | Patch0: %{name}-desktop.patch |
ab26d82c | 11 | Patch1: %{name}-bs.patch |
c274dea6 | 12 | URL: http://www.gnome.org/ |
5bea11f9 MB |
13 | BuildRequires: GConf2-devel >= 2.16.0 |
14 | BuildRequires: ORBit2-devel >= 1:2.14.4 | |
708cfbb0 JB |
15 | BuildRequires: autoconf |
16 | BuildRequires: automake | |
5bea11f9 | 17 | BuildRequires: beagle-devel >= 0.2.13 |
708cfbb0 | 18 | BuildRequires: bzip2-devel |
662428ae | 19 | BuildRequires: dbus-glib-devel >= 0.71 |
252b0175 | 20 | BuildRequires: gnome-common >= 2.12.0 |
353cb8bc | 21 | BuildRequires: gnome-doc-utils >= 0.8.0 |
5bea11f9 | 22 | BuildRequires: gnome-vfs2-devel >= 2.16.3 |
eea908fb | 23 | BuildRequires: libglade2-devel >= 1:2.6.0 |
5bea11f9 | 24 | BuildRequires: libgnomeui-devel >= 2.16.1 |
62383471 | 25 | BuildRequires: libtool |
5bea11f9 | 26 | BuildRequires: libxml2-devel >= 1:2.6.27 |
5fcb1653 | 27 | BuildRequires: libxslt-devel >= 1.1.17 |
d7741fe1 | 28 | BuildRequires: xulrunner-devel >= 1.8.0.4 |
94294d0d | 29 | BuildRequires: pkgconfig >= 1:0.15.0 |
ab26d82c | 30 | BuildRequires: rpmbuild(macros) >= 1.311 |
a7dc9ceb | 31 | BuildRequires: zlib-devel |
5bea11f9 MB |
32 | Requires(post,preun): GConf2 >= 2.16.0 |
33 | Requires(post,postun): gtk+2 >= 2:2.10.6 | |
99ebaa82 | 34 | Requires(post,postun): hicolor-icon-theme |
eb7456ff | 35 | Requires: docbook-style-xsl >= 1.55.0 |
353cb8bc | 36 | Requires: gnome-doc-utils >= 0.8.0 |
5bea11f9 MB |
37 | Requires: gnome-vfs2 >= 2.16.3 |
38 | Requires: libgnomeui >= 2.16.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 |
a7dc9ceb | 45 | |
79f3a103 | 46 | %description |
2fdcd29e | 47 | Yelp is the GNOME help/documentation browser. It is designed to help |
b624bdba | 48 | you browse all the documentation on your system in one central tool. |
79f3a103 | 49 | |
234614fa JR |
50 | %description -l pl.UTF-8 |
51 | Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia | |
52 | przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego | |
53 | narzędzia. | |
2a50b763 | 54 | |
79f3a103 | 55 | %prep |
ccb9f7bf | 56 | %setup -q |
c274dea6 | 57 | %patch0 -p1 |
ab26d82c | 58 | %patch1 -p1 |
e48cadd2 | 59 | |
79f3a103 | 60 | %build |
badb51e0 | 61 | %{__libtoolize} |
ac42d540 | 62 | %{__aclocal} -I m4 |
c274dea6 AF |
63 | %{__autoconf} |
64 | %{__automake} | |
79f3a103 | 65 | %configure |
b624bdba | 66 | %{__make} |
79f3a103 | 67 | |
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 70 | |
a3ef75ef | 71 | %{__make} install \ |
62383471 | 72 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 73 | |
4f1ac4e3 | 74 | mv $RPM_BUILD_ROOT%{_datadir}/locale/nds{@NFE,} |
e14c4126 | 75 | |
4f1ac4e3 | 76 | %find_lang %{name} --with-gnome |
79f3a103 | 77 | |
78 | %clean | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
a7dc9ceb | 81 | %post |
82 | %gconf_schema_install yelp.schemas | |
ab26d82c | 83 | %update_icon_cache hicolor |
a7dc9ceb | 84 | |
85 | %preun | |
86 | %gconf_schema_uninstall yelp.schemas | |
87 | ||
5fcb1653 | 88 | %postun |
ab26d82c | 89 | %update_icon_cache hicolor |
5fcb1653 | 90 | |
79f3a103 | 91 | %files -f %{name}.lang |
b624bdba | 92 | %defattr(644,root,root,755) |
c274dea6 AF |
93 | %doc README ChangeLog NEWS TODO AUTHORS |
94 | %attr(755,root,root) %{_bindir}/* | |
95 | %{_datadir}/%{name} | |
7a05025b | 96 | %{_desktopdir}/*.desktop |
5fcb1653 | 97 | %{_iconsdir}/hicolor/*/*/yelp-icon-big.png |
a7dc9ceb | 98 | %{_sysconfdir}/gconf/schemas/yelp.schemas |