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