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