Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
651a66f9
Commit
651a66f9
authored
Feb 12, 2007
by
Pekka Pessi
Browse files
sofia-sip.spec.in: not trying to use bcond.
darcs-hash:20070212122614-65a35-042730495bdd4c12da52d2599af7a4bc2006bae5.gz
parent
d66c5cb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
packages/sofia-sip.spec.in
View file @
651a66f9
...
...
@@ -12,15 +12,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: pkgconfig
%{!?bcond_with:
%define
bcond
_with() %{expand:%%{?_with_%{1}:
%%global
with_%{1}
1}
}}
%{!?bcond_without:
%define
bcond
_without() %{expand:%%{!?_without_%{1}:
%%global
with_%{1}
1}
}}
%define
opt
_with() %{expand:
%%global with_%{1}
%%{?_with_%{1}:
1}%%{?!_
with_%{1}
:0
}}
%define
opt
_without() %{expand:
%%global with_%{1}
%%{!?_without_%{1}:
1}%%{?_
with
out
_%{1}
:0
}}
# Options:
%
bcond
_with doxygen - Generate documents using doxygen and dot
%
bcond
_with check - Run tests
%
bcond
_with openssl - Always use OpenSSL (TLS)
%
bcond
_with glib - Always use glib-2.0 (>= 2.2)
%
bcond
_with sctp - Include SCTP transport
%
opt
_with doxygen - Generate documents using doxygen and dot
%
opt
_with check
- Run tests
%
opt
_with openssl - Always use OpenSSL (TLS)
%
opt
_with glib
- Always use glib-2.0 (>= 2.2)
%
opt
_with sctp
- Include SCTP transport
%define have_doxygen %{?_with_doxygen:1}%{!?_with_doxygen:0}
%define have_openssl %(%{?!_with_openssl:pkg-config 'openssl >= 0.9.7'&&}echo 1||echo 0)
...
...
@@ -49,7 +49,7 @@ options="$options --with-pic --enable-shared --disable-static"
%if !%{have_glib}
options="$options --without-glib"
%endif
%if %{with
sctp}
%if %{with
_
sctp}
options="$options --enable-sctp"
%endif
...
...
@@ -62,7 +62,7 @@ make doxygen
# XXX comment next line to build with non-check aware rpmbuild.
%check
%if %{with
check}
%if %{with
_
check}
make check
%endif
...
...
@@ -126,7 +126,7 @@ Requires: pkgconfig
Development package for Sofia SIP UA library. This package includes
static libraries and include files.
%if %{with
out
doxygen}
%if
!
%{with
_
doxygen}
The reference documentation for Sofia SIP UA library is available at
<http://sofia-sip.sourceforge.net/development.html>
%endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment