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