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