base-specs/gnome-nettool.spec
author convert-repo
Tue, 28 Sep 2010 11:41:29 +0000
changeset 20122 34a34bffcb68
parent 17864 337913e88a9d
permissions -rw-r--r--
update tags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     1
#
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     2
# spec file for package gnome-nettool
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     3
#
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     4
# Copyright (c) 2008 Sun Microsystems, Inc.
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     6
# package are under the same license as the package itself.
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     7
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16427
diff changeset
     8
%define owner gheet
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
     9
#
16427
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16103
diff changeset
    10
17852
edfc096bfd70 2010-04-16 Christian Kelly <[email protected]>
chrisk
parents: 17829
diff changeset
    11
%define OSR LFI#105446 (gnome Exec. summary):n/a
16427
63d81b085adb 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 16103
diff changeset
    12
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    13
%include l10n.inc
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    14
Name:               gnome-nettool
17864
337913e88a9d 2010-04-19 Christian Kelly <[email protected]>
chrisk
parents: 17852
diff changeset
    15
Vendor:             Gnome Community
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    16
License:	    GPL/LGPL
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    17
Group:		    System/GUI/GNOME
17829
0547112a4108 2010-04-12 Christian Kelly <[email protected]>
chrisk
parents: 16645
diff changeset
    18
Version:            2.30.0
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    19
Release:	    1
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    20
Summary:	    GNOME Network Tools
17829
0547112a4108 2010-04-12 Christian Kelly <[email protected]>
chrisk
parents: 16645
diff changeset
    21
Source:		    http://ftp.gnome.org/pub/GNOME/sources/gnome-nettool/2.30/gnome-nettool-%{version}.tar.bz2
14432
b1ee47db7642 2008-10-09 Ghee Teo - <[email protected]>
gheet
parents: 13822
diff changeset
    22
#owner:gheet date:2008-09-10 type:feature bugster:6736233
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    23
Patch1:             %{name}-01-sun-patch.diff
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    24
SUNW_BaseDir:       %{_basedir}
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    25
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    26
%include default-depend.inc
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    27
Requires:           SUNWgnome-libs
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    28
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    29
%if %build_l10n
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    30
%package l10n
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    31
Summary:                 %{summary} - l10n files
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    32
SUNW_BaseDir:		 %{_basedir}
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    33
%include default-depend.inc
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    34
Requires:	 %{name}
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    35
%endif
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    36
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    37
%prep
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    38
rm -rf %name-%version
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    39
mkdir -p %name-%version
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    40
%setup -q 
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    41
%patch1 -p1
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    42
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    43
%build
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    44
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    45
if test "x$CPUS" = "x" -o $CPUS = 0; then
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    46
    CPUS=1
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    47
fi
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    48
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    49
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    50
export CFLAGS="%optflags -I/usr/include"
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    51
export RPM_OPT_FLAGS="$CFLAGS"
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    52
15451
8ee2740eb12d 2009-03-19 ghee teo <[email protected]>
gheet
parents: 14432
diff changeset
    53
libtoolize --force --copy
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    54
aclocal $ACLOCAL_FLAGS -I .
15451
8ee2740eb12d 2009-03-19 ghee teo <[email protected]>
gheet
parents: 14432
diff changeset
    55
autoheader
8ee2740eb12d 2009-03-19 ghee teo <[email protected]>
gheet
parents: 14432
diff changeset
    56
automake -a -c -f
8ee2740eb12d 2009-03-19 ghee teo <[email protected]>
gheet
parents: 14432
diff changeset
    57
#automake --add-missing
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    58
autoconf
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    59
CFLAGS="$RPM_OPT_FLAGS"
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    60
./configure \
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    61
    --prefix=%{_prefix} \
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    62
    --datadir=%{_datadir}
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    63
make -j $CPUS
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    64
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    65
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    66
%install
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    67
rm -rf $RPM_BUILD_ROOT
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    68
make install DESTDIR=$RPM_BUILD_ROOT
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    69
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    70
%if %build_l10n
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    71
%else
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    72
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    73
%endif
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    74
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    75
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    76
%if %{!?_without_gtk_doc:0}%{?_without_gtk_doc:1}
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    77
rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    78
%endif
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    79
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    80
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    81
%clean
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    82
#rm -rf $RPM_BUILD_ROOT
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    83
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    84
%files
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    85
%defattr (-, root, bin)
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    86
%dir %attr (0755, root, bin) %{_bindir}
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    87
%{_bindir}/*
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    88
%dir %attr (0755, root, other) %{_datadir}/applications
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    89
%{_datadir}/applications/*
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    90
%dir %attr (0755, root, other) %{_datadir}/icons
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    91
%{_datadir}/icons/*
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    92
%dir %attr (0755, root, other) %{_datadir}/%{name}
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    93
%{_datadir}/%{name}/*
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    94
%dir %attr (0755, root, other) %{_datadir}/gnome
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    95
%{_datadir}/gnome/*
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    96
%dir %attr (0755, root, other) %{_datadir}/omf
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    97
%{_datadir}/omf/*
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    98
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
    99
%if %build_l10n
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   100
%files l10n
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   101
%defattr (-, root, bin)
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   102
%dir %attr (0755, root, sys) %{_datadir}
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   103
%attr (-, root, other) %{_datadir}/locale
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   104
%endif
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   105
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   106
%changelog
16645
150e27c91287 2009-09-24 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
   107
* Wed Sep 23 2009 - [email protected]
150e27c91287 2009-09-24 Dave Lin <[email protected]>
davelam
parents: 16434
diff changeset
   108
- Bump to 2.28.0
15902
2480f9131304 2009-06-15 Ghee Teo - <[email protected]>
gheet
parents: 15650
diff changeset
   109
* Mon Jun 15 2009 - [email protected]
2480f9131304 2009-06-15 Ghee Teo - <[email protected]>
gheet
parents: 15650
diff changeset
   110
- Bump to 2.26.2
15628
2d07f9379a86 2009-04-16 Dave Lin <[email protected]>
davelam
parents: 15451
diff changeset
   111
* Wed Apr 15 2009 - [email protected]
2d07f9379a86 2009-04-16 Dave Lin <[email protected]>
davelam
parents: 15451
diff changeset
   112
- Bump to 2.26.1
13822
903591b24a9d 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13492
diff changeset
   113
* Mon Sep 29 2008 - [email protected]
903591b24a9d 2008-09-29 Christian Kelly <[email protected]>
chrisk
parents: 13492
diff changeset
   114
- Bump to 2.22.1.
13492
fa06dfd3a477 2008-09-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 13326
diff changeset
   115
* Wed Sep 10 2008 - [email protected]
fa06dfd3a477 2008-09-10 Takao Fujiwara <[email protected]>
fujiwara
parents: 13326
diff changeset
   116
- Update 01-sun-patch.diff to enable ping hostname.
13285
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   117
* Mon Aug 04 2008 - [email protected]
ce15225eaad7 2008-08-26 Ghee Teo <[email protected]>
gheet
parents:
diff changeset
   118
- Initial spec