]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
- R(post,postun): hicolor-icon-theme
[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:        2.16.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/yelp/2.16/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b88c7607bd21d06ee37a877da6747cb3
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-bs.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.14.0
14 BuildRequires:  ORBit2-devel >= 1:2.14.3
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  beagle-devel >= 0.2.10
18 BuildRequires:  bzip2-devel
19 BuildRequires:  dbus-glib-devel >= 0.71
20 BuildRequires:  gnome-common >= 2.12.0
21 BuildRequires:  gnome-doc-utils >= 0.8.0
22 BuildRequires:  gnome-vfs2-devel >= 2.16.1
23 BuildRequires:  libglade2-devel >= 1:2.6.0
24 BuildRequires:  libgnomeui-devel >= 2.16.0
25 BuildRequires:  libtool
26 BuildRequires:  libxml2-devel >= 1:2.6.26
27 BuildRequires:  libxslt-devel >= 1.1.17
28 BuildRequires:  mozilla-firefox-devel >= 1.5.0.7
29 BuildRequires:  pkgconfig >= 1:0.15.0
30 BuildRequires:  rpmbuild(macros) >= 1.311
31 BuildRequires:  zlib-devel
32 Requires(post,preun):   GConf2 >= 2.14.0
33 Requires(post,postun):  gtk+2 >= 2:2.10.5
34 Requires(post,postun):  hicolor-icon-theme
35 Requires:       docbook-style-xsl >= 1.55.0
36 Requires:       gnome-doc-utils >= 0.8.0
37 Requires:       gnome-vfs2 >= 2.16.1
38 Requires:       libgnomeui >= 2.16.0
39 Requires:       scrollkeeper
40 %requires_eq    mozilla-firefox
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 # can be provided by mozilla or mozilla-embedded
44 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
45
46 %description
47 Yelp is the GNOME help/documentation browser. It is designed to help
48 you browse all the documentation on your system in one central tool.
49
50 %description -l pl
51 Yelp jest przegl±dark± pomocy i dokumentacji GNOME. Umo¿liwia
52 przegl±danie ca³ej dokumentacji systemu za pomoc± jednego, centralnego
53 narzêdzia.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58 %patch1 -p1
59
60 %build
61 %{__libtoolize}
62 %{__aclocal} -I m4
63 %{__autoconf}
64 %{__automake}
65 %configure
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73
74 mv $RPM_BUILD_ROOT%{_datadir}/locale/nds{@NFE,}
75
76 %find_lang %{name} --with-gnome
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 %gconf_schema_install yelp.schemas
83 %update_icon_cache hicolor
84
85 %preun
86 %gconf_schema_uninstall yelp.schemas
87
88 %postun
89 %update_icon_cache hicolor
90
91 %files -f %{name}.lang
92 %defattr(644,root,root,755)
93 %doc README ChangeLog NEWS TODO AUTHORS
94 %attr(755,root,root) %{_bindir}/*
95 %{_datadir}/%{name}
96 %{_desktopdir}/*
97 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
98 %{_sysconfdir}/gconf/schemas/yelp.schemas
This page took 0.036137 seconds and 4 git commands to generate.