Cross Reference: libdaemon.spec
xref
: /
solaris-desktop
/
base-specs
/
libdaemon.spec
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
10785
N/A
#
10785
N/A
# spec file for package libdaemon
10785
N/A
#
18220
N/A
# Copyright (c) 2010 Sun Microsystems, Inc.
10785
N/A
# This file and all modifications and additions to the pristine
10785
N/A
# package are under the same license as the package itself.
10785
N/A
#
17185
N/A
%
define
owner
padraig
17048
N/A
#
17181
N/A
17181
N/A
%
define
OSR
6984
:
0.12
17181
N/A
10785
N/A
Name
:
libdaemon
18220
N/A
License
:
LGPLv2
.
1
10785
N/A
Group
:
System
/
Libraries
18220
N/A
Version
:
0.14
10785
N/A
Release
:
1
10785
N/A
Distribution
:
Java
Desktop
System
18615
N/A
Vendor
:
0pointer.de
10785
N/A
Summary
:
Lightweight
C
library
for
writing
Unix
daemons
10785
N/A
Source
:
http
://
0pointer.de
/
lennart
/
projects
/
libdaemon
/%{
name
}-%{
version
}
.tar.gz
18220
N/A
Patch1
:
libdaemon-01-configure.diff
10785
N/A
URL
:
http
://
0pointer.de
/
lennart
/
projects
/
libdaemon
/
10785
N/A
BuildRoot
: %{
_tmppath
}/%{
name
}-%{
version
}-
build
10785
N/A
Docdir
: %{
_defaultdocdir
}/
doc
10785
N/A
Autoreqprov
:
on
10785
N/A
Prereq
: /
sbin
/
ldconfig
10785
N/A
10785
N/A
%
description
10785
N/A
libdaemon
is
a
lightweight
C
library
which
eases
the
writing
of
UNIX
daemons
.
10785
N/A
It
consists
of
the
following
parts
:
10785
N/A
10785
N/A
- A
wrapper
around
fork
()
which
does
the
correct
daemonization
procedure
of
10785
N/A
a
process
10785
N/A
- A
wrappeer
around
syslog
()
for
simpler
and
compatible
log
output
to
Syslog
10785
N/A
or
STDERR
10785
N/A
-
An
API
for
writing
PID
files
10785
N/A
-
An
API
for
serializing
UNIX
signals
into
a
pipe
for
usage
with
select
()
10785
N/A
or
poll
()
10785
N/A
-
an
API
for
running
subprocesses
with
STDOUT
and
STDERR
redirected
to
syslog
10785
N/A
10785
N/A
%
package
devel
10785
N/A
Summary
: A
lightweight
C
library
for
writing
UNXI
daemons
.
10785
N/A
Group
:
Development
/
Libraries
10785
N/A
Requires
: %{
name
} = %{
version
}
10785
N/A
10785
N/A
%
description
devel
10785
N/A
libdaemon
is
a
lightweight
C
library
which
eases
the
writing
of
UNIX
daemons
.
10785
N/A
It
consists
of
the
following
parts
:
10785
N/A
10785
N/A
- A
wrapper
around
fork
()
which
does
the
correct
daemonization
procedure
of
10785
N/A
a
process
10785
N/A
- A
wrappeer
around
syslog
()
for
simpler
and
compatible
log
output
to
Syslog
10785
N/A
or
STDERR
10785
N/A
-
An
API
for
writing
PID
files
10785
N/A
-
An
API
for
serializing
UNIX
signals
into
a
pipe
for
usage
with
select
()
10785
N/A
or
poll
()
10785
N/A
-
an
API
for
running
subprocesses
with
STDOUT
and
STDERR
redirected
to
syslog
10785
N/A
10785
N/A
%
prep
10785
N/A
%
setup
-q
16894
N/A
%
patch1
-
p1
10785
N/A
10785
N/A
%
build
10785
N/A
%
ifos
linux
10785
N/A
if
[ -x /
usr
/
bin
/
getconf
];
then
10785
N/A
CPUS
=
`
getconf
_NPROCESSORS_ONLN
`
10785
N/A
fi
10785
N/A
%
else
10785
N/A
CPUS
=
`/
usr
/
sbin
/
psrinfo
|
grep
on
-
line
|
wc
-l |
tr
-d
' '
`
10785
N/A
%
endif
10785
N/A
if
test
"x
$CPUS
"
=
"x"
-o
$CPUS
=
0
;
then
10785
N/A
CPUS
=
1
10785
N/A
fi
10785
N/A
10785
N/A
CONFLAGS
=
"--prefix=%{_prefix} --disable-lynx"
18220
N/A
aclocal
$ACLOCAL_FLAGS
-I ./
m4
10785
N/A
autoconf
18220
N/A
automake
-a -c -f
10785
N/A
CFLAGS
=
"
$RPM_OPT_FLAGS
"
10785
N/A
./
configure
$CONFLAGS
10785
N/A
10785
N/A
make
-j
$CPUS
10785
N/A
10785
N/A
%
install
10785
N/A
10785
N/A
make
DESTDIR
=
$RPM_BUILD_ROOT
install
10785
N/A
rm
-
rf
$RPM_BUILD_ROOT
%{
_libdir
}/
libdaemon
*a
10785
N/A
10785
N/A
%
clean
10785
N/A
rm
-
rf
$RPM_BUILD_ROOT
10785
N/A
10785
N/A
%
post
10785
N/A
/
sbin
/
ldconfig
10785
N/A
10785
N/A
%
postun
10785
N/A
/
sbin
/
ldconfig
10785
N/A
10785
N/A
%
files
10785
N/A
%
defattr
(-,
root
,
root
)
10785
N/A
%{
_libdir
}/
libdaemon
*.
so
*
10785
N/A
10785
N/A
%
files
devel
10785
N/A
%
defattr
(-,
root
,
root
)
10785
N/A
%{
_libdir
}/*.
so
10785
N/A
%{
_includedir
}/
libdaemon
/*
10785
N/A
%{
_libdir
}/
pkgconfig
/*
10785
N/A
10785
N/A
%
changelog
18220
N/A
*
Thu
Jan
28
2010
-
brian.cameron
@
sun.com
18220
N/A
-
Bump
to
0.14
.
16894
N/A
*
Tue
Jul
28
2009
-
christian.kelly
@
sun.com
16894
N/A
-
Bump
to
0.13
.
16894
N/A
-
Add
patch
to
fix
build
issue
.
11103
N/A
*
Wed
Aug
22
2006
-
damien.carbery
@
sun.com
11103
N/A
-
Bump
to
0.12
.
10785
N/A
*
Mon
May
29
2006
-
padraig.obriain
@
sun.com
10785
N/A
-
Initial
spec
file
for
libdaemon
.