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