# TODO: # move stylesheets to /usr/share/sgml # use more generic stylesheet location # remove docbook dtds and stylesheets from package and use system xml catalog Summary: A system documentation reader from the GNOME project Summary(pl): Czytnik dokumentacji z projektu GNOME Name: yelp Version: 2.6.1 Release: 3 License: GPL Group: X11/Applications Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.6/%{name}-%{version}.tar.bz2 # Source0-md5: 965ab4cb4f40c76554ce850d63281f06 Patch0: %{name}-locale-names.patch Patch1: %{name}-desktop-categories.patch URL: http://www.gnome.org/ BuildRequires: GConf2-devel >= 2.6.1 BuildRequires: ORBit2-devel >= 1:2.10.0 BuildRequires: autoconf BuildRequires: automake BuildRequires: bzip2-devel BuildRequires: glib2-devel >= 1:2.4.0 BuildRequires: gnome-common BuildRequires: gnome-vfs2-devel >= 2.6.1.1 BuildRequires: libglade2-devel >= 1:2.3.6 BuildRequires: libgnomeui-devel >= 2.6.0 BuildRequires: libgtkhtml-devel >= 2.6.1 BuildRequires: libtool BuildRequires: libxml2-devel >= 2.6.9 BuildRequires: libxslt-devel >= 1.1.5 BuildRequires: pkgconfig >= 0.15.0 BuildRequires: popt-devel BuildRequires: rpm-build >= 4.1-10 Requires(post): GConf2 Requires: docbook-style-xsl >= 1.55.0 Requires: gnome-mime-data >= 2.4.1 Requires: gnome-vfs2 >= 2.6.1.1 Requires: scrollkeeper BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Yelp is the GNOME 2 help/documentation browser. It is designed to help you browse all the documentation on your system in one central tool. %description -l pl Yelp jest przeglądarką pomocy i dokumentacji GNOME 2. Ma pomagać w przeglądaniu całej dokumentacji systemu w jednym, centralnym narzędziu. %prep %setup -q %patch0 -p1 %patch1 -p1 mv po/{no,nb}.po %build %{__libtoolize} %{__aclocal} -I %{_aclocaldir}/gnome2-macros %{__autoconf} %{__automake} %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} --with-gnome --all-name %clean rm -rf $RPM_BUILD_ROOT %post %gconf_schema_install %files -f %{name}.lang %defattr(644,root,root,755) %doc README ChangeLog NEWS TODO AUTHORS %attr(755,root,root) %{_bindir}/* %{_datadir}/%{name} %{_libdir}/bonobo/servers/* %{_datadir}/sgml/docbook/%{name} %{_desktopdir}/*