]>
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 |
9a03b517 | 4 | Version: 2.30.1 |
bfed4c9a | 5 | Release: 2 |
2f8b9adc | 6 | License: GPL v2 |
b624bdba | 7 | Group: X11/Applications |
be50cf17 | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.30/%{name}-%{version}.tar.bz2 |
9a03b517 | 9 | # Source0-md5: afd638cdaea1fcb9821ece88b819a022 |
aee6e367 | 10 | Patch0: %{name}-libxul.patch |
2f8b9adc | 11 | URL: http://live.gnome.org/Yelp |
e7b16630 | 12 | BuildRequires: GConf2-devel >= 2.26.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 | |
e7b16630 | 18 | BuildRequires: gnome-common >= 2.24.0 |
be50cf17 MB |
19 | BuildRequires: gnome-doc-utils >= 0.20.0 |
20 | BuildRequires: gtk+2-devel >= 2:2.18.0 | |
2f8b9adc | 21 | BuildRequires: intltool >= 0.37.0 |
395ebb4c | 22 | BuildRequires: libbeagle-devel >= 0.3.0 |
62383471 | 23 | BuildRequires: libtool |
2f8b9adc | 24 | BuildRequires: libxml2-devel >= 1:2.6.31 |
62253846 | 25 | BuildRequires: libxslt-devel >= 1.1.22 |
94294d0d | 26 | BuildRequires: pkgconfig >= 1:0.15.0 |
2f8b9adc | 27 | BuildRequires: rarian-devel >= 0.7.0 |
ab26d82c | 28 | BuildRequires: rpmbuild(macros) >= 1.311 |
2f8b9adc | 29 | BuildRequires: startup-notification-devel >= 0.8 |
c38a0be5 | 30 | BuildRequires: xorg-lib-libSM-devel |
41ed3a7d | 31 | BuildRequires: xulrunner-devel >= 1.9-5 |
a7dc9ceb | 32 | BuildRequires: zlib-devel |
bc7c417c | 33 | Requires(post,postun): gtk+2 |
99ebaa82 | 34 | Requires(post,postun): hicolor-icon-theme |
2f8b9adc | 35 | Requires(post,preun): GConf2 |
eb7456ff | 36 | Requires: docbook-style-xsl >= 1.55.0 |
be50cf17 | 37 | Requires: gnome-doc-utils >= 0.20.0 |
0d29a63a | 38 | Requires: scrollkeeper |
f231837f | 39 | %requires_eq_to xulrunner xulrunner-devel |
c4285385 MB |
40 | # sr@Latn vs. sr@latin |
41 | Conflicts: glibc-misc < 6:2.7 | |
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 |
e48cadd2 | 61 | |
c4285385 | 62 | # fix locale names |
be50cf17 | 63 | # drop en@shaw locale |
5f2f28df | 64 | sed -i -e s#en@shaw## po/LINGUAS |
5f2f28df | 65 | rm -f po/en@shaw.po |
c4285385 | 66 | |
79f3a103 | 67 | %build |
2f8b9adc | 68 | %{__intltoolize} |
badb51e0 | 69 | %{__libtoolize} |
ac42d540 | 70 | %{__aclocal} -I m4 |
c274dea6 | 71 | %{__autoconf} |
2f8b9adc | 72 | %{__autoheader} |
c274dea6 | 73 | %{__automake} |
79f3a103 | 74 | %configure |
a53685ba | 75 | %{__make} -j1 \ |
76 | CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE" | |
79f3a103 | 77 | |
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
b624bdba | 80 | |
a3ef75ef | 81 | %{__make} install \ |
62383471 | 82 | DESTDIR=$RPM_BUILD_ROOT |
79f3a103 | 83 | |
2f8b9adc | 84 | %find_lang %{name} |
79f3a103 | 85 | |
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
a7dc9ceb | 89 | %post |
90 | %gconf_schema_install yelp.schemas | |
ab26d82c | 91 | %update_icon_cache hicolor |
a7dc9ceb | 92 | |
93 | %preun | |
94 | %gconf_schema_uninstall yelp.schemas | |
95 | ||
5fcb1653 | 96 | %postun |
ab26d82c | 97 | %update_icon_cache hicolor |
5fcb1653 | 98 | |
79f3a103 | 99 | %files -f %{name}.lang |
b624bdba | 100 | %defattr(644,root,root,755) |
c274dea6 | 101 | %doc README ChangeLog NEWS TODO AUTHORS |
2f8b9adc PZ |
102 | %attr(755,root,root) %{_bindir}/gnome-help |
103 | %attr(755,root,root) %{_bindir}/yelp | |
104 | %{_datadir}/yelp | |
105 | %{_desktopdir}/yelp.desktop | |
5fcb1653 | 106 | %{_iconsdir}/hicolor/*/*/yelp-icon-big.png |
a7dc9ceb | 107 | %{_sysconfdir}/gconf/schemas/yelp.schemas |