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