Cross Reference: dia.spec
xref
: /
solaris-desktop
/
base-specs
/
dia.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
dia.spec revision 18178
1129
N/A
#
1129
N/A
# spec file for package dia
1129
N/A
#
1129
N/A
# Copyright 2008 Sun Microsystems, Inc.
1129
N/A
# This file and all modifications and additions to the pristine
1129
N/A
# package are under the same license as the package itself.
1129
N/A
#
1129
N/A
%
define
owner
jerrytan
1129
N/A
#
1129
N/A
1129
N/A
%
define
OSR
gnome.org
:
0
1129
N/A
1129
N/A
Name
:
dia
1129
N/A
License
:
GPL
1129
N/A
Group
:
System
/
GUI
/
GNOME
1129
N/A
Vendor
:
Sun
Microsystems
,
Inc
.
1129
N/A
Summary
:
Dia
Diagram
Editor
1129
N/A
Version
:
0.97
.
1
1129
N/A
Source
:
http
://
ftp.gnome.org
/
pub
/
GNOME
/
sources
/
dia
/
0.97
/
dia
-%{
version
}
.tar.bz
2
1129
N/A
Source1
:
l10n-configure.sh
1129
N/A
SUNW_BaseDir
: %{
_basedir
}
1129
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
1129
N/A
1129
N/A
%
prep
1129
N/A
%
setup
-q -n %
name
-%
version
1129
N/A
1129
N/A
%
build
1129
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
1129
N/A
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
1129
N/A
CPUS
=
1
1129
N/A
fi
1129
N/A
export
CFLAGS
=
"%optflags"
1129
N/A
export
LDFLAGS
=
"%_ldflags"
1129
N/A
1129
N/A
libtoolize
--
copy
--
force
1129
N/A
intltoolize
--
automake
--
force
--
copy
1129
N/A
1129
N/A
bash
-x %
SOURCE1
--
enable
-
copyright
1129
N/A
1129
N/A
aclocal
$ACLOCAL_FLAGS
1129
N/A
autoheader
1129
N/A
automake
-a -c -f
1129
N/A
autoconf
1129
N/A
1129
N/A
./
configure
--
prefix
=%{
_prefix
} --
mandir
=%{
_mandir
} \
1129
N/A
--
libdir
=%{
_libdir
} \
1129
N/A
--
libexecdir
=%{
_libexecdir
} \
1129
N/A
--
sysconfdir
=%{
_sysconfdir
} \
1129
N/A
--
enable
-
gnome
\
1129
N/A
--
with
-
cairo
\
1129
N/A
--
disable
-
static
1129
N/A
1129
N/A
make
-j
$CPUS
1129
N/A
1129
N/A
%
install
1129
N/A
rm
-
rf
$RPM_BUILD_ROOT
1129
N/A
make
install
DESTDIR
=
$RPM_BUILD_ROOT
1129
N/A
rm
$RPM_BUILD_ROOT
%{
_libdir
}/
dia
/*.
la
1129
N/A
rmdir
$RPM_BUILD_ROOT
%{
_datadir
}/
oaf
1129
N/A
1129
N/A
%
if
%
build_l10n
1129
N/A
%
else
1129
N/A
# REMOVE l10n FILES
1129
N/A
rm
-
rf
$RPM_BUILD_ROOT
%{
_datadir
}/
locale
1129
N/A
%
endif
1129
N/A
1129
N/A
%
clean
1129
N/A
rm
-
rf
$RPM_BUILD_ROOT
1129
N/A
1129
N/A
%
changelog
1129
N/A
*
Wed
Apr
15
2009
-
Matt.Keenan
@
sun.com
1129
N/A
-
Bump
to
0.97
,
remove
all
6
patches
,
All
upstreamed
1129
N/A
*
Tue
Jan
06
2009
-
takao.fujiwara
@
sun.com
1129
N/A
-
Add
l10n-configure.sh
for
copyright
.
1129
N/A
-
Add
patch
goption.diff
from
trunk
.
1129
N/A
*
Mon
Dec
22
2008
-
takao.fujiwara
@
sun.com
1129
N/A
-
Add
patch
g11n-filename.diff
to
fix
crash
on
none
UTF
-
8
.
1129
N/A
*
Wed
Dec
03
2008
-
Matt.Keenan
@
sun.com
1129
N/A
-
Fix
GtkSpinButton
warnings
because
of
new
gtk
bugster
:
6779724
,
bugzilla
:
563106
1129
N/A
*
Wed
Oct
22
2008
-
Matt.Keenan
@
sun.com
1129
N/A
-
created
1129
N/A