]> git.pld-linux.org Git - packages/yelp.git/blame_incremental - yelp.spec
- release 7
[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.26.0
5Release: 7
6License: GPL v2
7Group: X11/Applications
8Source0: http://ftp.gnome.org/pub/GNOME/sources/yelp/2.26/%{name}-%{version}.tar.bz2
9# Source0-md5: 3413fd051c5ecbfe98819a8fb4ac83dd
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.16.0
20BuildRequires: gtk+2-devel >= 2:2.16.0
21BuildRequires: intltool >= 0.37.0
22BuildRequires: libbeagle-devel >= 0.3.0
23BuildRequires: libglade2-devel >= 1:2.6.2
24BuildRequires: libgnomeui-devel >= 2.24.0
25BuildRequires: libtool
26BuildRequires: libxml2-devel >= 1:2.6.31
27BuildRequires: libxslt-devel >= 1.1.22
28BuildRequires: pkgconfig >= 1:0.15.0
29BuildRequires: rarian-devel >= 0.7.0
30BuildRequires: rpmbuild(macros) >= 1.311
31BuildRequires: startup-notification-devel >= 0.8
32BuildRequires: xulrunner-devel >= 1.9-5
33BuildRequires: zlib-devel
34Requires(post,postun): gtk+2
35Requires(post,postun): hicolor-icon-theme
36Requires(post,preun): GConf2
37Requires: docbook-style-xsl >= 1.55.0
38Requires: gnome-doc-utils >= 0.16.0
39Requires: libgnomeui >= 2.24.0
40Requires: scrollkeeper
41%requires_eq_to xulrunner xulrunner-devel
42# sr@Latn vs. sr@latin
43Conflicts: glibc-misc < 6:2.7
44BuildRoot: %{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
52Yelp is the GNOME help/documentation browser. It is designed to help
53you browse all the documentation on your system in one central tool.
54
55%description -l pl.UTF-8
56Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia
57przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego
58narzędzia.
59
60%prep
61%setup -q
62%patch0 -p1
63
64# fix locale names
65sed -i -e s#nds@NFE#nds# po/LINGUAS
66mv po/nds{@NFE,}.po
67# drop la locale
68sed -i -e s#^la## po/LINGUAS
69rm -f po/la.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
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88%find_lang %{name}
89
90%clean
91rm -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.083968 seconds and 4 git commands to generate.