]> git.pld-linux.org Git - packages/libosip2.git/blob - libosip2.spec
- added provides and obsoletes libosip
[packages/libosip2.git] / libosip2.spec
1 Summary:        The GNU oSIP library
2 Summary(pl):    Biblioteka GNU oSIP
3 Name:           libosip2
4 Version:        2.0.1
5 Release:        2
6 License:        LGPL
7 Group:          Libraries
8 Source0:        ftp://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz
9 # Source0-md5:  8d635913658b40df2bef70070128884a
10 Patch0:         %{name}-configure.patch
11 Patch1:         %{name}-automake.patch
12 Patch2:         %{name}-nolibs.patch
13 URL:            http://www.fsf.org/software/osip/osip.html
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libtool >= 1:1.4.3
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Obsoletes:      libosip
19 Provides:       libosip
20
21
22 %description
23 This is "the GNU oSIP library" (for Omnibus SIP). It has been designed
24 to provide the Internet Community a simple way to support the Session
25 Initiation Protocol. SIP is described in the RFC2543 which is
26 available at http://www.ietf.org/rfc/rfc2543.txt.
27
28 %description -l pl
29 To jest biblioteka GNU oSIP (Omnibus SIP). Zosta³a zaprojektowana, aby
30 dostarczyæ Spo³eczno¶ci Internetowej prost± obs³ugê protoko³u SIP.
31 Protokó³ SIP (Session Initiation Protocol) jest opisany w RFC2543.
32
33 %package devel
34 Summary:        The GNU oSIP library - development files
35 Summary(pl):    Pliki dla programistów u¿ywaj±cych GNU oSIP
36 Group:          Development/Libraries
37 Requires:       %{name} = %{version}
38
39 %description devel
40 Development files for the GNU oSIP library.
41
42 %description devel -l pl
43 Pliki dla programistów u¿ywaj±cych biblioteki GNU oSIP.
44
45 %package static
46 Summary:        The GNU oSIP library - static version
47 Summary(pl):    Statyczna biblioteka GNU oSIP
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}
50
51 %description static
52 Static version of the GNU oSIP library.
53
54 %description static -l pl
55 Statyczna wersja biblioteki GNU oSIP.
56
57 %prep
58 %setup -q
59 %patch0 -p1
60 %patch1 -p1
61 %patch2 -p1
62
63 %build
64 rm -f scripts/missing
65 %{__libtoolize}
66 %{__aclocal}
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}/*
101 %{_mandir}/man3/*.3*
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/lib*.a
This page took 0.044569 seconds and 4 git commands to generate.