SUNWgnome-devhelp.spec revision 19142
10139N/A#
10139N/A# spec file for package SUNWdevhelp.spec
10139N/A#
15942N/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#
10139N/A# includes module(s): devhelp
10139N/A#
10139N/A%define owner halton
15322N/A#
15942N/A
12938N/A%include Solaris.inc
10139N/A%use devhelp = devhelp.spec
10139N/A
10139N/AName: SUNWgnome-devhelp
10139N/ASummary: API documentation browser for GNOME 2
10139N/AVersion: %{devhelp.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
12773N/ASUNW_pkg: SUNWgnome-devhelp
16519N/AIPS_package_name: developer/gnome/devhelp
16519N/AMeta(info.classification): %{classification_prefix}:Development/GNOME and GTK+
12773N/ASUNW_BaseDir: %{_basedir}
13483N/ASUNW_Copyright: %{name}.copyright
10139N/ALicense: GPL v2
16450N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10819N/A
16360N/A%include default-depend.inc
16428N/A%include gnome-consolidation.inc
16428N/ARequires: SUNWlibglade
15942N/ARequires: SUNWgnome-panel
15617N/ARequires: SUNWfirefox
15942N/ARequires: %{name}-root
16076N/ARequires: SUNWdesktop-cache
16353N/ABuildRequires: SUNWlibglade-devel
16353N/ABuildRequires: SUNWgnome-panel-devel
16353N/ABuildRequires: SUNWfirefox-devel
16353N/ABuildRequires: SUNWdbus
16076N/A
16076N/A%package root
16353N/ASummary: %{summary} - / filesystem
16353N/ASUNW_BaseDir: /
16353N/A%include default-depend.inc
16353N/A%include gnome-consolidation.inc
16076N/A
16352N/A%package devel
16352N/ASummary: %{summary} - developer files
16352N/ASUNW_BaseDir: %{_basedir}
16129N/A%include default-depend.inc
16498N/A%include gnome-consolidation.inc
16496N/ARequires: %name
10139N/ARequires: SUNWlibglade-devel
10139N/A
10139N/A%if %build_l10n
10139N/A%package l10n
10139N/AIPS_package_name: developer/gnome/devhelp/l10n
10139N/ASummary: %{summary} - l10n files
10139N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.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 -
10139N/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
10139N/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
10139N/A%clean
16519N/Arm -rf $RPM_BUILD_ROOT
16519N/A
16519N/A%post
10139N/A%restart_fmri gconf-cache
10819N/A
15942N/A%files
15289N/A%defattr (-, root, bin)
16076N/A%dir %attr (0755, root, bin) %{_bindir}
16076N/A%{_bindir}/*
16129N/A%dir %attr (0755, root, bin) %{_libdir}
16496N/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
13088N/A%doc(bzip2) -d devhelp-%{devhelp.version} COPYING NEWS ChangeLog po/ChangeLog
13088N/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/
10165N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/
15722N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/scalable/apps/
12773N/A%{_datadir}/icons/hicolor/scalable/apps/*
12773N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16
12773N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/16x16/apps/
12773N/A%{_datadir}/icons/hicolor/16x16/apps/*
12773N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/22x22/apps/
15552N/A%{_datadir}/icons/hicolor/22x22/apps/*
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/24x24/apps/
15552N/A%{_datadir}/icons/hicolor/24x24/apps/*
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/32x32/apps/
15552N/A%{_datadir}/icons/hicolor/32x32/apps/*
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/
15552N/A%dir %attr (0755, root, other) %{_datadir}/icons/hicolor/48x48/apps/
15553N/A%{_datadir}/icons/hicolor/48x48/apps/*
15553N/A%dir %attr (0755, root, other) %{_datadir}/applications
15553N/A%{_datadir}/applications/*
15553N/A%{_mandir}/*/*
10139N/A
10139N/A%files root
10139N/A%defattr (-, root, sys)
16076N/A%attr (0755, root, sys) %dir %{_sysconfdir}
16076N/A%{_sysconfdir}/gconf/schemas/devhelp.schemas
16076N/A
16076N/A%files devel
10139N/A%defattr (-, root, bin)
10321N/A%dir %attr (0755, root, bin) %{_libdir}
10321N/A%dir %attr (0755, root, other) %{_libdir}/pkgconfig
10139N/A%{_libdir}/pkgconfig/*
10321N/A%dir %attr (0755, root, bin) %{_includedir}
16076N/A%{_includedir}/*
10321N/A
16076N/A%if %build_l10n
10344N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%endif
10139N/A
10139N/A%changelog
10139N/A* Mon May 26 2008 - evan.yan@sun.com
10139N/A- Modification has been made in base/devhelp.spec, so that we can support both
10139N/A of FF2 and FF3 now. Using --with-ff3 to build with FF3
10139N/A* Fri May 16 2008 - damien.carbery@sun.com
10139N/A- Undo Evan's change - revert to depend on SUNWfirefox/-devel because FF3 is
10139N/A not stable enough to be the default browser in Nevada.
10139N/A* Thu May 08 2008 - evan.yan@sun.com
10139N/A- Replace Build/Requires SUNWfirefox/-devel to SUNWfirefox3/-devel
10139N/A- Remove hardcode of firefox inlude path.
10139N/A* Thu Mar 27 2008 - simon.zheng@sun.com
10139N/A- Add file SUNWgnome-devhelp.copyright.
10139N/A* Thu Jan 3 2008 - laca@sun.com
10139N/A- use gconf-install.script instead of an inline script
10139N/A* Wed Oct 31 2007 - simon.zheng@sun.com
10139N/A- Change the inline postinstall script to an include.
10139N/A* Tue Apr 24 2007 - laca@sun.com
10139N/A- make gconf postrun scripts consistent with other packages
10139N/A- use $BASEDIR instead of $PKG_INSTALL_ROOT to fix diskless install
10139N/A (CR 6537817)
10139N/A* Tue Apr 24 2007 - laca@sun.com
10139N/A- s/0755/-/ in defattr so that files are not made all executable
10139N/A* Thu Mar 19 2007 - simon.zheng@sun.com
10139N/A- Add manpage.
10139N/A* Thu Mar 15 2007 - damien.carbery@sun.com
10139N/A- Add Build/Requires SUNWgnome-panel/-devel for libwnck.
10139N/A* Wed March 14 2007 - simon.zheng@sun.com
10139N/A- Initial version created, which stems from extra-spec-file
10139N/A created by li.ma@sun.com on sourceforge.net svn repository.
10139N/A
10139N/A