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