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