SUNWgnome-devhelp.spec revision 19235
19997N/A#
19997N/A# spec file for package SUNWdevhelp.spec
19997N/A#
19997N/A# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
19997N/A# This file and all modifications and additions to the pristine
20186N/A# package are under the same license as the package itself.
19997N/A#
19997N/A# includes module(s): devhelp
19997N/A#
19997N/A%define owner halton
19997N/A#
19997N/A
19997N/A%include Solaris.inc
19997N/A%use devhelp = devhelp.spec
19997N/A
19997N/AName: SUNWgnome-devhelp
19997N/ASummary: API documentation browser for GNOME 2
19997N/AVersion: %{devhelp.version}
19997N/ASource: %{name}-manpages-0.1.tar.gz
20102N/ASUNW_pkg: SUNWgnome-devhelp
19997N/AIPS_package_name: developer/gnome/devhelp
19997N/AMeta(info.classification): %{classification_prefix}:Development/GNOME and GTK+
19997N/ASUNW_BaseDir: %{_basedir}
19997N/ASUNW_Copyright: %{name}.copyright
19997N/ALicense: GPL v2
19997N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
19997N/A
19997N/A%include default-depend.inc
19997N/A%include gnome-consolidation.inc
20857N/ARequires: SUNWlibglade
19997N/ARequires: SUNWgnome-panel
19997N/ARequires: SUNWfirefox
19997N/ARequires: %{name}-root
19997N/ARequires: SUNWdesktop-cache
19997N/ABuildRequires: SUNWlibglade-devel
19997N/ABuildRequires: SUNWgnome-panel-devel
19997N/ABuildRequires: SUNWfirefox-devel
19997N/ABuildRequires: SUNWdbus
19997N/A
19997N/A%package root
19997N/ASummary: %{summary} - / filesystem
19997N/ASUNW_BaseDir: /
19997N/A%include default-depend.inc
19997N/A%include gnome-consolidation.inc
19997N/A
19997N/A%package devel
19997N/ASummary: %{summary} - developer files
19997N/ASUNW_BaseDir: %{_basedir}
19997N/A%include default-depend.inc
19997N/A%include gnome-consolidation.inc
19997N/ARequires: %name
19997N/ARequires: SUNWlibglade-devel
19997N/A
19997N/A%if %build_l10n
19997N/A%package l10n
19997N/AIPS_package_name: developer/gnome/devhelp/l10n
19997N/ASummary: %{summary} - l10n files
19997N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
19997N/A%include default-depend.inc
19997N/A%include gnome-consolidation.inc
20857N/ARequires: %{name}
19997N/A%endif
19997N/A
19997N/A%prep
19997N/Arm -rf %name-%version
19997N/Amkdir %name-%version
19997N/A%devhelp.prep -d %name-%version
19997N/Acd %{_builddir}/%name-%version
19997N/Agzcat %SOURCE0 | tar xf -
19997N/A
19997N/A%build
19997N/Aexport CFLAGS="%optflags -I/usr/include/mps"
19997N/Aexport LDFLAGS="%_ldflags"
19997N/Aexport ACLOCAL_FLAGS="-I ./m4 -I /usr/share/aclocal"
19997N/A%if %cc_is_gcc
19997N/A%else
19997N/Aexport CXX="${CXX} -norunpath"
19997N/A%endif
19997N/Aexport CXXFLAGS="%cxx_optflags -I/usr/include/mps"
19997N/A%devhelp.build -d %name-%version
19997N/A
19997N/A%install
19997N/Arm -rf $RPM_BUILD_ROOT
19997N/A%devhelp.install -d %name-%version
19997N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
19997N/Acd %{_builddir}/%name-%version/sun-manpages
19997N/Amake install DESTDIR=$RPM_BUILD_ROOT
19997N/A
19997N/A%if %build_l10n
19997N/A%else
19997N/A# REMOVE l10n FILES
19997N/Arm -rf $RPM_BUILD_ROOT%{_datadir}/locale
19997N/A%endif
19997N/A
19997N/A%clean
19997N/Arm -rf $RPM_BUILD_ROOT
19997N/A
19997N/A%post
19997N/A%restart_fmri gconf-cache
19997N/A
19997N/A%files
19997N/A%defattr (-, root, bin)
19997N/A%dir %attr (0755, root, bin) %{_bindir}
19997N/A%{_bindir}/*
19997N/A%dir %attr (0755, root, bin) %{_libdir}
19997N/A%{_libdir}/lib*
19997N/A%{_libdir}/gedit-2/plugins/devhelp*
19997N/A%dir %attr (0755, root, sys) %{_datadir}
19997N/A%doc -d devhelp-%{devhelp.version} README AUTHORS
19997N/A%doc(bzip2) -d devhelp-%{devhelp.version} COPYING NEWS ChangeLog po/ChangeLog
19997N/A%dir %attr (0755, root, other) %{_datadir}/doc
19997N/A%dir %attr (0755, root, bin) %{_datadir}/devhelp
19997N/A%{_datadir}/devhelp/*
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/apps/
19997N/A%{_datadir}/icons/hicolor/scalable/apps/*
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/apps/
19997N/A%{_datadir}/icons/hicolor/16x16/apps/*
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/apps/
19997N/A%{_datadir}/icons/hicolor/22x22/apps/*
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/apps/
19997N/A%{_datadir}/icons/hicolor/24x24/apps/*
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/apps/
19997N/A%{_datadir}/icons/hicolor/32x32/apps/*
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
19997N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
19997N/A%{_datadir}/icons/hicolor/48x48/apps/*
19997N/A%dir %attr (0755, root, other) %{_datadir}/applications
19997N/A%{_datadir}/applications/*
19997N/A%{_mandir}/*/*
19997N/A
19997N/A%files root
19997N/A%defattr (-, root, sys)
19997N/A%attr (0755, root, sys) %dir %{_sysconfdir}
19997N/A%{_sysconfdir}/gconf/schemas/devhelp.schemas
19997N/A
19997N/A%files devel
19997N/A%defattr (-, root, bin)
19997N/A%dir %attr (0755, root, bin) %{_libdir}
19997N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
19997N/A%{_libdir}/pkgconfig/*
19997N/A%dir %attr (0755, root, bin) %{_includedir}
19997N/A%{_includedir}/*
19997N/A
19997N/A%if %build_l10n
19997N/A%files l10n
19997N/A%defattr (-, root, bin)
19997N/A%dir %attr (0755, root, sys) %{_datadir}
19997N/A%attr (-, root, other) %{_datadir}/locale
19997N/A%endif
19997N/A
19997N/A%changelog
19997N/A* Mon May 26 2008 - evan.yan@sun.com
19997N/A- Modification has been made in base/devhelp.spec, so that we can support both
19997N/A of FF2 and FF3 now. Using --with-ff3 to build with FF3
19997N/A* Fri May 16 2008 - damien.carbery@sun.com
19997N/A- Undo Evan's change - revert to depend on SUNWfirefox/-devel because FF3 is
19997N/A not stable enough to be the default browser in Nevada.
19997N/A* Thu May 08 2008 - evan.yan@sun.com
19997N/A- Replace Build/Requires SUNWfirefox/-devel to SUNWfirefox3/-devel
19997N/A- Remove hardcode of firefox inlude path.
19997N/A* Thu Mar 27 2008 - simon.zheng@sun.com
19997N/A- Add file SUNWgnome-devhelp.copyright.
19997N/A* Thu Jan 3 2008 - laca@sun.com
19997N/A- use gconf-install.script instead of an inline script
19997N/A* Wed Oct 31 2007 - simon.zheng@sun.com
19997N/A- Change the inline postinstall script to an include.
19997N/A* Tue Apr 24 2007 - laca@sun.com
19997N/A- make gconf postrun scripts consistent with other packages
19997N/A- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install
19997N/A (CR 6537817)
19997N/A* Tue Apr 24 2007 - laca@sun.com
19997N/A- s/0755/-/ in defattr so that files are not made all executable
19997N/A* Thu Mar 19 2007 - simon.zheng@sun.com
19997N/A- Add manpage.
19997N/A* Thu Mar 15 2007 - damien.carbery@sun.com
19997N/A- Add Build/Requires SUNWgnome-panel/-devel for libwnck.
19997N/A* Wed March 14 2007 - simon.zheng@sun.com
19997N/A- Initial version created, which stems from extra-spec-file
19997N/A created by li.ma@sun.com on sourceforge.net svn repository.
19997N/A
19997N/A
19997N/A