]> git.pld-linux.org Git - packages/yelp.git/blame - yelp.spec
- use %requires_eq_to (xulrunner can be not installed on builders)
[packages/yelp.git] / yelp.spec
CommitLineData
76dacf75 1Summary: A system documentation reader from the GNOME project
3330c3e5 2Summary(pl.UTF-8): Czytnik dokumentacji z projektu GNOME
b624bdba 3Name: yelp
5bea11f9 4Version: 2.16.2
f231837f 5Release: 2
b624bdba 6License: GPL
7Group: X11/Applications
4f1ac4e3 8Source0: http://ftp.gnome.org/pub/gnome/sources/yelp/2.16/%{name}-%{version}.tar.bz2
5bea11f9 9# Source0-md5: ac55332d62c1871b3de92b5c1f0befaa
ac42d540 10Patch0: %{name}-desktop.patch
ab26d82c 11Patch1: %{name}-bs.patch
c274dea6 12URL: http://www.gnome.org/
5bea11f9
MB
13BuildRequires: GConf2-devel >= 2.16.0
14BuildRequires: ORBit2-devel >= 1:2.14.4
708cfbb0
JB
15BuildRequires: autoconf
16BuildRequires: automake
5bea11f9 17BuildRequires: beagle-devel >= 0.2.13
708cfbb0 18BuildRequires: bzip2-devel
662428ae 19BuildRequires: dbus-glib-devel >= 0.71
252b0175 20BuildRequires: gnome-common >= 2.12.0
353cb8bc 21BuildRequires: gnome-doc-utils >= 0.8.0
5bea11f9 22BuildRequires: gnome-vfs2-devel >= 2.16.3
eea908fb 23BuildRequires: libglade2-devel >= 1:2.6.0
5bea11f9 24BuildRequires: libgnomeui-devel >= 2.16.1
62383471 25BuildRequires: libtool
5bea11f9 26BuildRequires: libxml2-devel >= 1:2.6.27
5fcb1653 27BuildRequires: libxslt-devel >= 1.1.17
d7741fe1 28BuildRequires: xulrunner-devel >= 1.8.0.4
94294d0d 29BuildRequires: pkgconfig >= 1:0.15.0
ab26d82c 30BuildRequires: rpmbuild(macros) >= 1.311
a7dc9ceb 31BuildRequires: zlib-devel
5bea11f9
MB
32Requires(post,preun): GConf2 >= 2.16.0
33Requires(post,postun): gtk+2 >= 2:2.10.6
99ebaa82 34Requires(post,postun): hicolor-icon-theme
eb7456ff 35Requires: docbook-style-xsl >= 1.55.0
353cb8bc 36Requires: gnome-doc-utils >= 0.8.0
5bea11f9
MB
37Requires: gnome-vfs2 >= 2.16.3
38Requires: libgnomeui >= 2.16.1
0d29a63a 39Requires: scrollkeeper
f231837f 40%requires_eq_to xulrunner xulrunner-devel
b624bdba 41BuildRoot: %{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 47Yelp is the GNOME help/documentation browser. It is designed to help
b624bdba 48you browse all the documentation on your system in one central tool.
79f3a103 49
234614fa
JR
50%description -l pl.UTF-8
51Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia
52przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego
53narzę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
69rm -rf $RPM_BUILD_ROOT
b624bdba 70
a3ef75ef 71%{__make} install \
62383471 72 DESTDIR=$RPM_BUILD_ROOT
79f3a103 73
4f1ac4e3 74mv $RPM_BUILD_ROOT%{_datadir}/locale/nds{@NFE,}
e14c4126 75
4f1ac4e3 76%find_lang %{name} --with-gnome
79f3a103 77
78%clean
79rm -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
This page took 0.088664 seconds and 4 git commands to generate.