10139N/A#
10139N/A# spec file for package SUNWgnome-crash-report
10139N/A#
10139N/A# includes module(s): bug-buddy
10139N/A#
16307N/A# Copyright 2009 Sun Microsystems, Inc.
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#
17835N/A#temporarily taken from mattman
17835N/A%define owner stephen
10139N/A#
10139N/A%include Solaris.inc
10139N/A
16227N/A%ifarch amd64 sparcv9
16227N/A%include arch64.inc
16227N/A#%define _sysconfdir /etc/%{_arch64}
16227N/A%use bug_buddy_64 = bug-buddy.spec
16227N/A%endif
16227N/A
16227N/A%include base.inc
16227N/A
16227N/A%use bug_buddy = bug-buddy.spec
10139N/A
10139N/AName: SUNWgnome-crash-report
18688N/AIPS_package_name: gnome/crash-report/bug-buddy
18688N/AMeta(info.classification): %{classification_prefix}:Development/GNOME and GTK+
10139N/ASummary: GNOME crash report generator
19013N/AVersion: %{bug_buddy.version}
19124N/ALicense: %{bug_buddy.license}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
12700N/ASUNW_Copyright: %{name}.copyright
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16401N/ARequires: SUNWgtk2
10139N/ARequires: SUNWgnome-vfs
10139N/ARequires: SUNWgnome-component
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-panel
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWlxml
16307N/ARequires: SUNWdesktop-cache
10139N/ARequires: SUNWlibgtop
16307N/ARequires: %{name}-root
16401N/ABuildRequires: SUNWgtk2-devel
10139N/ABuildRequires: SUNWgnome-vfs-devel
10139N/ABuildRequires: SUNWgnome-component-devel
10139N/ABuildRequires: SUNWgnome-libs-devel
10139N/ABuildRequires: SUNWgnome-panel-devel
10139N/ABuildRequires: SUNWgnome-config-devel
10139N/ABuildRequires: SUNWlxml
10139N/ABuildRequires: SUNWlibgtop-devel
11042N/A#BuildRequires: SUNWgcc
10139N/A
10139N/A%package root
10139N/ASummary: %{summary} - / filesystem
10139N/ASUNW_BaseDir: /
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
10139N/A
10139N/A%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
16227N/A
16227N/A%ifarch amd64 sparcv9
16227N/Amkdir %name-%version/%_arch64
16227N/A%bug_buddy_64.prep -d %name-%version/%_arch64
16227N/A%endif
16227N/A
16227N/Amkdir %name-%version/%{base_arch}
16227N/A%bug_buddy.prep -d %name-%version/%{base_arch}
16227N/A
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
11307N/A%if %cc_is_gcc
11307N/A%else
11307N/Aexport CXX="${CXX} -norunpath"
11307N/A%endif
11307N/Aexport CXXFLAGS="%cxx_optflags"
11307N/A
11348N/Aexport CFLAGS="%optflags"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags"
16227N/A
16227N/A%ifarch amd64 sparcv9
16227N/A%bug_buddy_64.build -d %name-%version/%_arch64
16227N/A%endif
16227N/A
16227N/A%bug_buddy.build -d %name-%version/%{base_arch}
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
16227N/A
16227N/A%ifarch amd64 sparcv9
16227N/A%bug_buddy_64.install -d %name-%version/%_arch64
16227N/A%endif
16227N/A
16227N/A%bug_buddy.install -d %name-%version/%{base_arch}
16227N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
10139N/A
10139N/Arm -r $RPM_BUILD_ROOT%{_datadir}/applications
10139N/A
10139N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
16307N/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, sys) %{_datadir}
17792N/A%dir %attr (-, root, other) %{_datadir}/icons
18076N/A%dir %attr (-, root, other) %{_datadir}/icons/HighContrastLargePrint
18746N/A%dir %attr (-, root, other) %{_datadir}/icons/HighContrastLargePrint/*
18746N/A%dir %attr (-, root, other) %{_datadir}/icons/HighContrastLargePrint/*/*
17792N/A%{_datadir}/icons/HighContrastLargePrint/48x48/apps/bug-buddy.png
17792N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor
17792N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/*
17792N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps
17792N/A%{_datadir}/icons/hicolor/scalable/apps/bug-buddy.svg
17792N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/16x16/*
17792N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/22x22/*
17792N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/*
17792N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/32x32/*
17792N/A%dir %attr (-, root, other) %{_datadir}/icons/hicolor/48x48/*
17792N/A%{_datadir}/icons/hicolor/16x16/apps/bug-buddy.png
17792N/A%{_datadir}/icons/hicolor/22x22/apps/bug-buddy.png
17792N/A%{_datadir}/icons/hicolor/24x24/apps/bug-buddy.png
17792N/A%{_datadir}/icons/hicolor/32x32/apps/bug-buddy.png
17792N/A%{_datadir}/icons/hicolor/48x48/apps/bug-buddy.png
10139N/A%{_datadir}/bug-buddy
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
11131N/A%dir %attr(0755, root, bin) %{_libdir}
11131N/A%dir %attr(0755, root, bin) %{_libdir}/*
11131N/A%{_libdir}/*/*/*
16227N/A%doc -d %{base_arch}/bug-buddy-%{bug_buddy.version} AUTHORS README
16227N/A%doc -d %{base_arch}/bug-buddy-%{bug_buddy.version} google-breakpad/AUTHORS
16227N/A%doc -d %{base_arch}/bug-buddy-%{bug_buddy.version} google-breakpad/COPYING
16227N/A%doc -d %{base_arch}/bug-buddy-%{bug_buddy.version} google-breakpad/ChangeLog
16227N/A%doc -d %{base_arch}/bug-buddy-%{bug_buddy.version} google-breakpad/README
16227N/A%doc(bzip2) -d %{base_arch}/bug-buddy-%{bug_buddy.version} COPYING ChangeLog po/ChangeLog NEWS
14284N/A%dir %attr (0755, root, other) %{_datadir}/doc
10139N/A
10139N/A%files root
10522N/A%defattr (-, root, sys)
10139N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/bug-buddy.schemas
10139N/A
10139N/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
10139N/A%changelog
17792N/A* Thu Nov 26 2009 - christian.kelly@sun.com
17792N/A- Fix directory perms.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
16227N/A* Mon Mar 23 2009 - matt.keenn@sun.com
16227N/A- Add delivery of 64bit version of libgnomebreakpad.so #6819745
14284N/A* Thu Sep 11 2008 - matt.keenn@sun.com
14284N/A- Update copyright
12112N/A* Thu Jan 3 2008 - laca@sun.com
12112N/A- use gconf-install.script instead of an inline script
11348N/A* Thu Oct 4 2007 - laca@sun.com
11348N/A- delete unneeded env vars
11307N/A* Fri Sep 28 2007 - damien.carbery@sun.com
11307N/A- Add -norunpath to CXX path so that Sun internal runpaths are not embedded in
11307N/A libgnomebreakpad.so.
11131N/A* Tue Aug 28 2007 - matt.keenan@sun.com
11131N/A- update files for 2.19.91 tarball
11040N/A* Fri Aug 10 2007 - damien.carbery@sun.com
11040N/A- Unbump to 2.18.1 so that it builds.
11036N/A* Thu Aug 09 2007 - damien.carbery@sun.com
11036N/A- Change to use gcc.
10522N/A* Tue Apr 24 2007 - laca@sun.com
10522N/A- s/0755/-/ in defattr so that files are not made all executable
10139N/A* Fri Sep 08 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Tue Sep 05 2006 - damien.carbery@sun.com
10139N/A- Update packaging for new tarball.
10139N/A* Wed Aug 16 2006 - damien.carbery@sun.com
10139N/A- Change 'icons' line in %files to pick up files.
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- change datadir/icons permissions back to root:other since it's a stable
10139N/A interface and wasn't supposed to be changed
10139N/A* Wed Jul 26 2006 - damien.carbery@sun.com
10139N/A- Update packaging for new tarball (icons moved).
10139N/A* Fri Jul 14 2006 - laca@sun.com
10139N/A- update %post/%postun/etc scripts to support diskless client setup,
10139N/A part of 6448317
10139N/A* Thu Jun 29 2006 - laca@sun.com
10139N/A- update postrun scripts
10139N/A* Sun Jun 11 2006 - laca@sun.com
10139N/A- change group from other to bin/sys
10139N/A* Thu May 25 2006 - laca@sun.com
10139N/A- use post/preun scripts to install schemas into the merged gconf files
10139N/A* Wed May 10 2006 - laca@sun.com
10139N/A- merge -share pkg(s) into the base pkg(s)
10139N/A* Sun Feb 19 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Tue Nov 29 2005 - laca@sun.com
10139N/A- remove javahelp stuff
10139N/A* Fri Oct 28 2005 - damien.carbery@sun.com
10139N/A- Complete dependency listing.
10139N/A* Wed Oct 26 2005 - glynn.foster@sun.com
10139N/A- Resurrect bug-buddy, and get it to work with pstack
16401N/A
19230N/A
19547N/A