dasher.spec
author hh150184
Tue, 24 Jan 2006 11:56:37 +0000
branchgnome-2-12
changeset 19207 b59a653a3329
parent 6056 0621144e1ff7
child 6628 013528515881
permissions -rw-r--r--
* evolution-jescs.spec: Bump to 2.4.4, Remove unused define evolution_imagesdir and evolution_libsdir, Remove hard code 1.2, 2.4. * Solaris/SUNWevolution-jescs.spec: Remove *.la under /usr/lib when install, s/evolution-data-server-1.2/evolution-data-server-*/g.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     1
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     2
# spec file for package dasher
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     3
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     6
# package are under the same license as the package itself.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     7
#
5775
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5518
diff changeset
     8
Name:           dasher
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     9
License:	GPL
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    10
Group:		System/GUI/GNOME
5775
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5518
diff changeset
    11
Version:        3.2.18
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    12
Release:	1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    13
Distribution:	Java Desktop System
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    14
Vendor:		Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    15
Summary:	Predictive text entry system
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    16
Source:		http://ftp.gnome.org/pub/GNOME/sources/dasher/3.2/%{name}-%{version}.tar.bz2
6056
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    17
Patch1:         dasher-01-trace.diff
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    18
URL:		http://www.gnome.org
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    19
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    20
Docdir:		%{_defaultdocdir}/%{name}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    21
Autoreqprov:	on
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    22
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    23
%define gtk2_version 2.3.1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    24
%define GConf_version 2.4.0.1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    25
%define libgnomeui_version 2.6.0
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    26
%define libwnck_version 2.6.0
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    27
%define gnome_speech_version 0.3.0
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    28
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    29
Requires:	gtk2 >= %{gtk2_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    30
Requires:	GConf >= %{GConf_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    31
Requires:	libgnomeui >= %{libgnomeui_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    32
Requires:	libwnck >= %{libwnck_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    33
Requires:	gnome-speech >= %{gnome_speech_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    34
BuildRequires:  gtk2-devel >= %{gtk2_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    35
BuildRequires:  GConf-devel >= %{GConf_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    36
BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    37
BuildRequires:  libwnck-devel >= %{libwnck_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    38
BuildRequires:  gnome-speech-devel >= %{gnome_speech_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    39
BuildRequires:  intltool
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    40
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    41
%description
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    42
Dasher is a zooming predictive text entry system, designed for situations
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    43
where keyboard input is impractical (for instance, accessibility or PDAs). It
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    44
is usable with highly limited amounts of physical input while still allowing
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    45
high rates of text entry.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    46
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    47
%prep
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    48
%setup -q
6056
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    49
%patch1 -p1
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    50
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    51
%build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    52
%ifos linux
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    53
if [ -x /usr/bin/getconf ]; then
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    54
  CPUS=`getconf _NPROCESSORS_ONLN`
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    55
fi
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    56
%else
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    57
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    58
%endif
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    59
if test "x$CPUS" = "x" -o $CPUS = 0; then
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    60
  CPUS=1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    61
fi
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    62
6056
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    63
aclocal $ACLOCAL_FLAGS
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    64
autoheader
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    65
automake -a -c -f
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    66
autoconf
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    67
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    68
CFLAGS="$RPM_OPT_FLAGS" \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    69
  ./configure \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    70
	--prefix=%{_prefix} \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    71
	--sysconfdir=%{_sysconfdir} \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    72
	--mandir=%{_mandir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    73
make -j $CPUS
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    74
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    75
%install
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    76
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    77
make -i install DESTDIR=$RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    78
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    79
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    80
%clean
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    81
rm -rf $RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    82
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    83
%files
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    84
%defattr (-, root, root)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    85
%{_bindir}/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    86
%{_datadir}/applications
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    87
%{_datadir}/dasher
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    88
%{_datadir}/gnome/help
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    89
%{_datadir}/icons
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    90
%{_datadir}/locale/*/LC_MESSAGES/*.mo
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    91
%{_datadir}/man
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    92
%{_datadir}/omf
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    93
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    94
%changelog
6056
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    95
* Fri Sep 30 2005 - [email protected]
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    96
- Add patch 1 to get dasher to compiler.  Got Trace.cpp from
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    97
  CVS head.  Seems to be a bug in dasher that this file isn't
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    98
  included in the compile, so submitted a bug to bugzilla.  
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
    99
  I suspect Forte's stricter linking rules cause this issue
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
   100
  on Solaris.
0621144e1ff7 2005-09-30 Brian Cameron <[email protected]>
bc99092
parents: 5775
diff changeset
   101
5775
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5518
diff changeset
   102
* Thu Sep 08 2005 - [email protected]
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5518
diff changeset
   103
- Bump to 3.2.18.
b684d7492229 * at-spi.spec: Bump to 1.6.6.
dc144907
parents: 5518
diff changeset
   104
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   105
* Tue May 24 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
   106
- Initial spec