SUNWgnome-help-viewer.spec revision 19107
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
10139N/A# package are under the same license as the package itself.
10139N/A#
10139N/A%define owner wangke
10139N/A#
10139N/A%include Solaris.inc
10139N/A
11239N/A%use yelp = yelp.spec
10752N/A
10139N/AName: SUNWgnome-help-viewer
10139N/ALicense: GPLv2
10139N/AIPS_package_name: gnome/help-viewer/yelp
11277N/AMeta(info.classification): %{classification_prefix}:Desktop (GNOME)/Documentation
10139N/ASummary: GNOME help system
10139N/AVersion: %{yelp.version}
10318N/ASource: %{name}-manpages-0.1.tar.gz
10943N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A%include default-depend.inc
10139N/ARequires: SUNWlibglade
10139N/ARequires: SUNWgnome-libs
10752N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWgnome-component
10752N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWlxml
10752N/ARequires: SUNWlxsl
10139N/ARequires: SUNWfirefox
10752N/ARequires: SUNWbzip
10139N/ARequires: SUNWlibC
10752N/ARequires: SUNWlibpopt
10139N/ARequires: SUNWzlib
10752N/ARequires: SUNWdesktop-cache
10139N/ARequires: %{name}-root
11239N/ABuildRequires: SUNWlibglade-devel
10139N/ABuildRequires: SUNWlibpopt-devel
11239N/ABuildRequires: SUNWfirefox-devel
10928N/ABuildRequires: SUNWgnome-vfs-devel
11239N/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
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
10139N/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 -
10139N/A
10139N/A%build
10139N/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"
10139N/Aexport ACLOCAL_FLAGS="-I ./m4"
10139N/A%if %cc_is_gcc
10139N/A%else
10139N/Aexport CXX="${CXX} -norunpath"
10139N/A%endif
10139N/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%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}
10463N/A
10463N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10943N/A%restart_fmri desktop-mime-cache gconf-cache
10943N/A
10943N/A%postun
10318N/A%restart_fmri desktop-mime-cache
10139N/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/*
10752N/A%attr (-, root, other) %{_datadir}/icons
10139N/A%{_datadir}/yelp
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10752N/A%dir %attr(0755, root, bin) %{_mandir}/*
10553N/A%{_mandir}/*/*
10139N/A%doc -d yelp-%{yelp.version} AUTHORS README
11239N/A%doc(bzip2) -d yelp-%{yelp.version} COPYING ChangeLog NEWS
10752N/A%doc(bzip2) -d yelp-%{yelp.version} stylesheets/ChangeLog po/ChangeLog
10553N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A
10139N/A%files root
10139N/A%defattr (-, root, sys)
10139N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/yelp.schemas
10139N/A
10139N/A%if %build_l10n
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%endif
10139N/A
10139N/A%changelog
10139N/A* Tue Dec 01 2009 - ke.wang@sun.com
10139N/A- Bump to 2.28.1
10139N/A- Add -lgthread-2.0 to ldflags.
10139N/A* Fri Jun 05 2009 - ginn.chen@sun.com
10139N/A- Backout Dave's last change, it should be fixed in firefox-*.pc instead.
10318N/A* Fri Jun 05 2009 - dave.lin@sun.com
10318N/A- Add -L%{_libdir}/mps in LDFLAGS to make sure the bundled version of nspr is used.
10318N/A* Fri Apr 3 2009 - laca@sun.com
10318N/A- use desktop-cache instead of postrun
10318N/A* Thu Sep 11 2008 - matt.keenn@sun.com
10318N/A- Update copyright
10318N/A* Fri Jul 18 2008 - dave.lin@sun.com
10318N/A- Removed the self-dependency
10318N/A* Fri May 16 2008 - evan.yan@sun.com
10318N/A- Undo Evan's change - revert todepend on SUNWfirefox/-devel because FF3 is not
10318N/A stable enough to be the default browser in Nevada.
10318N/A* Thu May 15 2008 - damien.carbery@sun.com
10318N/A- Remove references to /usr/sfw because freetype2 is under /usr now.
10318N/A* Thu May 08 2008 - evan.yan@sun.com
10139N/A- Remove Build/Requires SUNWfirefox/-devel because we have moved dependence to
10960N/A firefox3 and will remove firefox2 from vermillion.
10139N/A* Mon Apr 21 2008 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWfirefox3/-devel because yelp has been patched to use
10553N/A firefox3.
10553N/A* Thu Jan 24 2008 - glynn.foster@sun.com
10553N/A- Fix up gconf install
10139N/A* Wed Nov 28 2008 - damien.carbery@sun.com
10139N/A- Add -DI_KNOW_RARIAN_0_8_IS_UNSTABLE to CFLAGS as required by rarian-info.h.
10139N/A* Thu Oct 11 2007 - damien.carbery@sun.com
10139N/A- Remove install dependency on SUNWgnome-doc-utils and change the build
10139N/A dependency from SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils.
10139N/A* Fri Sep 28 2007 - laca@sun.com
10139N/A- delete SUNWxwrtl dep
10139N/A- add -norunpath flag for CXX and fix LDFLAGS
10139N/A* Fri Aug 17 2007 - damien.carbery@sun.com
10139N/A- Move rarian to SUNWgnome-libs.spec, replacing scrollkeeper. Remove devel
10139N/A package and other rarian related changes.
10139N/A* Wed Aug 01 2007 - damien.carbery@sun.com
10139N/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>
11277N/A- define PERL5LIB.
11277N/A- remove non-existant dirs from %files share
10960N/A* Tue Feb 17 2004 - <niall.power@sun.com
10960N/A- initial spec file created
10960N/A