]> git.pld-linux.org Git - packages/libosip2.git/blame_incremental - libosip2.spec
- updated to 3.6.0
[packages/libosip2.git] / libosip2.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
5Summary: The GNU oSIP library
6Summary(pl.UTF-8): Biblioteka GNU oSIP
7Name: libosip2
8Version: 3.6.0
9Release: 1
10License: LGPL v2.1+
11Group: Libraries
12Source0: http://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz
13# Source0-md5: 92fd1c1698235a798497887db159c9b3
14Patch0: %{name}-nolibs.patch
15Patch1: %{name}-link.patch
16URL: http://www.gnu.org/software/osip/
17BuildRequires: autoconf >= 2.50
18BuildRequires: automake
19BuildRequires: libtool >= 1:1.4.3
20Provides: libosip
21Obsoletes: libosip
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25This is "the GNU oSIP library" (for Omnibus SIP). It has been designed
26to provide the Internet Community a simple way to support the Session
27Initiation Protocol. SIP is described in the RFC2543 which is
28available at http://www.ietf.org/rfc/rfc2543.txt.
29
30%description -l pl.UTF-8
31To jest biblioteka GNU oSIP (Omnibus SIP). Została zaprojektowana, aby
32dostarczyć Społeczności Internetowej prostą obsługę protokołu SIP.
33Protokół SIP (Session Initiation Protocol) jest opisany w RFC2543.
34
35%package devel
36Summary: The GNU oSIP library - development files
37Summary(pl.UTF-8): Pliki dla programistów używających GNU oSIP
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Provides: libosip-devel
41Obsoletes: libosip-devel
42
43%description devel
44Development files for the GNU oSIP library.
45
46%description devel -l pl.UTF-8
47Pliki dla programistów używających biblioteki GNU oSIP.
48
49%package static
50Summary: The GNU oSIP library - static version
51Summary(pl.UTF-8): Statyczna biblioteka GNU oSIP
52Group: Development/Libraries
53Requires: %{name}-devel = %{version}-%{release}
54Provides: libosip-static
55Obsoletes: libosip-static
56
57%description static
58Static version of the GNU oSIP library.
59
60%description static -l pl.UTF-8
61Statyczna wersja biblioteki GNU oSIP.
62
63%prep
64%setup -q
65%patch0 -p1
66%patch1 -p1
67
68%build
69%{__libtoolize}
70%{__aclocal} -I scripts
71%{__autoconf}
72%{__automake}
73%configure \
74 --enable-semaphore \
75 --enable-pthread \
76 --%{?debug:en}%{!?debug:dis}able-debug \
77 %{!?with_static_libs:--disable-static}
78
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
87mv -f $RPM_BUILD_ROOT%{_mandir}/man{1,3}
88mv -f $RPM_BUILD_ROOT%{_mandir}/man3/osip.{1,3}
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post -p /sbin/ldconfig
94%postun -p /sbin/ldconfig
95
96%files
97%defattr(644,root,root,755)
98%doc AUTHORS BUGS ChangeLog FEATURES HISTORY NEWS README TODO
99%attr(755,root,root) %{_libdir}/libosip2.so.*.*.*
100%attr(755,root,root) %ghost %{_libdir}/libosip2.so.7
101%attr(755,root,root) %{_libdir}/libosipparser2.so.*.*.*
102%attr(755,root,root) %ghost %{_libdir}/libosipparser2.so.7
103
104%files devel
105%defattr(644,root,root,755)
106%attr(755,root,root) %{_libdir}/libosip2.so
107%attr(755,root,root) %{_libdir}/libosipparser2.so
108%{_libdir}/libosip2.la
109%{_libdir}/libosipparser2.la
110%{_includedir}/osip2
111%{_includedir}/osipparser2
112%{_pkgconfigdir}/libosip2.pc
113%{_mandir}/man3/osip.3*
114
115%if %{with static_libs}
116%files static
117%defattr(644,root,root,755)
118%{_libdir}/libosip2.a
119%{_libdir}/libosipparser2.a
120%endif
This page took 0.025093 seconds and 4 git commands to generate.