]>
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 |
aee6e367 | 4 | Version: 2.24.0 |
3bb919bb | 5 | Release: 2 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
aee6e367 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.24/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 15eb2f538d970600c1e0a461f7d88b55 | |
aee6e367 | 10 | Patch0: %{name}-libxul.patch |
2f8b9adc PZ |
11 | URL: http://live.gnome.org/Yelp |
12 | BuildRequires: GConf2-devel >= 2.22.0 | |
708cfbb0 | 13 | BuildRequires: autoconf |
2f8b9adc | 14 | BuildRequires: automake >= 1:1.9 |
708cfbb0 | 15 | BuildRequires: bzip2-devel |
2f8b9adc PZ |
16 | BuildRequires: dbus-glib-devel >= 0.74 |
17 | BuildRequires: gettext-devel | |
62253846 | 18 | BuildRequires: gnome-common >= 2.20.0 |
2f8b9adc PZ |
19 | BuildRequires: gnome-doc-utils >= 0.12.1 |
20 | BuildRequires: gnome-vfs2-devel >= 2.22.0 | |
21 | BuildRequires: gtk+2-devel >= 2:2.12.8 | |
22 | BuildRequires: intltool >= 0.37.0 | |
395ebb4c | 23 | BuildRequires: libbeagle-devel >= 0.3.0 |
62253846 | 24 | BuildRequires: libglade2-devel >= 1:2.6.2 |
2f8b9adc | 25 | BuildRequires: libgnomeui-devel >= 2.22.0 |
62383471 | 26 | BuildRequires: libtool |
2f8b9adc | 27 | BuildRequires: libxml2-devel >= 1:2.6.31 |
62253846 | 28 | BuildRequires: libxslt-devel >= 1.1.22 |
94294d0d | 29 | BuildRequires: pkgconfig >= 1:0.15.0 |
2f8b9adc | 30 | BuildRequires: rarian-devel >= 0.7.0 |
ab26d82c | 31 | BuildRequires: rpmbuild(macros) >= 1.311 |
2f8b9adc | 32 | BuildRequires: startup-notification-devel >= 0.8 |
41ed3a7d | 33 | BuildRequires: xulrunner-devel >= 1.9-5 |
a7dc9ceb | 34 | BuildRequires: zlib-devel |
bc7c417c | 35 | Requires(post,postun): gtk+2 |
99ebaa82 | 36 | Requires(post,postun): hicolor-icon-theme |
2f8b9adc | 37 | Requires(post,preun): GConf2 |
eb7456ff | 38 | Requires: docbook-style-xsl >= 1.55.0 |
2f8b9adc PZ |
39 | Requires: gnome-doc-utils >= 0.12.1 |
40 | Requires: gnome-vfs2 >= 2.22.0 | |
41 | Requires: libgnomeui >= 2.22.0 | |
0d29a63a | 42 | Requires: scrollkeeper |
f231837f | 43 | %requires_eq_to xulrunner xulrunner-devel |
c4285385 MB |
44 | # sr@Latn vs. sr@latin |
45 | Conflicts: glibc-misc < 6:2.7 | |
b624bdba | 46 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
47 | ||
a7dc9ceb | 48 | # can be provided by mozilla or mozilla-embedded |
2d1261f0 | 49 | %define _noautoreqdep libgtkembedmoz.so libgtksuperwin.so libxpcom.so |
4dbe8451 MB |
50 | # we have strict deps for it |
51 | %define _noautoreq libxpcom.so | |
a7dc9ceb | 52 | |
79f3a103 | 53 | %description |
2fdcd29e | 54 | Yelp is the GNOME help/documentation browser. It is designed to help |
b624bdba | 55 | you browse all the documentation on your system in one central tool. |
79f3a103 | 56 | |
234614fa JR |
57 | %description -l pl.UTF-8 |
58 | Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia | |
59 | przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego | |
60 | narzędzia. | |
2a50b763 | 61 | |
79f3a103 | 62 | %prep |
ccb9f7bf | 63 | %setup -q |
c274dea6 | 64 | %patch0 -p1 |
e48cadd2 | 65 | |
c4285385 | 66 | # fix locale names |
2f8b9adc | 67 | sed -i -e s#nds@NFE#nds# po/LINGUAS |
2f8b9adc | 68 | mv po/nds{@NFE,}.po |
c4285385 | 69 | |
79f3a103 | 70 | %build |
2f8b9adc | 71 | %{__intltoolize} |
badb51e0 | 72 | %{__libtoolize} |
ac42d540 | 73 | %{__aclocal} -I m4 |
c274dea6 | 74 | %{__autoconf} |
2f8b9adc | 75 | %{__autoheader} |
c274dea6 | 76 | %{__automake} |
79f3a103 | 77 | %configure |
a53685ba | 78 | %{__make} -j1 \ |
79 | CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE" | |
79f3a103 | 80 | |
81 | %install | |
82 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 83 | |
a3ef75ef | 84 | %{__make} install \ |
62383471 | 85 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 86 | |
2f8b9adc | 87 | %find_lang %{name} |
79f3a103 | 88 | |
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
a7dc9ceb | 92 | %post |
93 | %gconf_schema_install yelp.schemas | |
ab26d82c | 94 | %update_icon_cache hicolor |
a7dc9ceb | 95 | |
96 | %preun | |
97 | %gconf_schema_uninstall yelp.schemas | |
98 | ||
5fcb1653 | 99 | %postun |
ab26d82c | 100 | %update_icon_cache hicolor |
5fcb1653 | 101 | |
79f3a103 | 102 | %files -f %{name}.lang |
b624bdba | 103 | %defattr(644,root,root,755) |
c274dea6 | 104 | %doc README ChangeLog NEWS TODO AUTHORS |
2f8b9adc PZ |
105 | %attr(755,root,root) %{_bindir}/gnome-help |
106 | %attr(755,root,root) %{_bindir}/yelp | |
107 | %{_datadir}/yelp | |
108 | %{_desktopdir}/yelp.desktop | |
5fcb1653 | 109 | %{_iconsdir}/hicolor/*/*/yelp-icon-big.png |
a7dc9ceb | 110 | %{_sysconfdir}/gconf/schemas/yelp.schemas |