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