base-specs/tack.spec
author laca
Wed, 21 Jul 2010 10:40:24 +0000
changeset 18266 113621622ba8
parent 17842 1cc615f41f16
permissions -rw-r--r--
2010-07-21 Laszlo (Laca) Peter <[email protected]> Source links, summaries and other trivial changes from Rich Lowe. * base-specs/firefox.spec: fix conditional patch macro * specs/SUNWlibpigment-python26.spec: add summary * base-specs/gnome-mount.spec, base-specs/gnome-netstatus.spec, base-specs/jds-registration.spec, base-specs/libpng10.spec, base-specs/realvnc-java-client.spec, base-specs/tack.spec, base-specs/ttf-baekmuk.spec, base-specs/w3m.spec, specs/SUNWgnome-solaris-branding.spec, specs/SUNWjpg.spec, specs/SUNWslocate.spec, specs/SUNWswt.spec: fix source urls
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16197
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
     1
#
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
     2
# spec file for package tack 
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
     3
#
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
     4
# Copyright (c) 2009 Sun Microsystems, Inc.
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
     6
# package are under the same license as the package itself.
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16197
diff changeset
     8
%define owner jouby 
16197
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
     9
# bugdb :
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    10
#
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    11
17842
1cc615f41f16 2010-04-15 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    12
%define OSR 12493:1.06
1cc615f41f16 2010-04-15 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    13
16197
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    14
Name:	        tack	
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    15
Version:        1.06	
18266
113621622ba8 2010-07-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 17842
diff changeset
    16
IPS_Component_Version: 1.0.6
16197
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    17
Release:        1
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    18
License:        GPLv2	
17842
1cc615f41f16 2010-04-15 Christian Kelly <[email protected]>
chrisk
parents: 16434
diff changeset
    19
Vendor:         gnu.org
16197
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    20
Group:    System/Libraries
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    21
Distribution:	Java Desktop System
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    22
Vendor:		Sun Microsystems, Inc.
18266
113621622ba8 2010-07-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 17842
diff changeset
    23
Summary: Tack is a diagnostic that is designed to create and verify the correctness of terminfos
113621622ba8 2010-07-21 Laszlo (Laca) Peter <[email protected]>
laca
parents: 17842
diff changeset
    24
Source:   http://ftp.gnu.org/gnu/ncurses/%{name}-%{version}.tar.gz
16197
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    25
URL:		 http://www.gnu.org/software/ncurses/
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    26
BuildRoot:	%{_tmppath}/%{name}-%{version}-build
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    27
Docdir:		%{_defaultdocdir}/ncurses
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    28
Autoreqprov:	on
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    29
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    30
%description
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    31
This program is a diagnostic that is designed to create and
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    32
verify the correctness of terminfo's.  This program can be used to
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    33
create new terminal descriptions that are not included in the standard
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    34
release.
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    35
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    36
%prep
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    37
%setup -q
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    38
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    39
%build
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    40
%ifos linux
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    41
if [ -x /usr/bin/getconf ]; then
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    42
  CPUS=`getconf _NPROCESSORS_ONLN`
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    43
fi
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    44
%else
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    45
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    46
%endif
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    47
if test "x$CPUS" = "x" -o $CPUS = 0; then
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    48
  CPUS=1
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    49
fi
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    50
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    51
CFLAGS="$RPM_OPT_FLAGS"                  \
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    52
./configure  --prefix=%{_prefix} --mandir=%{_mandir} --sysconfdir=%{_sysconfdir} --includedir=%{_preincludedir} --datadir=%{_datadir} --bindir=%{_bindir} --libdir=%{_libdir} --enable-widec         
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    53
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    54
make -j $CPUS
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    55
 
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    56
%install
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    57
make DESTDIR=$RPM_BUILD_ROOT install 
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    58
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    59
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    60
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    61
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    62
%files
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    63
%defattr(-, root, root)
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    64
%{_bindir}/*
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    65
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    66
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    67
%clean
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    68
rm -r $RPM_BUILD_ROOT
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    69
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    70
%changelog
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    71
* Tue Jul 26 2009 - [email protected]
dd020dde6145 The tack program is distributed separately from ncurses(SUNWncurese)
jouby
parents:
diff changeset
    72
- Initial spec file created.