Acrobat Reader

Kam Leo kam.leo at gmail.com
Wed Mar 16 09:00:05 UTC 2005


On Tue, 15 Mar 2005 17:00:24 -0500, Marc Deslauriers
<marcdeslauriers at videotron.ca> wrote:
> On Tue, 2005-03-15 at 09:50 -0600, Jason L Tibbitts III wrote:
> 
> > The scripts are interesting as well.  They play around with various
> > ldap libraries in an interesting way.  I guess they want to use the
> > system ones if available and use theirs otherwise.  It seems that
> > would have been more easily done by using -rpath when they linked the
> > thing.
> >
> > Anyone interested on working out a specfile to turn this into a
> > proper package?
> 
> Here's mine. I didn't mess with the ldap libraries in it though.
> 
> Needs the tarball. You'll find the location in the spec file.
> 
> Marc.
> 
> 

Did you omit Firefox for a reason?  All you needed was to modify your
spec file as follows:

<code>

%post plugin
if [ "$1" != "0" ]; then
	for i in /usr/lib/mozilla-*
		do
			if [ -d $i/plugins ]; then
				ln -sf /usr/lib/mozilla/plugins/nppdf.so $i/plugins/
			fi
		done
	for i in /usr/lib/firefox-*
		do
			if [ -d $i/plugins ]; then
				ln -sf /usr/lib/mozilla/plugins/nppdf.so $i/plugins/
			fi
		done
fi

%postun plugin
if [ "$1" != "0" ]; then
	for i in /usr/lib/mozilla-*
		do
			rm -f $i/plugins/nppdf.so
		done
	for i in /usr/lib/firefox-*
		do
			rm -f $i/plugins/nppdf.so
		done
fi

</code>

You could also add netscape to completely cover the Mozilla.org base.




More information about the fedora-list mailing list