Commit ba4b679c authored by Pekka Pessi's avatar Pekka Pessi

Updated packages/sofia-sip.spec file to handle doxygen.

darcs-hash:20060215211820-65a35-c72629202eed53a669ecc6cc4fe70892869e07e5.gz
parent cca55ff4
#
# Template for Sofia SIP UA RPM spec file
# Template for Sofia SIP UA library RPM spec file
#
# Options:
# --with doxygen - Generate documents using doxygen and dot
......@@ -11,7 +11,7 @@
Summary: Sofia SIP User-Agent library
Name: sofia-sip
Version: @VERSION@
Release: 1%{?dist}
Release: 1%{?dist}%{?_with_sigcomp:.sc}
License: Lesser GNU Public License 2.1
Group: System Environment/Libraries
URL: http://sf.net/projects/sofia-sip
......@@ -34,16 +34,17 @@ network elements.
%setup -q -n sofia-sip-%{version}
%build
%configure --with-pic --enable-shared --disable-dependency-tracking --with-aclocal=aclocal
#make %{_smp_mflags}
make
options=--with-aclocal=aclocal
%{?_with_sigcomp:options="$options --with-sigcomp"}
%configure --with-pic --enable-shared --disable-dependency-tracking $options
make %{_smp_mflags}
%{?_with_check:make check}
%{?_with_doxygen:make check}
%{?_with_doxygen:make doxygen}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_prefix}/bin/addrinfo
%{?_with_doxygen:cp -p -r libsofia-sip-ua/docs/html manual}
%clean
rm -rf $RPM_BUILD_ROOT
......@@ -61,21 +62,31 @@ Requires: sofia-sip = %{version}-%{release}
Obsoletes: sofia-devel
%description devel
Development package for Sofia SIP UA library. This package includes
%{?_with_doxygen:HTML documentation}, static libraries and include files.
static libraries and include files.
%files devel
%defattr(-,root,root,-)
/usr/share/aclocal/sac-general.m4
/usr/share/aclocal/sac-su.m4
%{_prefix}/include/sofia-sip*/*.h
%{_prefix}/include/sofia-sip*/*.h.in
%{_prefix}/include/sofia-sip*/sofia-sip/*.h
%{_prefix}/include/sofia-sip*/sofia-sip/*.h.in
%{_prefix}/libexec/sofia/tag_dll.awk
%{_prefix}/libexec/sofia/msg_parser.awk
%{_prefix}/%{_lib}/libsofia-sip-ua.la
%{_prefix}/%{_lib}/libsofia-sip-ua.a
%{_prefix}/%{_lib}/pkgconfig/%{name}-ua.pc
%{?_with_doxygen:docs/*}
%doc TODO README.developers
%{?_with_doxygen:%doc manual}
#%package docs
#Summary: Sofia-SIP Development Manual Package
#Group: Development/Libraries
#%description docs
#HTML reference documentation for Sofia SIP UA library.
#%files docs
#%defattr(-,root,root,-)
#%{?_with_doxygen:%doc manual}
%package utils
Summary: Sofia-SIP Development Package
......@@ -87,8 +98,8 @@ Command line utilities for Sofia SIP UA library.
%files utils
%defattr(-,root,root,-)
%{_prefix}/bin/nua_cli
%{_prefix}/bin/localinfo
%{_prefix}/bin/addrinfo
%{_prefix}/bin/sip-options
%{_prefix}/bin/sip-date
......@@ -97,10 +108,10 @@ Command line utilities for Sofia SIP UA library.
- Removed the --includedir parameter. The public headers are
now installed under includedir/sofia-sip-MAJOR.MINOR/
* Thu Oct 20 2005 Pekka Pessi <Pekka.Pessi@nokia.com> - @VERSION@
* Thu Oct 20 2005 Pekka Pessi <Pekka.Pessi@nokia.com>
- Using %{_lib} instead of lib
* Thu Oct 6 2005 Pekka Pessi <Pekka.Pessi@iki.fi> - @VERSION@
* Thu Oct 6 2005 Pekka Pessi <Pekka.Pessi@iki.fi>
- Added sub-package utils
* Thu Oct 6 2005 Pekka Pessi <Pekka.Pessi@nokia.com> - 1.11.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment