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