Cross Reference: SUNWgnugetopt.spec
xref
: /
solaris-desktop
/
specs
/
SUNWgnugetopt.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
SUNWgnugetopt.spec revision 19612
10363
N/A
#
10363
N/A
# spec file for package SUNWgnugetopt
10363
N/A
#
10363
N/A
# includes module(s): getopt
10363
N/A
#
10363
N/A
%
define
owner
erwannc
10363
N/A
#
10363
N/A
10363
N/A
%
include
Solaris.inc
10363
N/A
10363
N/A
%
define
OSR
1628
1439
1008
9099
:
1.0
.
8
10363
N/A
10363
N/A
%
include
usr-gnu.inc
10363
N/A
10363
N/A
Name
:
SUNWgnugetopt
10363
N/A
Summary
:
getopt
- a
GNU
getopt
(
3
)
compatible
getopt
utility
10363
N/A
License
:
GPL
v2
10363
N/A
Vendor
:
gnu.org
10363
N/A
Version
:
1.1
.
4
10363
N/A
URL
:
http
://
software.frodo.looijaard.name
/
getopt
/
10363
N/A
#Source:
http://software.frodo.looijaard.name/getopt/files/getopt
-%{version}
.tar.gz
10363
N/A
Source
:
http
://
pkgbuild.sf.net
/
spec-files-extra
/
tarballs
/
getopt
-%{
version
}
.tar.gz
10363
N/A
Patch1
:
getopt-01-locale.h.diff
10363
N/A
SUNW_BaseDir
: %{
_basedir
}
10363
N/A
SUNW_Copyright
: %{
name
}.
copyright
10363
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
10363
N/A
%
include
default-depend.inc
10363
N/A
%
include
gnome-consolidation.inc
10363
N/A
10363
N/A
%
prep
10363
N/A
rm
-
rf
%
name
-%
version
10363
N/A
%
setup
-q -n
getopt
-%
version
10363
N/A
%
patch1
-
p1
10363
N/A
10363
N/A
%
build
10363
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
10363
N/A
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
10363
N/A
CPUS
=
1
10363
N/A
fi
10363
N/A
10363
N/A
make
-j
$CPUS
CC
=
"${CC}"
CFLAGS
=
"%optflags"
10363
N/A
10363
N/A
%
install
10363
N/A
rm
-
rf
$RPM_BUILD_ROOT
10363
N/A
make
install
DESTDIR
=
$RPM_BUILD_ROOT
prefix
=%{
_prefix
}
mandir
=%{
_mandir
}
10363
N/A
10363
N/A
%
clean
10363
N/A
rm
-
rf
$RPM_BUILD_ROOT
10363
N/A
10363
N/A
%
files
10363
N/A
%
defattr
(-,
root
,
bin
)
10363
N/A
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_bindir
}
10363
N/A
%{
_bindir
}/*
10363
N/A
%
dir
%
attr
(
0755
,
root
,
sys
)
%{
_datadir
}
10363
N/A
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_mandir
}
10363
N/A
%
dir
%
attr
(
0755
,
root
,
bin
)
%{
_mandir
}/
man1
10363
N/A
%{
_mandir
}/
man1
/*
10363
N/A
%
doc
Changelog
README
10363
N/A
%
doc
(
bzip2
)
COPYING
10363
N/A
%
dir
%
attr
(
0755
,
root
,
other
)
%{
_datadir
}/
doc
10363
N/A
10363
N/A
%
changelog
10363
N/A
*
Wed
Sep
17
2008
-
matt.keenn
@
sun.com
10363
N/A
-
Update
copyright
10363
N/A
*
Tue
Feb
13
2007
-
laca
@
sun.com
10363
N/A
-
create
10363
N/A
10363
N/A
10363
N/A