]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
- fixed %%build
[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:        2.1.5
9 Release:        1
10 License:        GPL
11 Group:          X11/Applications
12 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/2.1/%{name}-%{version}.tar.bz2
13 Patch0:         %{name}-pixmapsdir.patch
14 #Patch1:                %{name}-pld.patch
15 URL:            http://www.gnome.org/
16 BuildRequires:  GConf2-devel >= 2.1.90
17 BuildRequires:  ORBit2-devel >= 2.5.1
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  bzip2-devel
21 BuildRequires:  glib2-devel >= 2.2.0
22 BuildRequires:  gnome-vfs2-devel >= 2.1.91
23 BuildRequires:  libgnome-devel >= 2.1.1
24 BuildRequires:  libgnomeui-devel >= 2.1.2
25 BuildRequires:  libgtkhtml-devel >= 2.1.8
26 BuildRequires:  libxslt-devel >= 1.0.20
27 BuildRequires:  pkgconfig >= 0.12.0
28 BuildRequires:  rpm-build >= 4.1-10
29 BuildRequires:  Xft-devel >= 2.1-2
30 Requires(post): GConf2
31 Requires:       docbook-style-xsl >= 1.55.0
32 Requires:       scrollkeeper
33 Requires:       gnome-vfs2 >= 2.1.91
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Yelp is the Gnome 2 help/documentation browser. It is designed to help
38 you browse all the documentation on your system in one central tool.
39
40 %description -l pl
41 Yelp jest przegl±dark± pomocy i dokumentacji GNOME 2. Ma pomagaæ w
42 przegl±daniu ca³ej dokumentacji systemu w jednym, centralnym
43 narzêdziu.
44
45 %prep
46 %setup  -q 
47 %patch0 -p1
48 #%patch1 -p1
49
50 %build
51 %{__libtoolize}
52 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
53 %{__autoconf}
54 %{__automake}
55 %configure
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT
61
62 %{__make} install \
63             DESTDIR=$RPM_BUILD_ROOT
64
65 %find_lang %{name} --with-gnome --all-name
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %post 
71 %gconf_schema_install
72
73 %files -f %{name}.lang
74 %defattr(644,root,root,755)
75 %doc README ChangeLog NEWS TODO AUTHORS
76 %attr(755,root,root) %{_bindir}/*
77 %{_datadir}/%{name}
78 %{_datadir}/pixmaps/%{name}
79 %{_datadir}/applications/*
80 %{_libdir}/bonobo/servers/*
81 %attr(755,root,root) %{_libdir}/%{name}-db2html
82 %{_datadir}/sgml/docbook/%{name}
This page took 0.054935 seconds and 4 git commands to generate.