# norootforbuild

%define doublecmd_help doublecmd-help

Name:		doublecmd-help-en
Summary:	Documentation for the Double Commander (English)
Version:	0.7.1
Release:	1
Url:		http://doublecmd.sourceforge.net/
License:	GPL-2+
Source0:	%{doublecmd_help}-%{version}.tar.gz
Group:		Documentation
Requires:	doublecmd
BuildArch:	noarch

%description
This package contains the documentation files for the Double Commander
designed for use with the external web browsers.

This package contains the documentation for the DC in English.

%package -n doublecmd-help-ru
Summary:	Documentation for the Double Commander (Russian)
Group:		Documentation
Requires:	doublecmd
BuildArch:	noarch

%description -n doublecmd-help-ru
This package contains the documentation files for the Double Commander
designed for use with the external web browsers.

This package contains the documentation for the DC in Russian.

%package -n doublecmd-help-uk
Summary:	Documentation for the Double Commander (Ukrainian)
Group:		Documentation
Requires:	doublecmd
BuildArch:	noarch

%description -n doublecmd-help-uk
This package contains the documentation files for the Double Commander
designed for use with the external web browsers.

This package contains the documentation for the DC in Ukrainian.

%prep
%setup -q -n %{doublecmd_help}-%{version}

%build

%install
install -d     %{buildroot}/%{_datadir}/doublecmd/doc
cp -r en       %{buildroot}/%{_datadir}/doublecmd/doc
cp -r ru       %{buildroot}/%{_datadir}/doublecmd/doc
cp -r uk       %{buildroot}/%{_datadir}/doublecmd/doc

%clean
[ %{buildroot} != "/" ] && ( rm -rf %{buildroot} )

%files
%defattr(-,root,root)
%dir %{_datadir}/doublecmd
%dir %{_datadir}/doublecmd/doc
%doc %{_datadir}/doublecmd/doc/en

%files -n doublecmd-help-ru
%defattr(-,root,root)
%dir %{_datadir}/doublecmd
%dir %{_datadir}/doublecmd/doc
%doc %{_datadir}/doublecmd/doc/ru

%files -n doublecmd-help-uk
%defattr(-,root,root)
%dir %{_datadir}/doublecmd
%dir %{_datadir}/doublecmd/doc
%doc %{_datadir}/doublecmd/doc/uk

%changelog
* Fri Jan 21 2011 - Alexander Koblov <Alexx2000@mail.ru>
- Initial package, version 0.4.6
