Summary: General GNOME User Documentation
-Summary(pl): Ogólna dokumentacja u¿ytkownika GNOME
-Name: gnome2-user-docs
-Version: 2.0.6
+Summary(pl.UTF-8): Ogólna dokumentacja użytkownika GNOME
+Name: gnome-user-docs
+Version: 3.6.1
Release: 1
License: GFDL
Group: Documentation
-Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.0/%{name}-%{version}.tar.bz2
-# Source0-md5: 78eefb360be381d34dcb1a98a3be5ff7
-Requires(post,postun):scrollkeeper >= 0.3.11-4
-Requires: yelp >= 2.2.0
-BuildRequires: scrollkeeper >= 0.3.11-4
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-user-docs/3.6/%{name}-%{version}.tar.xz
+# Source0-md5: 89c66ef5d1c24866e3345271c8d64e3d
+BuildRequires: docbook-dtd412-xml
+BuildRequires: docbook-dtd43-xml
+BuildRequires: gettext-devel
+BuildRequires: itstool
+BuildRequires: libxml2-progs
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(find_lang) >= 1.35
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: yelp-tools >= 3.4.1
+Requires: yelp >= 3.4.1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
General GNOME User Guide.
-%description -l pl
-Ogólna dokumentacja u¿ytkownika GNOME.
+%description -l pl.UTF-8
+Ogólna dokumentacja użytkownika GNOME.
%prep
%setup -q
%build
-%configure2_13 \
- --with-html-path=%{_gtkdocdir}
-
-%{__make}
+%configure \
+ --disable-silent-rules
+%{__make} -j1
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- omf_dest_dir=%{_omf_dest_dir}/%{name} \
- HTML_DIR=%{_gtkdocdir}
+ DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{name} --with-gnome --all-name
+%find_lang gnome-help --with-gnome --all-name
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-scrollkeeper-update
-
-%postun
-scrollkeeper-update
-
-%files -f %{name}.lang
+%files -f gnome-help.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog
-%{_omf_dest_dir}/%{name}
+%doc AUTHORS ChangeLog README