Summary: DevHelp book: emacs
-Summary(pl): Ksi±¿ka do DevHelp'a o emacs
+Summary(pl): Ksi±¿ka do DevHelpa o emacsie
Name: devhelp-book-emacs
Version: 1.0
Release: 1
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6/share/devhelp/
+%define _prefix /usr/X11R6/share/devhelp
%description
-DevHelp book about emacs
+DevHelp book about emacs.
%description -l pl
-Ksi±¿ka do DevHelp o emacs
+Ksi±¿ka do DevHelpa o emacsie.
%prep
-%setup -q -c emacs -n emacs
-
-%build
-mv -f book emacs-13.0
-mv -f book.devhelp emacs.devhelp
+%setup -q -c -n emacs
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_prefix}/{books/emacs-13.0,specs}
-install -d $RPM_BUILD_ROOT%{_prefix}/books/emacs-13.0
-install -d $RPM_BUILD_ROOT%{_prefix}/specs
-install emacs.devhelp $RPM_BUILD_ROOT%{_prefix}/specs
-install emacs-13.0/* $RPM_BUILD_ROOT%{_prefix}/books/emacs-13.0
+install book.devhelp $RPM_BUILD_ROOT%{_prefix}/specs/emacs.devhelp
+install book/* $RPM_BUILD_ROOT%{_prefix}/books/emacs-13.0
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-#%doc *.gz
-%{_prefix}/books
-%{_prefix}/specs
+%{_prefix}/books/*
+%{_prefix}/specs/*