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