]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
- use %requires_eq_to (xulrunner can be not installed on builders)
[packages/yelp.git] / yelp.spec
1 Summary:        A system documentation reader from the GNOME project
2 Summary(pl.UTF-8):      Czytnik dokumentacji z projektu GNOME
3 Name:           yelp
4 Version:        2.16.2
5 Release:        2
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:  ac55332d62c1871b3de92b5c1f0befaa
10 Patch0:         %{name}-desktop.patch
11 Patch1:         %{name}-bs.patch
12 URL:            http://www.gnome.org/
13 BuildRequires:  GConf2-devel >= 2.16.0
14 BuildRequires:  ORBit2-devel >= 1:2.14.4
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  beagle-devel >= 0.2.13
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.3
23 BuildRequires:  libglade2-devel >= 1:2.6.0
24 BuildRequires:  libgnomeui-devel >= 2.16.1
25 BuildRequires:  libtool
26 BuildRequires:  libxml2-devel >= 1:2.6.27
27 BuildRequires:  libxslt-devel >= 1.1.17
28 BuildRequires:  xulrunner-devel >= 1.8.0.4
29 BuildRequires:  pkgconfig >= 1:0.15.0
30 BuildRequires:  rpmbuild(macros) >= 1.311
31 BuildRequires:  zlib-devel
32 Requires(post,preun):   GConf2 >= 2.16.0
33 Requires(post,postun):  gtk+2 >= 2:2.10.6
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.3
38 Requires:       libgnomeui >= 2.16.1
39 Requires:       scrollkeeper
40 %requires_eq_to xulrunner xulrunner-devel
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.UTF-8
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}/*.desktop
97 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
98 %{_sysconfdir}/gconf/schemas/yelp.schemas
This page took 0.039068 seconds and 4 git commands to generate.