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