[Bug 1702] New: Review Request: imagination - A lightweight and simple GTK based DVD slide show creator

Richard Shaw hobbes1069 at gmail.com
Sat Apr 16 16:43:32 CEST 2011


On Sat, Apr 16, 2011 at 2:53 AM, Olivier Cédric <cedric.olivier at free.fr> wrote:
> I am the original submitter and I am ok to close 1617 and review your new
> review request. I will do review next week.
> For co maintain, it's as you want.

I'll leave it up to you if you want to be a co-maintainer.

The only problem I have with the package right now is getting the
documentation in the right place. I only recently figured out that
%doc will only automatically put files from the buildroot into
/usr/share/doc/%{name}-%{version}.

The installed files from the package put the html documentation in
/usr/share/doc/%{name}. I've tried:

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

# Move documentation so it will go in the right directory
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
mv %{buildroot}%{_docdir}/%{name}/html \
   %{buildroot}%{_docdir}/%{name}-%{version}/html

... but it didn't work.

And now I know why. When %doc is called it cleans the doc directory
prior to moving the files into it...

What's the right way to handle this? It just seems redundant to have a
/usr/share/doc/imagination and /usr/share/doc/imagination-3.0

Thanks,
Richard


More information about the rpmfusion-developers mailing list