10139N/A#
10139N/A# spec file for package SUNWgnome-calculator
10139N/A#
10139N/A# includes module(s): gcalctool
10139N/A#
18909N/A# Copyright 2010 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#
17185N/A%define owner laca
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%use gcalctool = gcalctool.spec
10139N/A
10139N/AName: SUNWgnome-calculator
18688N/AIPS_package_name: desktop/calculator/gcalctool
18688N/AMeta(info.classification): %{classification_prefix}:Applications/Accessories
10139N/ASummary: GNOME calculator utility
19013N/AVersion: %{gcalctool.version}
10139N/ASource: %{name}-manpages-0.1.tar.gz
10139N/ASUNW_BaseDir: %{_basedir}
12790N/ASUNW_Copyright: %{name}.copyright
19140N/ALicense: %{gcalctool.license}
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/A
10139N/A%include default-depend.inc
20857N/A%include desktop-incorporation.inc
16401N/ARequires: SUNWlibglade
10139N/ARequires: SUNWgnome-calculator-root
10139N/ARequires: SUNWgnome-libs
10139N/ARequires: SUNWgnome-config
10139N/ARequires: SUNWlibms
16401N/ABuildRequires: SUNWlibglade-devel
10139N/ABuildRequires: SUNWgnome-config-devel
16307N/ARequires: SUNWdesktop-cache
18850N/ABuildRequires: SUNWgnome-doc-utils
10139N/A
10139N/A%package l10n
10139N/ASummary: %{summary} - l10n files
10139N/ARequires: %{name}
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%prep
10139N/Arm -rf %name-%version
10139N/Amkdir %name-%version
10139N/A%gcalctool.prep -d %name-%version
10139N/Acd %{_builddir}/%name-%version
10139N/Agzcat %SOURCE0 | tar xf -
10139N/A
10139N/A%build
10139N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
10139N/Aexport CFLAGS="%optflags -I%{_includedir}"
10139N/Aexport RPM_OPT_FLAGS="$CFLAGS"
10139N/Aexport LDFLAGS="%_ldflags"
10139N/A
10139N/A%gcalctool.build -d %name-%version
10139N/A
10139N/A%install
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A%gcalctool.install -d %name-%version
10139N/A
10139N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
10139N/Acd %{_builddir}/%name-%version/sun-manpages
10139N/Amake install DESTDIR=$RPM_BUILD_ROOT
18926N/Arm $RPM_BUILD_ROOT%{_datadir}/gnome/help/*/.help.copyright
18934N/Armdir $RPM_BUILD_ROOT%{_datadir}/gnome/help/[a-z][a-z]
18934N/Armdir $RPM_BUILD_ROOT%{_datadir}/gnome/help/[a-z][a-z]_*
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 desktop-mime-cache gconf-cache
10139N/A
10139N/A%postun
16307N/A%restart_fmri desktop-mime-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}
10139N/A%dir %attr (0755, root, other) %{_datadir}/applications
11288N/A%{_datadir}/applications/*
11827N/A%{_datadir}/gcalctool
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%{_datadir}/gnome/help/*/C
10139N/A%dir %attr(0755, root, bin) %{_mandir}
10139N/A%dir %attr(0755, root, bin) %{_mandir}/*
10139N/A%{_mandir}/*/*
10139N/A
10139N/A%files l10n
10139N/A%defattr (-, root, bin)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, other) %{_datadir}/gnome
10139N/A%attr (-, root, other) %{_datadir}/locale
10139N/A%{_datadir}/gnome/help/*/[a-z]*
10139N/A
10139N/A%files root
10522N/A%defattr (-, root, sys)
10139N/A%attr (0755, root, sys) %dir %{_sysconfdir}
10139N/A%{_sysconfdir}/gconf/schemas/gcalctool.schemas
10139N/A
10139N/A%changelog
18850N/A* Tue Jun 08 2010 - Michal.Pryc@Oracle.Com
18850N/A- Updated BuildRequires to fit SourceJuicer.
16307N/A* Fri Apr 3 2009 - laca@sun.com
16307N/A- use desktop-cache instead of postrun
12112N/A* Thu Jan 3 2008 - laca@sun.com
12112N/A- use gconf-install.script instead of an inline script
11827N/A* Wed Oct 31 2007 - damien.carbery@sun.com
11827N/A- Add %{_datadir}/gcalctool to %files.
11288N/A* Fri Sep 21 2007 - brian.cameron@sunc.om
11288N/A- Re-add the desktop file back into the packaging. It wasn't getting
11288N/A built before because we weren't calling the proper autotools.
11079N/A* Thu Aug 16 2007 - damien.carbery@sun.com
11079N/A- Remove %files line because dir not installed.
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 01 2006 - Matt.Keenan@sun.com
10139N/A- New Manpage tarball
10139N/A* Sat Aug 12 2006 - laca@sun.com
10139N/A- delete some unnecessary env variables
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* Tue May 09 2006 - laca@sun.com
10139N/A- merge -share pkg(s) into the base pkg(s)
10139N/A* Mon Feb 20 2006 - damien.carbery@sun.com
10139N/A- Update Build/Requires after running check-deps.pl script.
10139N/A* Sat Dec 3 2005 - laca@sun.com
10139N/A- add %post script that runs update-desktop-database
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- Remove more l10n files for non-l10n build.
10139N/A* Tue May 25 2005 - brian.cameron@sun.com
10139N/A- Bump to 2.10.0, fix packaging.
10139N/A* Sat Oct 02 2004 - laca@sun.com
10139N/A- added %pkgbuild_postprocess
10139N/A* Wed Aug 25 2004 - Kazuhiko.Maekawa@sun.com
10139N/A- Updated files sect to extracted l10n help into l10n pkg
10139N/A- s/SUNWpl5u/SUNWperl584usr/
10139N/A* Mon Aug 23 2004 - laca@sun.com
10139N/A- s/SUNWpl5u/SUNWperl584usr/
10139N/A* Wed Aug 18 2004 damien.carbery@sun.com
10139N/A- Change manpage perms for Solaris integration.
10139N/A* Sat Jun 26 2004 shirley.woo@sun.com
10139N/A- Changed install location to /usr/...
10139N/A* Wed Jun 2 2004 - takao.fujiwara@sun.com
10139N/A- Added %{_datadir}/locale to install l10n messages
10139N/A* Thu May 06 2004 - brian.cameron@sun.com
10139N/A- Removed %{_sysconfdir}/gconf from share package since
10139N/A it is already included in root.
10139N/A* Wed Mar 24 2004 - brian.cameron@sun.com
10139N/A- Added SGML man page integration
10139N/A* Mon Mar 01 2004 - laca@sun.com
10139N/A- define PERL5LIB
10139N/A* Mon Feb 23 2004 - niall.power@sun.com
10139N/A- add a *-root package and install schemas
10139N/A- fix up dependencies
16401N/A
19219N/A
19536N/A