]> git.pld-linux.org Git - packages/yelp.git/blobdiff - yelp.spec
- updated to 2.30.0
[packages/yelp.git] / yelp.spec
index 316c244facc1c77edbfa616c75e989c78260b9cb..bf33a12bc13e3c142ecd5e0a2022c69ccf74a95d 100644 (file)
--- a/yelp.spec
+++ b/yelp.spec
@@ -1,47 +1,78 @@
-%define gtk2_version 1.3.13
-%define gtkhtml2_version 1.99.2
-%define gnome_vfs2_version 1.9.4.91
-%define libgnomeui_version 1.110.0
-%define libbonobo_version 1.110.0
-
-Summary:       A system documentation reader from the Gnome project
+Summary:       A system documentation reader from the GNOME project
+Summary(pl.UTF-8):     Czytnik dokumentacji z projektu GNOME
 Name:          yelp
-Version:       0.2
-Release:       2
-License:       GPL
+Version:       2.30.0
+Release:       1
+License:       GPL v2
 Group:         X11/Applications
-Group(de):     X11/Applikationen
-Group(es):     X11/Aplicaciones
-Group(pl):     X11/Aplikacje
-Group(pt_BR):  X11/Aplicações
-Group(pt):     X11/Aplicações
-Source0:       ftp://ftp.gnome.org/pub/gnome/pre-gnome2/sources/yelp/%{name}-%{version}.tar.bz2
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/yelp/2.30/%{name}-%{version}.tar.bz2
+# Source0-md5: 9a5674664568844616bcf169dce7e1a6
+Patch0:                %{name}-libxul.patch
+URL:           http://live.gnome.org/Yelp
+BuildRequires: GConf2-devel >= 2.26.0
+BuildRequires: autoconf
+BuildRequires: automake >= 1:1.9
+BuildRequires: bzip2-devel
+BuildRequires: dbus-glib-devel >= 0.74
+BuildRequires: gettext-devel
+BuildRequires: gnome-common >= 2.24.0
+BuildRequires: gnome-doc-utils >= 0.20.0
+BuildRequires: gtk+2-devel >= 2:2.18.0
+BuildRequires: intltool >= 0.37.0
+BuildRequires: libbeagle-devel >= 0.3.0
+BuildRequires: libtool
+BuildRequires: libxml2-devel >= 1:2.6.31
+BuildRequires: libxslt-devel >= 1.1.22
+BuildRequires: pkgconfig >= 1:0.15.0
+BuildRequires: rarian-devel >= 0.7.0
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: startup-notification-devel >= 0.8
+BuildRequires: xulrunner-devel >= 1.9-5
+BuildRequires: zlib-devel
+Requires(post,postun): gtk+2
+Requires(post,postun): hicolor-icon-theme
+Requires(post,preun):  GConf2
+Requires:      docbook-style-xsl >= 1.55.0
+Requires:      gnome-doc-utils >= 0.20.0
 Requires:      scrollkeeper
-Requires:      gtk2 >= %{gtk2_version}
-Requires:      gnome-vfs2 >= %{gnome_vfs2_version}
-Requires:      gtkhtml2 >= %{gtkhtml2_version}
-Requires:      libgnomeui >= %{libgnomeui_version}
-Requires:      libbonobo >= %{libbonobo_version}
-BuildRequires: gtk2-devel >= %{gtk2_version}
-BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version}
-BuildRequires: gtkhtml2-devel >= %{gtkhtml2_version}
-BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
-BuildRequires: libbonobo-devel >= %{libbonobo_version}
+%requires_eq_to        xulrunner xulrunner-devel
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
+# can be provided by mozilla or mozilla-embedded
+%define                _noautoreqdep   libgtkembedmoz.so libgtksuperwin.so libxpcom.so
+# we have strict deps for it
+%define                _noautoreq      libxpcom.so
 
 %description
-Yelp is the Gnome 2 help/documentation browser. It is designed to help
+Yelp is the GNOME help/documentation browser. It is designed to help
 you browse all the documentation on your system in one central tool.
 
+%description -l pl.UTF-8
+Yelp jest przeglądarką pomocy i dokumentacji GNOME. Umożliwia
+przeglądanie całej dokumentacji systemu za pomocą jednego, centralnego
+narzędzia.
+
 %prep
 %setup -q
+%patch0 -p1
+
+# fix locale names
+# drop en@shaw locale
+sed -i -e s#en@shaw## po/LINGUAS
+rm -f po/en@shaw.po
 
 %build
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure
-%{__make}
+%{__make} -j1 \
+       CFLAGS="%{rpmcflags} -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -54,9 +85,22 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%gconf_schema_install yelp.schemas
+%update_icon_cache hicolor
+
+%preun
+%gconf_schema_uninstall yelp.schemas
+
+%postun
+%update_icon_cache hicolor
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
+%doc README ChangeLog NEWS TODO AUTHORS
+%attr(755,root,root) %{_bindir}/gnome-help
 %attr(755,root,root) %{_bindir}/yelp
-%{_libdir}/bonobo/servers/GNOME_Yelp.server
-%{_datadir}/applications/yelp.desktop
 %{_datadir}/yelp
+%{_desktopdir}/yelp.desktop
+%{_iconsdir}/hicolor/*/*/yelp-icon-big.png
+%{_sysconfdir}/gconf/schemas/yelp.schemas
This page took 0.084909 seconds and 4 git commands to generate.