Cross Reference: o3read.spec
xref
: /
solaris-desktop
/
base-specs
/
o3read.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
18861
N/A
#
18861
N/A
# spec file for package o3read
18861
N/A
#
18861
N/A
# Copyright 2008 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
#
20307
N/A
%
define
owner
jefftsai
18861
N/A
#
18861
N/A
18861
N/A
%
define
OSR
9318
:
0.x
18861
N/A
18861
N/A
Name
:
o3read
18861
N/A
License
:
GPL
v2
18861
N/A
Group
:
Development
/
Tools
18861
N/A
Version
:
0.0
.
4
18861
N/A
Distribution
:
Java
Desktop
System
18861
N/A
Vendor
:
siag.nu
/
o3read
18861
N/A
Summary
: A
standalone
converter
for
the
OpenOffice.org
swriter
(*.
sxw
)
and
scalc
(*.
sxc
)
formats
18861
N/A
Source
:
http
://
siag.nu
/
pub
/
o3read
/%{
name
}-%{
version
}
.tar.gz
20307
N/A
#date:2008-08-01 owner:jefftsai type:branding
18861
N/A
Patch1
:
o3read-01-man.diff
18861
N/A
URL
:
http
://
siag.nu
/
o3read
/
18861
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
18861
N/A
Docdir
: %{
_datadir
}/
doc
18861
N/A
18861
N/A
%
description
18861
N/A
This
is
a
standalone
converter
for
the
OpenOffice.org
swriter
(.
sxw
)
18861
N/A
and
scalc
(.
sxc
)
formats
.
18861
N/A
18861
N/A
%
prep
18861
N/A
%
setup
-q
18861
N/A
%
patch1
-
p1
18861
N/A
18861
N/A
%
build
18861
N/A
%
ifos
linux
18861
N/A
if
[ -x /
usr
/
bin
/
getconf
];
then
18861
N/A
CPUS
=
`
getconf
_NPROCESSORS_ONLN
`
18861
N/A
fi
18861
N/A
%
else
18861
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
18861
N/A
%
endif
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
INTLLIBS
=
GMSGFMT
=
msgfmt
18861
N/A
18861
N/A
%
install
18861
N/A
mkdir
-p
$RPM_BUILD_ROOT
/
usr
/
bin
18861
N/A
cp
o3read
$RPM_BUILD_ROOT
/
usr
/
bin
18861
N/A
cp
o3totxt
$RPM_BUILD_ROOT
/
usr
/
bin
18861
N/A
cp
o3tohtml
$RPM_BUILD_ROOT
/
usr
/
bin
18861
N/A
cp
utf8tolatin1
$RPM_BUILD_ROOT
/
usr
/
bin
18861
N/A
mkdir
-p
$RPM_BUILD_ROOT
/
usr
/
share
/
man
/
man1
18861
N/A
cp
o3read
.
1
$RPM_BUILD_ROOT
/
usr
/
share
/
man
/
man1
18861
N/A
cp
o3totxt
.
1
$RPM_BUILD_ROOT
/
usr
/
share
/
man
/
man1
18861
N/A
cp
o3tohtml
.
1
$RPM_BUILD_ROOT
/
usr
/
share
/
man
/
man1
18861
N/A
cp
utf8tolatin1
.
1
$RPM_BUILD_ROOT
/
usr
/
share
/
man
/
man1
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
,
root
)
18861
N/A
%{
_bindir
}/
o3read
18861
N/A
%
attr
(
755
,
root
,
root
)
%{
_bindir
}/*
18861
N/A
%{
_mandir
}/
man1
/*
18861
N/A
%{
_bindir
}/
o3
*
18861
N/A
18861
N/A
%
changelog
18861
N/A
*
Fri
Jul
4
2008
-
jerry.tan
@
sun.com
18861
N/A
-
Created
spec
file
for
o3read