Cross Reference: SUNWnet6.spec
xref
: /
solaris-desktop
/
specs
/
SUNWnet6.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
SUNWnet6.spec revision 19126
18861
N/A
#
18861
N/A
# spec file for package SUNWnet6
18861
N/A
#
18861
N/A
# Copyright (c) 2010 Sun Microsystems, Inc.
18861
N/A
# This file and all modifications and additions to the pristine
18861
N/A
# package are under the same license as the package itself.
18861
N/A
#
18861
N/A
%
define
owner
kevmca
18861
N/A
#
18861
N/A
18861
N/A
%
include
Solaris.inc
18861
N/A
18861
N/A
%
define
OSR
9813
:
1.3
18861
N/A
18861
N/A
Name
:
SUNWnet6
18861
N/A
IPS_package_name
:
library
/c++/
net6
18861
N/A
Meta
(
info.classification
)
: %{
classification_prefix
}:
Development
/
System
18861
N/A
License
:
LGPLv2
.
1
18861
N/A
Version
:
1.3
.
12
18861
N/A
Vendor
:
cdrkit.org
18861
N/A
Summary
: A
library
which
eases
the
development
of
network
-
based
applications
18861
N/A
Source
:
http
://
releases.0x539.de
/
net6
/
net6
-%{
version
}
.tar.gz
18861
N/A
%
if
%
build_l10n
18861
N/A
Source1
:
l10n-configure.sh
18861
N/A
%
endif
18861
N/A
Patch1
:
net6-01-close-prototype.diff
18861
N/A
SUNW_Basedir
: %{
_basedir
}
18861
N/A
SUNW_Copyright
: %{
name
}.
copyright
18861
N/A
URL
:
http
://
gobby.0x539.de
/
18861
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
18861
N/A
18861
N/A
%
include
default-depend.inc
18861
N/A
Requires
:
SUNWsigcpp
18861
N/A
Requires
:
SUNWgnutls
18861
N/A
Requires
:
SUNWlibgpg
-
error
18861
N/A
BuildRequires
:
SUNWsigcpp
-
devel
18861
N/A
BuildRequires
:
SUNWgnutls
-
devel
18862
N/A
BuildRequires
:
SUNWbtool
18861
N/A
18861
N/A
%
package
devel
18861
N/A
Summary
: %{
summary
} -
development
files
18861
N/A
SUNW_BaseDir
: %{
_basedir
}
18861
N/A
%
include
default-depend.inc
18861
N/A
Requires
: %
name
18861
N/A
18861
N/A
%
if
%
build_l10n
18861
N/A
%
package
l10n
19126
N/A
IPS_package_name
:
library
/c++/
net6
/
l10n
18861
N/A
Summary
: %{
summary
} -
l10n
files
19126
N/A
SUNW_BaseDir
(
relocate_from
:%{
_prefix
})
: %{
_dto_il10n_basedir
}
18861
N/A
%
include
default-depend.inc
18861
N/A
Requires
: %{
name
}
18861
N/A
%
endif
18861
N/A
18861
N/A
%
description
18861
N/A
net6
is
a
library
which
eases
the
development
of
network
-
based
applications
18861
N/A
as
it
provides
a
TCP
protocol
abstraction
for
C++.
It
is
portable
to
both
18861
N/A
the
Windows
and
Unix
-
like
platforms
.
18861
N/A
18861
N/A
%
prep
18861
N/A
%
setup
-q -n
net6
-%{
version
}
18861
N/A
%
patch1
-
p1
18861
N/A
18861
N/A
%
build
18861
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
18861
N/A
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
18861
N/A
CPUS
=
1
18861
N/A
fi
18861
N/A
18861
N/A
%
if
%
cc_is_gcc
18861
N/A
%
else
18861
N/A
export
CXX
=
"${CXX} -norunpath"
18861
N/A
%
endif
18861
N/A
export
CXXFLAGS
=
"%cxx_optflags"
18861
N/A
18861
N/A
%
if
%
build_l10n
18861
N/A
sh
%
SOURCE1
--
enable
-
copyright
18861
N/A
%
endif
18861
N/A
export
ACLOCAL_FLAGS
=
"-I %{_datadir}/aclocal"
18861
N/A
libtoolize
--
force
18861
N/A
aclocal
$ACLOCAL_FLAGS
18861
N/A
autoconf
18861
N/A
automake
-a -c -f
18861
N/A
./
configure
--
prefix
=%{
_prefix
} --
mandir
=%{
_mandir
} \
18861
N/A
--
libdir
=%{
_libdir
} \
18861
N/A
--
libexecdir
=%{
_libexecdir
} \
18861
N/A
--
sysconfdir
=%{
_sysconfdir
} --
disable
-
python
18861
N/A
18861
N/A
make
-j
$CPUS
18861
N/A
18861
N/A
%
install
18861
N/A
rm
-
rf
$RPM_BUILD_ROOT
18861
N/A
make
install
DESTDIR
=
$RPM_BUILD_ROOT
18861
N/A
18861
N/A
%
if
%
build_l10n
18861
N/A
%
else
18861
N/A
# REMOVE l10n FILES
18861
N/A
rm
-
rf
$RPM_BUILD_ROOT
%{
_datadir
}
18861
N/A
%
endif
18861
N/A
18861
N/A
rm
-f
$RPM_BUILD_ROOT
%{
_libdir
}/
lib
*a
18861
N/A
18861
N/A
%
clean
18861
N/A
rm
-
rf
$RPM_BUILD_ROOT
18861
N/A
18861
N/A
%
files
18861
N/A
%
doc
COPYING
AUTHORS
NEWS
ChangeLog
README
18861
N/A
%
dir
%
attr
(
0755
,
root
,
sys
)
%{
_datadir
}
18861
N/A
%
dir
%
attr
(
0755
,
root
,
other
)
%{
_datadir
}/
doc
18861
N/A
%
defattr
(-,
root
,
bin
)
18861
N/A
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_libdir
}
18861
N/A
%{
_libdir
}/
lib
*
18861
N/A
18861
N/A
%
files
devel
18861
N/A
%
defattr
(-,
root
,
bin
)
18861
N/A
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_libdir
}
18861
N/A
%
dir
%
attr
(
0755
,
root
,
other
)
%{
_libdir
}/
pkgconfig
18861
N/A
%{
_libdir
}/
pkgconfig
/*
18861
N/A
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_includedir
}
18861
N/A
%{
_includedir
}/*
18861
N/A
18861
N/A
%
if
%
build_l10n
18861
N/A
%
files
l10n
18861
N/A
%
defattr
(-,
root
,
bin
)
18861
N/A
%
dir
%
attr
(
0755
,
root
,
sys
)
%{
_datadir
}
18861
N/A
%
attr
(-,
root
,
other
)
%{
_datadir
}/
locale
18861
N/A
%
endif
18861
N/A
18861
N/A
%
changelog
18861
N/A
*
Thu
Jan
28
2010
-
brian.cameron
@
sun.com
18861
N/A
-
Bump
to
1.3
.
12
.
Remove
upstream
patch
net6-02-gnutls.diff
.
18861
N/A
*
Thu
Jul
23
2009
-
christian.kelly
@
sun.com
18861
N/A
-
Add
patch
to
allow
build
with
gnutls
.
18861
N/A
*
Tue
Apr
20
2009
-
kevin.mcareavey
@
sun.com
18861
N/A
-
Bump
to
1.3
.
9
.
18861
N/A
*
Thu
Sep
11
2008
-
kevin.mcareavey
@
sun.com
18861
N/A
-
Add
%
doc
to
%
files
for
copyright
18861
N/A
*
Tue
Aug
26
2008
-
kevin.mcareavey
@
sun.com
18861
N/A
-
Cleanup
for
spec
-
files
-
other
integration
18861
N/A
-
Bump
to
1.3
.
6
.
18861
N/A
*
Fri
Aug
17
2007
-
trisk
@
acm.jhu.edu
18861
N/A
-
Bump
to
1.3
.
5
.
18861
N/A
-
Add
URL
.
18861
N/A
*
Fri
Jul
7
2006
-
laca
@
sun.com
18861
N/A
-
rename
to
SFEnet6
.
18861
N/A
-
bump
to
1.3
.
0
rc2
.
18861
N/A
-
fix
version
number
.
18861
N/A
-
update
file
attributes
.
18861
N/A
-
remove
upstream
patch
enum_opts.diff
.
18861
N/A
*
Mon
May
08
2006
-
damien.carbery
@
sun.com
18861
N/A
-
Add
patch
,
02
-
enum_opts
,
to
fix
build
.
18861
N/A
*
Fri
May
05
2006
-
damien.carbery
@
sun.com
18861
N/A
-
Bump
to
1.3
.
0
rc1
.
18861
N/A
*
Wed
Nov
16
2005
-
laca
@
sun.com
18861
N/A
-
create
.