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