]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
67a7f19589a3e57021b780af454102d141c7fcc8
[packages/yelp.git] / yelp.spec
1 Summary:        A system documentation reader from the Gnome project
2 Summary(pl):    Czytnik dokumentacji z projektu GNOME
3 Name:           yelp
4 Version:        0.9
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/%{name}/%{name}-%{version}.tar.bz2
9 Patch0:         %{name}-pixmapsdir.patch
10 Patch1:         %{name}-pld.patch
11 URL:            http://www.gnome.org/
12 Requires:       docbook-style-xsl = 1.50.0-1
13 Requires:       scrollkeeper
14 BuildRequires:  pkgconfig >= 0.12.0
15 BuildRequires:  ORBit2-devel
16 BuildRequires:  glib2-devel >= 2.0.1
17 BuildRequires:  libgtkhtml-devel >= 1.99.8
18 BuildRequires:  gnome-vfs2-devel >= 1.1
19 BuildRequires:  libgnome-devel >= 1.112.1
20 BuildRequires:  libgnomeui-devel >= 1.103.0
21 BuildRequires:  libxslt-devel >= 1.0.15
22 BuildRequires:  GConf2-devel
23 BuildRequires:  bzip2-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %define         _prefix         /usr/X11R6
27 %define         _sysconfdir     /etc/X11/GNOME2
28
29 %description
30 Yelp is the Gnome 2 help/documentation browser. It is designed to help
31 you browse all the documentation on your system in one central tool.
32
33 %description -l pl
34 Yelp jest przegl±dark± pomocy i dokumentacji GNOME 2. Ma pomagaæ w
35 przegl±daniu ca³ej dokumentacji systemu w jednym, centralnym
36 narzêdziu.
37
38 %prep
39 %setup  -q 
40 %patch0 -p1
41 %patch1 -p1
42
43 %build
44 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
45 %{__autoconf}
46 %{__automake}
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT
53
54 %{__make} install DESTDIR=$RPM_BUILD_ROOT
55
56 %find_lang %{name} --with-gnome --all-name
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %post 
62 GCONF_CONFIG_SOURCE="" %{_bindir}/gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/*.schemas > /dev/null
63
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc README ChangeLog NEWS TODO AUTHORS
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/%{name}
69 %{_datadir}/pixmaps/%{name}
70 %{_datadir}/applications/*
71 %{_libdir}/bonobo/servers/*
72 %{_datadir}/sgml/docbook/%{name}
This page took 0.032571 seconds and 2 git commands to generate.