]> git.pld-linux.org Git - packages/libosip2.git/blame - libosip2.spec
- up to 3.0.3
[packages/libosip2.git] / libosip2.spec
CommitLineData
d52449aa 1Summary: The GNU oSIP library
5a520ea5 2Summary(pl.UTF-8): Biblioteka GNU oSIP
d52449aa 3Name: libosip2
654db6cf 4Version: 3.0.3
6c2f5632 5Release: 1
d52449aa 6License: LGPL
7Group: Libraries
8Source0: ftp://ftp.gnu.org/gnu/osip/%{name}-%{version}.tar.gz
654db6cf 9# Source0-md5: f90ae77075fbd8693af7c78998fcf151
6c2f5632 10Patch0: %{name}-nolibs.patch
654db6cf 11URL: http://www.gnu.org/software/osip/
d52449aa 12BuildRequires: autoconf
13BuildRequires: automake
14BuildRequires: libtool >= 1:1.4.3
2c77ae50 15Provides: libosip
6c2f5632
JB
16Obsoletes: libosip
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d52449aa 18
19%description
20This is "the GNU oSIP library" (for Omnibus SIP). It has been designed
21to provide the Internet Community a simple way to support the Session
22Initiation Protocol. SIP is described in the RFC2543 which is
23available at http://www.ietf.org/rfc/rfc2543.txt.
24
8dd23a46
JR
25%description -l pl.UTF-8
26To jest biblioteka GNU oSIP (Omnibus SIP). Została zaprojektowana, aby
27dostarczyć Społeczności Internetowej prostą obsługę protokołu SIP.
28Protokół SIP (Session Initiation Protocol) jest opisany w RFC2543.
d52449aa 29
30%package devel
31Summary: The GNU oSIP library - development files
5a520ea5 32Summary(pl.UTF-8): Pliki dla programistów używających GNU oSIP
d52449aa 33Group: Development/Libraries
6c2f5632 34Requires: %{name} = %{version}-%{release}
f5c2014a 35Provides: libosip-devel
6c2f5632 36Obsoletes: libosip-devel
d52449aa 37
38%description devel
39Development files for the GNU oSIP library.
40
8dd23a46
JR
41%description devel -l pl.UTF-8
42Pliki dla programistów używających biblioteki GNU oSIP.
d52449aa 43
44%package static
45Summary: The GNU oSIP library - static version
5a520ea5 46Summary(pl.UTF-8): Statyczna biblioteka GNU oSIP
d52449aa 47Group: Development/Libraries
6c2f5632 48Requires: %{name}-devel = %{version}-%{release}
f5c2014a 49Provides: libosip-static
6c2f5632 50Obsoletes: libosip-static
d52449aa 51
52%description static
53Static version of the GNU oSIP library.
54
8dd23a46 55%description static -l pl.UTF-8
d52449aa 56Statyczna wersja biblioteki GNU oSIP.
57
58%prep
59%setup -q
60%patch0 -p1
6c2f5632
JB
61
62rm -f acinclude.m4
d52449aa 63
64%build
d52449aa 65%{__libtoolize}
6c2f5632 66%{__aclocal} -I scripts
d52449aa 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
77rm -rf $RPM_BUILD_ROOT
78
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
81
82mv -f $RPM_BUILD_ROOT%{_mandir}/man{1,3}
83mv -f $RPM_BUILD_ROOT%{_mandir}/man3/osip.{1,3}
84
85%clean
86rm -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
6c2f5632
JB
100%{_includedir}/osip2
101%{_includedir}/osipparser2
eeb3832d 102%{_pkgconfigdir}/libosip2.pc
d52449aa 103%{_mandir}/man3/*.3*
104
105%files static
106%defattr(644,root,root,755)
107%{_libdir}/lib*.a
This page took 0.067117 seconds and 4 git commands to generate.