Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 38646b420c4ba5dd6f2f376a396a969b > files > 2

libosip-0.9.7-5mdk.src.rpm

%define name	libosip
%define version	0.9.7
%define release	5mdk

%define fakename osip

%define major 0
%define libname %mklibname %{fakename} %major
%define libnamedev %mklibname %{fakename} %major -d

Name:		%name
Summary:	oSIP is an implementation of SIP - rfc2543. 
Version: 	%version
Release: 	%release
License: 	LGPL
Group:		System/Libraries
Source0:	%{name}-%{version}.tar.bz2
URL: 		http://osip.atosc.org/
BuildRoot:	%{_tmppath}/%{name}-buildroot
BuildRequires:	docbook-utils docbook-dtd41-sgml

%description
This is the oSIP library (for Open SIP). It has been
designed to provide the Internet Community a simple
way to support the Session Initiation Protocol.
SIP is described in the RFC2543 which is available at
http://www.ietf.org/rfc/rfc2543.txt.

%package -n %libname
Summary:        Header file required to build programs using liboSIP.
Group:          System/Libraries

%description -n %libname
This is the oSIP library (for Open SIP). It has been
designed to provide the Internet Community a simple
way to support the Session Initiation Protocol.
SIP is described in the RFC2543 which is available at
http://www.ietf.org/rfc/rfc2543.txt.

%package -n %libnamedev
Summary:	Header file required to build programs using liboSIP.
Group:		System/Libraries 
Provides: libosip-devel
Requires: %libname = %version

%description -n %libnamedev
oSIP development libraries (for Open SIP). Needed to build applications
such as Linphone

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q
perl -p -i -e 's/docbook-to-man/docbook2man/g' doc/Makefile.in

%build
%configure
%make

%install
%makeinstall

%clean
rm -rf $RPM_BUILD_ROOT

%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig

%files -n %libname
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%_libdir/*.so.*
%_mandir/man1/*

%files -n %libnamedev
%defattr(-, root, root)
%_libdir/*.so
%_includedir/osip
%_libdir/*.a
%_libdir/*.la

%changelog
* Tue Sep 20 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.9.7-5mdk
- back

* Thu Aug 19 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.9.7-4mdk
- 0.9.7

* Thu Jul 10 2003 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.9.7-3mdk
- rebuild

* Mon May 26 2003 Austin Acton <aacton@yorku.ca> 0.9.7-2mdk
- distlint (DIRM)

* Sun May 25 2003 Austin Acton <aacton@yorku.ca> 0.9.7-1mdk
- 0.9.7

* Sat Mar 29 2003 Austin Acton <aacton@yorku.ca> 0.9.6-1mdk
- 0.9.6

* Tue Dec 31 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.9.0-1mdk
- from Austin Acton <aacton@yorku.ca> : 
	- 0.9.0
	- add manpage

* Thu Aug 29 2002 Oden Eriksson <oden.eriksson@kvikkjokk.net> 0.8.8-1mdk
- new version

* Thu Jun 06 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.8.5-1mdk
- 0.8.5

* Tue Feb 19 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.7.8-1mdk
- 0.7.8

* Tue Oct 30 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.7.3-1mdk
- new