gnome-nettool.spec
author hh150184
Tue, 24 Jan 2006 11:56:37 +0000
branchgnome-2-12
changeset 19207 b59a653a3329
parent 6016 b54189f766bc
child 6689 ccad859aecd3
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 gnome-nettool
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
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     8
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
     9
Name:		gnome-nettool
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    10
License:	GPL
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    11
Group:		System/GUI/GNOME
6016
b54189f766bc *.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents: 5528
diff changeset
    12
Version:	1.3.92
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    13
Release:	1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    14
Distribution:	Java Desktop System
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    15
Vendor:		Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    16
Summary:	GNOME Networking Tools
5528
8eaf8a1cb170 * *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents: 5518
diff changeset
    17
Source:		http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.3/%{name}-%{version}.tar.bz2
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 libgnomeui_version 2.0.0
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    24
%define GConf_version 2.2.0
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    25
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    26
Requires:	libgnomeui >= %{libgnomeui_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    27
Requires:	GConf >= %{GConf_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    28
BuildRequires:  libgnomeui-devel >= %{libgnomeui_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    29
BuildRequires:  GConf-devel >= %{GConf_version}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    30
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    31
%description
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    32
GNOME Nettool is a set of front-ends to various networking command-line
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    33
tools, like ping, netstat, ifconfig, whois, traceroute, finger.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    34
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    35
%prep
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    36
%setup -q
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    37
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    38
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    39
%build
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    40
%ifos linux
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    41
if [ -x /usr/bin/getconf ]; then
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    42
  CPUS=`getconf _NPROCESSORS_ONLN`
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    43
fi
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    44
%else
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    45
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    46
%endif
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    47
if test "x$CPUS" = "x" -o $CPUS = 0; then
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    48
  CPUS=1
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    49
fi
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
CFLAGS="$RPM_OPT_FLAGS" \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    52
  ./configure \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    53
	--prefix=%{_prefix} \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    54
	--sysconfdir=%{_sysconfdir} \
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    55
	--mandir=%{_mandir}
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    56
make -j $CPUS
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    57
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    58
%install
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    59
make -i install DESTDIR=$RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    60
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    61
%clean
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    62
rm -rf $RPM_BUILD_ROOT
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    63
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    64
%files
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    65
%defattr (-, root, root)
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    66
%{_bindir}/*
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    67
%{_datadir}/applications/
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    68
%{_datadir}/gnome-nettool/
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    69
%{_datadir}/pixmaps/
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    70
%{_datadir}/locale/*/LC_MESSAGES/*.mo
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    71
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    72
%changelog
6016
b54189f766bc *.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents: 5528
diff changeset
    73
* Tue Sep 27 2005 - [email protected]
b54189f766bc *.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents: 5528
diff changeset
    74
- Bump to 1.3.92.
b54189f766bc *.spec: Bump versions. Fix Source url in some files without bumping.
dc144907
parents: 5528
diff changeset
    75
5528
8eaf8a1cb170 * *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents: 5518
diff changeset
    76
* Mon Aug 15 2005 - [email protected]
8eaf8a1cb170 * *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents: 5518
diff changeset
    77
- Bump to 1.3.91.
8eaf8a1cb170 * *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents: 5518
diff changeset
    78
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    79
* Tue May 24 2005 - [email protected]
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents:
diff changeset
    80
- Initial spec