]> git.pld-linux.org Git - packages/yelp.git/blob - yelp.spec
- fixed build with xulrunner 2.0
[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.30.2
5 Release:        8
6 License:        GPL v2
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/yelp/2.30/%{name}-%{version}.tar.bz2
9 # Source0-md5:  d745dafd0c134e726511894621d9b050
10 Patch0:         %{name}-libxul.patch
11 URL:            http://live.gnome.org/Yelp
12 BuildRequires:  GConf2-devel >= 2.26.0
13 BuildRequires:  autoconf
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  bzip2-devel
16 BuildRequires:  dbus-glib-devel >= 0.74
17 BuildRequires:  gettext-devel
18 BuildRequires:  gnome-common >= 2.24.0
19 BuildRequires:  gnome-doc-utils >= 0.20.0
20 BuildRequires:  gtk+2-devel >= 2:2.18.0
21 BuildRequires:  intltool >= 0.37.0
22 BuildRequires:  libbeagle-devel >= 0.3.0
23 BuildRequires:  libtool
24 BuildRequires:  libxml2-devel >= 1:2.6.31
25 BuildRequires:  libxslt-devel >= 1.1.22
26 BuildRequires:  pkgconfig >= 1:0.15.0
27 BuildRequires:  rarian-devel >= 0.7.0
28 BuildRequires:  rpmbuild(macros) >= 1.311
29 BuildRequires:  startup-notification-devel >= 0.8
30 BuildRequires:  xorg-lib-libSM-devel
31 BuildRequires:  xulrunner-devel >= 2:2.0
32 BuildRequires:  zlib-devel
33 Requires(post,postun):  gtk-update-icon-cache
34 Requires(post,postun):  hicolor-icon-theme
35 Requires(post,preun):   GConf2
36 Requires:       docbook-style-xsl >= 1.55.0
37 Requires:       gnome-doc-utils >= 0.20.0
38 Requires:       scrollkeeper
39 %requires_eq_to xulrunner xulrunner-devel
40 # sr@Latn vs. sr@latin
41 Conflicts:      glibc-misc < 6:2.7
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 # can be provided by mozilla or mozilla-embedded
45 %define         _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
46 # we have strict deps for it
47 %define         _noautoreq      libxpcom.so
48
49 %description
50 Yelp is the GNOME help/documentation browser. It is designed to help
51 you browse all the documentation on your system in one central tool.
52
53 %description -l pl.UTF-8
54 Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia
55 przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego
56 narzędzia.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61
62 %build
63 %{__intltoolize}
64 %{__libtoolize}
65 %{__aclocal} -I m4
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure
70 %{__make} -j1 \
71         CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 %find_lang %{name}
80
81 %clean
82 rm -rf $RPM_BUILD_ROOT
83
84 %post
85 %gconf_schema_install yelp.schemas
86 %update_icon_cache hicolor
87
88 %preun
89 %gconf_schema_uninstall yelp.schemas
90
91 %postun
92 %update_icon_cache hicolor
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc README ChangeLog NEWS TODO AUTHORS
97 %attr(755,root,root) %{_bindir}/gnome-help
98 %attr(755,root,root) %{_bindir}/yelp
99 %{_datadir}/yelp
100 %{_desktopdir}/yelp.desktop
101 %{_iconsdir}/hicolor/*/*/yelp-icon-big.png
102 %{_sysconfdir}/gconf/schemas/yelp.schemas
This page took 0.042653 seconds and 4 git commands to generate.