10139N/A#
10139N/A# spec file for package SUNWgnome-help-viewer
10139N/A#
11089N/A# includes module(s): yelp
10139N/A#
16307N/A# Copyright 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
20255N/A%define owner leonfan
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%use yelp = yelp.spec
10139N/A
10139N/AName: SUNWgnome-help-viewer
19107N/ALicense: GPLv2
18688N/AIPS_package_name: gnome/help-viewer/yelp
18688N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Documentation
10139N/ASummary: GNOME help system
19013N/AVersion: %{yelp.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
12700N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
16401N/ARequires: SUNWlibglade
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWlxml
10139N/ARequires: SUNWlxsl
13059N/ARequires: SUNWfirefox
10139N/ARequires: SUNWbzip
10139N/ARequires: SUNWlibC
10139N/ARequires: SUNWlibpopt
10139N/ARequires: SUNWzlib
16307N/ARequires: SUNWdesktop-cache
19142N/ARequires: SUNWgnome-a11y-reader
16307N/ARequires: %{name}-root
16401N/ABuildRequires: SUNWlibglade-devel
10139N/ABuildRequires: SUNWlibpopt-devel
13059N/ABuildRequires: SUNWfirefox-devel
19142N/ABuildRequires: SUNWfirefox
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-config-devel
11387N/ABuildRequires: SUNWgnome-doc-utils
10139N/ABuildRequires: SUNWlxml
10139N/ABuildRequires: SUNWlxsl
18993N/ABuildRequires: SUNWgtk2
19142N/ABuildRequires: SUNWdbus
10139N/A
12252N/A%package root
12252N/ASummary: %{summary} - / filesystem
12252N/ASUNW_BaseDir: /
12252N/A%include default-depend.inc
20857N/A%include gnome-incorporation.inc
12252N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%yelp.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
13040N/Aexport CFLAGS="%optflags -I%{_includedir}/mps -DANSICPP -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport CXXFLAGS="%cxx_optflags -I%{_includedir}/mps"
13040N/Aexport ACLOCAL_FLAGS="-I ./m4"
11311N/A%if %cc_is_gcc
11311N/A%else
11311N/Aexport CXX="${CXX} -norunpath"
11311N/A%endif
17810N/Aexport LDFLAGS="%_ldflags -lgthread-2.0"
10139N/A
10139N/A%yelp.build -d %name-%version
10139N/A
10139N/A%install
10139N/A%yelp.install -d %name-%version
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
16307N/A%restart_fmri desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
16307N/A%restart_fmri desktop-mime-cache
12252N/A
10139N/A%files
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, bin) %{_bindir}
10139N/A%{_bindir}/*
10139N/A%dir %attr(0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
10139N/A%{_datadir}/applications/*
10139N/A%attr (-, root, other) %{_datadir}/icons
10139N/A%{_datadir}/yelp
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
14286N/A%doc -d yelp-%{yelp.version} AUTHORS README
14286N/A%doc(bzip2) -d yelp-%{yelp.version} COPYING ChangeLog NEWS
14286N/A%doc(bzip2) -d yelp-%{yelp.version} stylesheets/ChangeLog po/ChangeLog
14286N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A
12252N/A%files root
12252N/A%defattr (-, root, sys)
12252N/A%attr (0755, root, sys) %dir %{_sysconfdir}
12252N/A%{_sysconfdir}/gconf/schemas/yelp.schemas
12252N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A
10139N/A%changelog
17810N/A* Tue Dec 01 2009 - ke.wang@sun.com
17810N/A- Bump to 2.28.1
17810N/A- Add -lgthread-2.0 to ldflags.
16617N/A* Fri Jun 05 2009 - ginn.chen@sun.com
16617N/A- Backout Dave's last change, it should be fixed in firefox-*.pc instead.
16612N/A* Fri Jun 05 2009 - dave.lin@sun.com
16612N/A- Add -L%{_libdir}/mps in LDFLAGS to make sure the bundled version of nspr is used.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
14286N/A* Thu Sep 11 2008 - matt.keenn@sun.com
14286N/A- Update copyright
13588N/A* Fri Jul 18 2008 - dave.lin@sun.com
13588N/A- Removed the self-dependency
13059N/A* Fri May 16 2008 - evan.yan@sun.com
13059N/A- Undo Evan's change - revert todepend on SUNWfirefox/-devel because FF3 is not
13059N/A stable enough to be the default browser in Nevada.
13040N/A* Thu May 15 2008 - damien.carbery@sun.com
13040N/A- Remove references to /usr/sfw because freetype2 is under /usr now.
13007N/A* Thu May 08 2008 - evan.yan@sun.com
13007N/A- Remove Build/Requires SUNWfirefox/-devel because we have moved dependence to
13007N/A firefox3 and will remove firefox2 from vermillion.
12925N/A* Mon Apr 21 2008 - damien.carbery@sun.com
12925N/A- Add Build/Requires SUNWfirefox3/-devel because yelp has been patched to use
12925N/A firefox3.
12252N/A* Thu Jan 24 2008 - glynn.foster@sun.com
12252N/A- Fix up gconf install
12252N/A* Wed Nov 28 2008 - damien.carbery@sun.com
12000N/A- Add -DI_KNOW_RARIAN_0_8_IS_UNSTABLE to CFLAGS as required by rarian-info.h.
11387N/A* Thu Oct 11 2007 - damien.carbery@sun.com
11387N/A- Remove install dependency on SUNWgnome-doc-utils and change the build
11387N/A dependency from SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils.
11311N/A* Fri Sep 28 2007 - laca@sun.com
11311N/A- delete SUNWxwrtl dep
11311N/A- add -norunpath flag for CXX and fix LDFLAGS
11089N/A* Fri Aug 17 2007 - damien.carbery@sun.com
11089N/A- Move rarian to SUNWgnome-libs.spec, replacing scrollkeeper. Remove devel
11089N/A package and other rarian related changes.
10983N/A* Wed Aug 01 2007 - damien.carbery@sun.com
11089N/A- Add rarian module as required by yelp 2.19.1.
10139N/A* Mon Sep 04 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- delete some unnecessary env variables
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- change datadir/icons permissions back to root:other since it's a stable
10139N/A interface and wasn't supposed to be changed
10139N/A* Wed Jul 26 2006 - matt.keenan@sun.com
10139N/A- Bump to 2.15.5, update %files, bonobo support has been removed.
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Sat May 13 2006 - laca@sun.com
10139N/A- Remove /usr/lib/jds-private from LDFLAGS
10139N/A* Wed May 10 2006 - laca@sun.com
10139N/A- merge -share pkg(s) into the base pkg(s)
10139N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Thu Jan 05 2006 - damien.carbery@sun.com
10139N/A- Complete the Build/Requires lists.
10139N/A* Sat Dec 3 2005 - laca@sun.com
10139N/A- add %post script that runs update-desktop-database
10139N/A* Fri Sep 30 2005 - damien.carbery@sun.com
10139N/A- Add icons dir to %files; remove /etc dir before packaging.
10139N/A* Thu Jul 21 2005 - damien.carbery@sun.com
10139N/A- Add SUNWmozilla dependency as configure breaking without mozilla.
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
10139N/A* Wed Aug 18 2004 - damien.carbery@sun.com
10139N/A- Change manpage perms for Solaris integration.
10139N/A* Fri Jul 09 2004 - damien.carbery@sun.com
10139N/A- Return -R to LDFLAGS. I had incorrectly implemented the ARC decision.
10139N/A* Thu Jul 08 2004 - damien.carbery@sun.com
10139N/A- Remove -R from LDFLAGS because ARC said to use -norunpath.
10139N/A* Fri Jul 02 2004 - damien.carbery@sun.com
10139N/A- Add /usr/lib/jds-private to LDFLAGS.
10139N/A* Sat Jun 26 2004 shirley.woo@sun.com
10139N/A- Changed install location to /usr/...
10139N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10139N/A- Added %{_datadir}/locale to install l10n messages
10139N/A* Fri May 14 2004 - laca@sun.com
10139N/A- Added libxslt dependency
10139N/A* Wed Mar 24 2004 - brian.cameron@sun.com
10139N/A- Added SGML man page integration
10139N/A* Mon Mar 01 2004 - <laca@sun.com>
10139N/A- define PERL5LIB.
10139N/A- remove non-existant dirs from %files share
10139N/A* Tue Feb 17 2004 - <niall.power@sun.com
10139N/A- initial spec file created
19247N/A
19564N/A