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