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