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