Summary: General GNOME User Documentation
-Summary(pl): Ogólna dokumentacja u¿ytkownika GNOME
-Name: gnome2-user-docs
-Version: 2.6.0.1
+Summary(pl.UTF-8): Ogólna dokumentacja użytkownika GNOME
+Name: gnome-user-docs
+Version: 45.1
Release: 1
-License: GFDL
+License: CC-BY v3.0
Group: Documentation
-Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
-# Source0-md5: 8125558f7f515b681fdeb853adf06ebb
-BuildRequires: scrollkeeper >= 0.3.11-4
-Requires: yelp >= 2.6.0
+Source0: https://download.gnome.org/sources/gnome-user-docs/45/%{name}-%{version}.tar.xz
+# Source0-md5: ae95da6890222c7d69762ddd54a13f67
+URL: https://wiki.gnome.org/DocumentationProject
+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
-%configure
-%{__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
+# gnome-help and system-admin-guide
+%find_lang gnome-help --with-gnome --all-name
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /usr/bin/scrollkeeper-update
-%postun -p /usr/bin/scrollkeeper-update
-
-%files -f %{name}.lang
+%files -f gnome-help.lang
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
-%{_omf_dest_dir}/%{name}
+%doc COPYING NEWS README.md