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