closed/SUNWacroread.spec
author dcarbery
Tue, 11 Mar 2008 14:43:19 +0000
branchNEVADA_86
changeset 11056 62ba9d0043e6
parent 9403 bd2b43c81417
child 10837 0f36e298a0b7
permissions -rw-r--r--
2008-03-10 Damien Carbery <[email protected]> * SUNWgnome-applets.spec: Use common scripts in %post (scrollkeeper-update.script, icon-cache.script, gconf-install.script). * closed/SUNWacroread.spec: Use icon-cache.script to update icon cache. Fixes 6631419.

#
# spec file for package SUNWacroread
#
# includes module(s): acroread
#
# Copyright (c) 2004 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: dermot
#
# DO NOT REMOVE NEXT LINE
# PACKAGE NOT ARC REVIEWED BY SUN JDS TEAM
#
%include Solaris.inc
%define _prefix %{_basedir}
%define _bindir %{_prefix}/bin
%define _libdir %{_prefix}/lib


SUNW_Copyright:            acroread-copyright.txt

%use acroread = acroread.spec



Name:                    SUNWacroread
Summary:                 Acrobat Reader for PDF files
Version:                 %{acroread.version}
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           MOZ17,application,%{jds_version}
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
Requires: SUNWmfrun
Requires: SUNWxwplt
Requires: SUNWcslr
Requires: SUNWlibmsr
Requires: SUNWlibms
Requires: SUNWgnome-base-libs
Requires: SUNWpostrun
BuildRequires: SUNWgnome-base-libs-devel

%ifarch sparc
Requires: SUNWbcp
%endif


%ifarch sparc
# these packages are only avavilable on SPARC
# ===========================================

%package plugin
Summary:                 Acrobat Reader Plugin for Firefox
SUNW_BaseDir:            %{_basedir}
%include default-depend.inc
BuildRequires: SUNWfirefox
Requires: SUNWfirefox
Requires: SUNWacroread


%prep
rm -rf %name-%version
mkdir %name-%version
%acroread.prep -d %name-%version


%install
%acroread.install -d %name-%version


%clean
rm -rf $RPM_BUILD_ROOT

%post
%include icon-cache.script


%files
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/AdobeReader
%{_libdir}/AdobeReader/*
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %{_prefix}/sfw
%dir %attr (0755, root, bin) %{_prefix}/sfw/bin
%{_prefix}/sfw/bin/*
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, other) %{_datadir}/applications
%dir %attr (0755, root, other) %{_datadir}/icons
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*
%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/*/apps
%attr (0644, root, bin) %{_datadir}/applications/acroread.desktop
%attr (-, root, other) %{_datadir}/icons/hicolor/*/apps/*

%files plugin
%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_libdir}/firefox/plugins
%{_libdir}/firefox/plugins/nppdf.so


# endif for "ifarch sparc"
%endif


%changelog
* Tue Mar 11 2008 - [email protected]
- Use icon-cache.script to update icon cache. Fixes 6631419.
* Sun Nov 24 2006 - [email protected]
- Add .desktop and icons in appropriate places.
* Sun Jun 11 2006 - [email protected]
- change group from other to bin/sys
* Mon May 22 2006 - [email protected]
- use product version number instead of "1.0"
* Wed May 10 2006 - [email protected]
- move plugin file to /usr/lib/firefox/plugins since firefox changed the
  install location
* Thu Apr  6 2006 - [email protected]
- Add SUNWgnome-base-libs/-devel to Build/Requires after check-deps.pl run.
* Wed Nov 02 2005 - [email protected]
- Copy in v7 changes from JDS3.1 branch. Change mozilla references to firefox.
* Mon Oct 10 2005 - [email protected]
- Add %{_prefix}/sfw/bin to for backward compatability symlink. Fixes 6300634.
* Thu Aug 25 2005 - [email protected]
- re-write for version 7 (new install dir, etc)
* Fri Nov 26 2004 - [email protected]
- Removed SUNWjds-integration dependency
* Fri Nov 19 2004 - [email protected]
- Partial fix for 6178971. Remove %pkgbuild_process because it was modifying
  the Adobe-tested binaries.
* Fri Nov 12 2004 - [email protected]
- Added SUNWjds-integration dependency
* Tue Oct 05 2004 - [email protected]
- CR 6174047 : Change SUNWacroread to install to /usr/sfw
* Sat Oct 02 2004 - [email protected]
- added %pkgbuild_postprocess
* Thu Sep 30 2004 - [email protected]
- Add '%ifarch sparc' around SUNWbcp dependency as this is only on sparc.
* Wed Sep 29 2004 - [email protected]
- added additional dependencies to acroread &
  added acroread dependency to plugin subpkg
* Mon Sep 20 2004 - [email protected]
- added default dependencies to plugin subpkg
* Fri Aug 20 2004 - [email protected]
- moved to mozilla category.
* Mon Aug 16 2004 - [email protected]
- added -plugin pkg
* Mon Aug 16 2004 - [email protected]
- use acroread-copyright.txt instead of default
* Fri Aug 06 2004 - [email protected]
- initial version