SUNWgnome-a11y-dasher.spec revision 19142
13407N/A#
13407N/A# spec file for package SUNWgnome-a11y-dasher
13407N/A#
13407N/A# includes module(s): dasher
13407N/A#
17185N/A# Copyright 2009 Sun Microsystems, Inc.
13407N/A# This file and all modifications and additions to the pristine
17182N/A# package are under the same license as the package itself.
17182N/A#
13407N/A%define owner yippi
13407N/A#
13407N/A%include Solaris.inc
18688N/A
18688N/A%use dasher = dasher.spec
17063N/A
13407N/AName: SUNWgnome-a11y-dasher
13407N/AIPS_package_name: gnome/accessibility/dasher
13407N/AMeta(info.classification): %{classification_prefix}:Applications/Universal Access
13407N/ASummary: Predictive text entry system
13407N/AVersion: %{dasher.version}
13407N/ASource: %{name}-manpages-0.1.tar.gz
13407N/ASUNW_BaseDir: %{_prefix}
13407N/ASUNW_Copyright: %{name}.copyright
13407N/ALicense: %{dasher.license}
16792N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
16792N/A%include default-depend.inc
16792N/A%include gnome-consolidation.inc
13407N/ABuildRequires: SUNWlibglade-devel
16401N/ABuildRequires: SUNWgnome-libs-devel
13407N/ABuildRequires: SUNWgnome-a11y-libs-devel
13407N/ABuildRequires: SUNWgnome-a11y-speech-devel
16401N/ABuildRequires: SUNWgnome-component-devel
13407N/ABuildRequires: SUNWgnome-config-devel
20857N/ABuildRequires: SUNWgnome-vfs-devel
13407N/ABuildRequires: SUNWlibpopt-devel
20857N/ABuildRequires: SUNWgnome-doc-utils
19846N/ABuildRequires: SUNWgtk-doc
13407N/ARequires: SUNWlibglade
13407N/ARequires: SUNWlexpt
13407N/ARequires: SUNWgnome-a11y-libs
13407N/ARequires: SUNWgnome-a11y-speech
20857N/ARequires: SUNWgnome-libs
13407N/ARequires: SUNWgnome-component
13407N/ARequires: SUNWgnome-config
13407N/ARequires: SUNWgnome-vfs
13407N/ARequires: SUNWlibpopt
16800N/ARequires: SUNWlibC
13407N/ARequires: SUNWlibms
13407N/ARequires: SUNWdesktop-cache
13407N/ARequires: SUNWgnome-keyring
13407N/ARequires: SUNWlibgnome-keyring
13407N/ARequires: %{name}-root
13407N/A
13407N/A%package root
18629N/ASummary: %{summary} - / filesystem
18629N/ASUNW_BaseDir: /
13407N/A%include default-depend.inc
13407N/A%include gnome-consolidation.inc
13407N/A
13407N/A%if %build_l10n
13407N/A%package l10n
13407N/AIPS_package_name: gnome/accessibility/dasher/l10n
13407N/ASummary: %{summary} - l10n files
13407N/ASUNW_BaseDir(relocate_from:%{_prefix}): %{_gnome_il10n_basedir}
13407N/A%include default-depend.inc
13407N/A%include gnome-consolidation.inc
13407N/ARequires: %{name}
13407N/A%endif
13407N/A
13407N/A%prep
13407N/Arm -rf %name-%version
13407N/Amkdir %name-%version
13407N/A%dasher.prep -d %name-%version
13407N/Acd %{_builddir}/%name-%version
13407N/Agzcat %SOURCE0 | tar xf -
13407N/A
14352N/A%build
14352N/Aexport PKG_CONFIG_PATH=%{_pkg_config_path}
14387N/Aexport CFLAGS="%optflags -I/usr/sfw/include"
14352N/Aexport CPPFLAGS="-I/usr/sfw/include"
13407N/Aexport CXXFLAGS="%cxx_optflags -staticlib=stlport4"
13407N/Aexport RPM_OPT_FLAGS="$CFLAGS"
13407N/Aexport LDFLAGS="%_ldflags -L/usr/sfw/lib -R/usr/sfw/lib"
13407N/A%dasher.build -d %name-%version
13407N/A
13407N/A%install
13407N/A%dasher.install -d %name-%version
13407N/Arm -rf $RPM_BUILD_ROOT%{_mandir}
13407N/Acd %{_builddir}/%name-%version/sun-manpages
13407N/Amake install DESTDIR=$RPM_BUILD_ROOT
13407N/A
13407N/A%if %build_l10n
13407N/A%else
13407N/A# REMOVE l10n FILES
13407N/Arm -r $RPM_BUILD_ROOT%{_datadir}/locale
13407N/A%endif
13407N/Arm -rf $RPM_BUILD_ROOT/var
18629N/A
18629N/A%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):supported" $RPM_BUILD_ROOT}
16800N/A
16800N/A%clean
16792N/Arm -rf $RPM_BUILD_ROOT
16792N/A
14387N/A%post
14387N/A%restart_fmri desktop-mime-cache gconf-cache
13435N/A
13435N/A%postun
13407N/A%restart_fmri desktop-mime-cache
13407N/A
13407N/A%files
13407N/A%defattr (-, root, bin)
13407N/A%dir %attr (0755, root, bin) %{_bindir}
13407N/A%{_bindir}/*
13407N/A%dir %attr (0755, root, sys) %{_datadir}
13407N/A%dir %attr (0755, root, other) %{_datadir}/applications
13407N/A%{_datadir}/applications/*
13407N/A%{_datadir}/dasher
%dir %attr (0755, root, other) %{_datadir}/gnome
%{_datadir}/gnome/help
%attr (-, root, other) %{_datadir}/icons
%doc -d dasher-%{dasher.version} AUTHORS README
%doc(bzip2) -d dasher-%{dasher.version} COPYING NEWS
%doc(bzip2) -d dasher-%{dasher.version} ChangeLog po/ChangeLog
%doc(bzip2) -d dasher-%{dasher.version} Data/Help/Gnome/ChangeLog
%dir %attr (0755, root, other) %{_datadir}/doc
%dir %attr (0755, root, bin) %{_datadir}/man
%dir %attr (0755, root, bin) %{_datadir}/man/man1
%{_datadir}/man/man1/*
%{_datadir}/omf
%files root
%defattr (-, root, sys)
%attr (0755, root, sys) %dir %{_sysconfdir}
%{_sysconfdir}/gconf/schemas/dasher.schemas
%if %build_l10n
%files l10n
%defattr (-, root, bin)
%dir %attr (0755, root, sys) %{_datadir}
%attr (-, root, other) %{_datadir}/locale
%endif
%changelog
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun
* Fri Sep 11 2008 - brian.cameron@sun.com
- Add new copyright files.
* Wed Apr 02 2008 - brian.cameron@sun.com
- Add SUNW_Copyright
* Thu Jan 3 2008 - laca@sun.com
- use gconf-install.script instead of an inline script
* Fri Sep 28 2007 - laca@sun.com
- delete Nevada X deps
- delete some unneeded env vars
* Sat Aug 18 2007 - damien.carbery@sun.com
- Add -f to rm call to delete /var in %install.
* Wed May 16 2007 - damien.carbery@sun.com
- Set CPPFLAGS in %build so that expat.h under /usr/sfw/include can be found.
* Tue Apr 24 2007 - laca@sun.com
- s/0755/-/ in defattr so that files are not made all executable
* Thu Jan 04 2007 - damien.carbery@sun.com
- Remove '-f' from rm calls so that changes that require spec file changes are
seen quickly.
* Wed Dec 06 2006 - damien.carbery@sun.com
- Add root package for dasher.schemas, and %post/%preun scripts to accompany
the new package.
* Mon Aug 28 2006 - brian.cameron@sun.com
- install the NROFF manpage until we convert it to SGML.
* Sat Aug 12 2006 - laca@sun.com
- change datadir/icons permissions back to root:other since it's a stable
interface and wasn't supposed to be changed
* Thu Jul 27 2006 - damien.carbery@sun.com
- Delete scrollkeeper files before packaging.
* Fri Jul 14 2006 - laca@sun.com
- update %post/%postun/etc scripts to support diskless client setup,
part of 6448317
* Thu Jun 29 2006 - laca@sun.com
- update postrun scripts
* Fri Jun 23 2006 - brian.cameron@sun.com
- Remove '-library=stlport' from CXXFLAGS so it the library is not dynamically
linked.
* Sun Jun 11 2006 - laca@sun.com
- change group from other to bin/sys
* Thu May 04 2006 - laca@sun.com
- merge -share pkg(s) into the base pkg(s)
* Thu Feb 23 2006 - damien.carbery@sun.com
- Update Build/Requires after running check-deps.pl script.
* Tue Feb 14 2006 - damien.carbery@sun.com
- Set CXXFLAGS to find stlport4.
* Sat Dec 3 2005 - laca@sun.com
- add %post script that runs update-desktop-database
* Fri Sep 30 2005 - brian.cameron@sun.com
- Correct packaging.
* Tue Sep 20 2005 - laca@sun.com
- add /usr/sfw/ to LDFLAGS and CFLAGS
- add expat dependencies
* Tue Sep 20 2005 - glynn.foster@sun.com
- Initial SUNWgnome-a11y-dasher package