]> git.pld-linux.org Git - packages/sofia-sip.git/blame - sofia-sip.spec
- tabs in preamble
[packages/sofia-sip.git] / sofia-sip.spec
CommitLineData
35207948
JB
1#
2# Conditional build:
3%bcond_with doxygen # Generate documents using doxygen and dot
4%bcond_with check # Run tests
5%bcond_without openssl # No OpenSSL (TLS)
6%bcond_with sigcomp # with Sofia SigComp
b0b9b3c9 7#
c16920ff 8Summary: Sofia SIP User-Agent library
a65ea931 9Summary(pl.UTF-8): Biblioteka agenta użytkownika Sofia SIP
c16920ff 10Name: sofia-sip
f88bcca9 11Version: 1.12.4
c16920ff
AF
12Release: 1
13License: LGPL 2.1
14Group: Libraries
35207948 15Source0: http://dl.sourceforge.net/sofia-sip/%{name}-%{version}.tar.gz
f88bcca9 16# Source0-md5: 2aa264efc9affd9f060c9d19f3ee3438
35207948 17URL: http://sf.net/projects/sofia-sip/
c16920ff 18%if %{with doxygen}
35207948
JB
19BuildRequires: doxygen >= 1.3.4
20BuildRequires: graphviz >= 1.9
c16920ff 21%endif
35207948 22%{?with_openssl:BuildRequires: openssl-devel >= 0.9.7}
c16920ff 23%if %{with sigcomp}
35207948
JB
24BuildRequires: sofia-sigcomp-devel >= 2.5.0
25Requires: sofia-sigcomp >= 2.5.0
c16920ff
AF
26%endif
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
c16920ff
AF
29%description
30Sofia SIP is a RFC-3261-compliant library for SIP user agents and
31other network elements.
b0b9b3c9 32
0ada2c95
JR
33%description -l pl.UTF-8
34Sofia SIP to zgodna z RFC-3261 biblioteka dla agentów użytkownika SIP
35i innych elementów sieciowych.
35207948
JB
36
37%package devel
b074073b 38Summary: Sofia-SIP Development Package
a65ea931 39Summary(pl.UTF-8): Pakiet programistyczny Sofia-SIP
b074073b 40Group: Development/Libraries
c16920ff 41Requires: %{name} = %{version}-%{release}
b0b9b3c9 42
35207948 43%description devel
c16920ff 44Development package for Sofia SIP UA library.
b0b9b3c9 45
0ada2c95 46%description devel -l pl.UTF-8
35207948
JB
47Pakiet programistyczny dla biblioteki Sofia SIP UA.
48
49%package static
b074073b 50Summary: Sofia-SIP Development Package - static library
a65ea931 51Summary(pl.UTF-8): Statyczna biblioteka Sofia-SIP
b074073b 52Group: Development/Libraries
c16920ff
AF
53Requires: %{name}-devel = %{version}-%{release}
54
35207948 55%description static
c16920ff
AF
56Static library for Sofia SIP UA library.
57
0ada2c95 58%description static -l pl.UTF-8
35207948
JB
59Statyczna biblioteka Sofia SIP UA.
60
61%package utils
b074073b 62Summary: Sofia-SIP utils
a65ea931 63Summary(pl.UTF-8): Narzędzia Sofia-SIP
b074073b 64Group: Networking/Utilities
35207948 65Requires: %{name} = %{version}-%{release}
c16920ff 66
35207948 67%description utils
c16920ff 68Command line utilities for Sofia SIP UA library.
b0b9b3c9 69
0ada2c95
JR
70%description utils -l pl.UTF-8
71Działające z linii poleceń narzędzia do biblioteki Sofia SIP UA.
35207948 72
b0b9b3c9 73%prep
c16920ff 74%setup -q
b0b9b3c9
AF
75
76%build
c16920ff
AF
77%configure \
78 --with%{!?with_openssl:out}-openssl \
b074073b
ER
79 --with%{!?with_sigcomp:out}-sigcomp
80
c16920ff 81%{__make}
35207948
JB
82%{?with_check:%{__make} check}
83%{?with_doxygen:%{__make} check} # ???
b0b9b3c9
AF
84
85%install
86rm -rf $RPM_BUILD_ROOT
35207948 87
c16920ff
AF
88%{__make} install \
89 DESTDIR=$RPM_BUILD_ROOT
35207948
JB
90
91rm $RPM_BUILD_ROOT%{_bindir}/addrinfo
b0b9b3c9
AF
92
93%clean
94rm -rf $RPM_BUILD_ROOT
95
96%files
c16920ff
AF
97%defattr(644,root,root,755)
98%doc AUTHORS COPYRIGHTS README RELEASE ChangeLog
f88bcca9 99%attr(755,root,root) %{_libdir}/lib*.so.*.*
1d9e62ab 100%{_datadir}/sofia-sip
b0b9b3c9
AF
101
102%files devel
c16920ff 103%defattr(644,root,root,755)
35207948 104%doc TODO README.developers %{?with_doxygen:docs/*}
f88bcca9
PZ
105%attr(755,root,root) %{_libdir}/lib*.so
106%{_libdir}/lib*.la
107%{_includedir}/*
108%{_pkgconfigdir}/*.pc
c16920ff
AF
109
110%files static
111%defattr(644,root,root,755)
f88bcca9 112%{_libdir}/lib*.a
b0b9b3c9
AF
113
114%files utils
c16920ff 115%defattr(644,root,root,755)
f88bcca9 116%attr(755,root,root) %{_bindir}/*
This page took 0.122281 seconds and 4 git commands to generate.