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