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