Cross Reference: gtk-doc.spec
xref
: /
solaris-desktop
/
base-specs
/
gtk-doc.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
gtk-doc.spec revision 15469
10139
N/A
#
10139
N/A
# spec file for package gtk-doc
12219
N/A
#
10139
N/A
# Copyright 2008 Sun Microsystems, Inc.
10139
N/A
# This file and all modifications and additions to the pristine
10139
N/A
# package are under the same license as the package itself.
10139
N/A
#
10139
N/A
# Owner: laca
10139
N/A
#
10139
N/A
Name
:
gtk
-
doc
10139
N/A
License
:
GPL
13621
N/A
Group
:
Utilities
/
Text
10139
N/A
BuildArchitectures
:
noarch
10139
N/A
Version
:
1.11
10139
N/A
Release
:
2
10139
N/A
Distribution
:
Java
Desktop
System
13299
N/A
Vendor
:
Sun
Microsystems
,
Inc
.
10794
N/A
Summary
:
GTK
+
DocBook
Documentation
Generator
10794
N/A
Source
:
http
://
ftp.gnome.org
/
pub
/
GNOME
/
sources
/
gtk-doc
/
1.11
/
gtk
-
doc
-%{
version
}
.tar.bz
2
12773
N/A
URL
:
http
://
www.gnome.org
12773
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
12773
N/A
Docdir
: %{
_defaultdocdir
}/
doc
10794
N/A
Autoreqprov
:
on
10139
N/A
10815
N/A
%
define
libxslt_version
1.0
.
19
13639
N/A
%
define
libxml2_version
2.5
.
3
13639
N/A
13499
N/A
BuildRequires
:
docbook
-
xsl
-
stylesheets
13498
N/A
Requires
:
libxml2
>= %{
libxml2_version
}
13639
N/A
Requires
:
libxslt
>= %{
libxslt_version
}
13639
N/A
13692
N/A
%
description
13692
N/A
gtk
-
doc
is
a
set
of
perl
scripts
that
generate
API
reference
documention
in
10139
N/A
DocBook
format
.
It
can
extract
documentation
from
source
code
comments
in
a
10139
N/A
manner
similar
to
java
-
doc
.
It
is
used
to
generate
the
documentation
for
10139
N/A
GLib
,
Gtk
+,
and
GNOME
.
10139
N/A
10139
N/A
%
prep
10139
N/A
%
setup
-q
10139
N/A
10139
N/A
%
build
10139
N/A
%
ifos
linux
10139
N/A
if
[ -x /
usr
/
bin
/
getconf
];
then
10139
N/A
CPUS
=
`
getconf
_NPROCESSORS_ONLN
`
10139
N/A
fi
10139
N/A
%
else
10139
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
10139
N/A
%
endif
10139
N/A
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
10139
N/A
CPUS
=
1
10139
N/A
fi
10139
N/A
10139
N/A
libtoolize
--
force
10139
N/A
aclocal
$ACLOCAL_FLAGS
10139
N/A
automake
-a -c -f
10139
N/A
autoconf
10139
N/A
CFLAGS
=
"
$RPM_OPT_FLAGS
"
10139
N/A
export
PYTHON
=/
usr
/
bin
/
python2.5
10139
N/A
./
configure
$MYARCH_FLAGS
--
prefix
=%{
_prefix
} \
10139
N/A
--
disable
-
scrollkeeper
\
10139
N/A
--
sysconfdir
=%{
_sysconfdir
}
10139
N/A
make
-j
$CPUS
10139
N/A
10139
N/A
%
install
10139
N/A
for
f
in
`
find
. -
name
'*.omf'
-
print
`
;
do
10139
N/A
echo
Creating
$
f.out
10139
N/A
loc
=
`
echo
$f |
sed
-e
's/.*-\([a-zA-Z_]*\).omf/\1/'
`
10139
N/A
sed
-e
's,url=",url="file://%{_datadir}/
gnome
/
help
/
gtk-doc-manual
/'
${
loc
}
'/,'
$f > $
f.out
10139
N/A
done
10139
N/A
10139
N/A
make
DESTDIR
=
$RPM_BUILD_ROOT
install
10139
N/A
10139
N/A
%
clean
10139
N/A
rm
-
rf
$RPM_BUILD_ROOT
10139
N/A
10139
N/A
%
files
10139
N/A
%
defattr
(-,
root
,
root
)
10139
N/A
%{
_bindir
}/*
10139
N/A
%{
_datadir
}/
gtk
-
doc
/*
10139
N/A
%{
_datadir
}/
aclocal
/*
10139
N/A
%{
_datadir
}/
sgml
/*
10139
N/A
%{
_libdir
}/
pkgconfig
/*
10139
N/A
10139
N/A
%
changelog
10139
N/A
*
Fri
Dec
5
2008
-
laca
@
sun.com
10139
N/A
-
delete
old
scrollkeeper
hack
and
disable
scrollkeeper
install
properly
10139
N/A
*
Thu
Dec
04
2008
-
dave.lin
@
sun.com
10139
N/A
-
Bump
to
1.11
10794
N/A
*
Mon
Mar
31
2008
-
patrick.ale
@
gmail.com
10794
N/A
-
Change
download
directory
to
1.10
12754
N/A
*
Sun
Mar
23
2008
-
damien.carbery
@
sun.com
10794
N/A
-
Bump
to
1.10
.
11087
N/A
*
Tue
Oct
2
2007
-
damien.carbery
@
sun.com
12526
N/A
-
Bump
to
1.9
.
13498
N/A
*
Fri
Feb
16
2007
-
damien.carbery
@
sun.com
13499
N/A
-
Bump
to
1.8
.
13692
N/A
*
Sat
Sep
16
2006
-
laca
@
sun.com
13621
N/A
-
set
scrollkeeper_config
so
that
docs
are
always
installed
10139
N/A
-
create
.omf.out
files
using
sed
since
scrollkeeper
-
preinstall
is
not
10139
N/A
available
yet
10139
N/A
*
Mon
Jul
31
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
1.7
.
10139
N/A
*
Tue
Apr
11
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Specify
ACLOCAL_FLAGS
for
use
on
Solaris
to
find
a
pkgconfig
macro
.
10139
N/A
*
Mon
Apr
10
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
1.6
.
10139
N/A
*
Tue
Mar
7
2006
-
damien.carbery
@
sun.com
10139
N/A
-
Bump
to
1.5
.
10139
N/A
*
Fri
May
06
2005
-
glynn.foster
@
sun.com
10139
N/A
-
Bump
to
1.3
10139
N/A
*
Tue
Aug
24
2004
-
ghee.teo
@
sun.com
10139
N/A
-
Added
BuildRequires
with
docbook
-
xsl
-
stylesheets
.
10139
N/A
so
that
this
can
be
detected
even
at
-
bp
state
.
10139
N/A
*
Wed
Jul
07
2004
-
dermot.mccluskey
@
sun.com
10139
N/A
-
added
"-j
$CPUS
"
to
make
to
speed
up
builds
10139
N/A
*
Mon
Feb
23
2004
-
matt.keenan
@
sun.com
10139
N/A
-
Back
up
to
1.1
as
1.2
DTD
XML
is
causing
build
failures
...
DANG
10139
N/A
*
Mon
Dec
15
2003
-
glynn.foster
@
sun.com
10139
N/A
-
Add
the
m4
macro
to
installation
11338
N/A
*
Sat
Oct
04
2003
-
laca
@
sun.com
11338
N/A
-
upgrade
to
1.1
11338
N/A
*
Thu
May
12
2003
-
ghee.teo
@
Sun.COM
11338
N/A
-
Created
new
spec
file
for
gtk
-
doc
11338
N/A