Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 0ca0aafa27515d67d3fb09b20db7d0f2 > files > 2

ooh323c-0.8.2-1mdv2007.1.src.rpm

%define	major 1
%define libname	%mklibname ooh323c %{major}

Summary:	Objective Systems Open H.323 library
Name:		ooh323c
Version:	0.8.2
Release:	%mkrel 1
Group:		System/Libraries
License:	GPL
URL:		http://www.obj-sys.com/open/
Source0:	http://switch.dl.sourceforge.net/sourceforge/ooh323c/%{name}-%{version}.tar.bz2
BuildRequires:	autoconf2.5
BuildRequires:	libtool
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description
Objective Systems Open H.323 for C is a simple H.323 protocol stack. It
contains signaling logic to allow H.323 channels to be created and terminated.
The code is developed in C to allow easy portability to different platform
types (including embedded).

%package -n	%{libname}
Summary:	Objective Systems Open H.323 library
Group:          System/Libraries

%description -n	%{libname}
Objective Systems Open H.323 for C is a simple H.323 protocol stack. It
contains signaling logic to allow H.323 channels to be created and terminated.
The code is developed in C to allow easy portability to different platform
types (including embedded).

%package -n	%{libname}-devel
Summary:	Static library and header files for the ooh323c library
Group:		Development/C
Provides:	%{name}-devel = %{version}
Provides:	lib%{name}-devel = %{version}
Requires:	%{libname} = %{version}

%description -n	%{libname}-devel
Objective Systems Open H.323 for C is a simple H.323 protocol stack. It
contains signaling logic to allow H.323 channels to be created and terminated.
The code is developed in C to allow easy portability to different platform
types (including embedded).

This package contains the static ooh323c library and its header files.

%prep

%setup -q -n %{name}-%{version}

find . -type d -perm 0700 -exec chmod 755 {} \;
find . -type f -perm 0555 -exec chmod 755 {} \;
find . -type f -perm 0444 -exec chmod 644 {} \;

for i in `find . -type d -name CVS`  `find . -type d -name .svn` `find . -type f -name .cvs\*` `find . -type f -name .#\*`; do
    if [ -e "$i" ]; then rm -rf $i; fi >&/dev/null
done

%build

%configure2_5x

%make

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%makeinstall_std

%post -n %{libname} -p /sbin/ldconfig

%postun -n %{libname} -p /sbin/ldconfig

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files -n %{libname}
%defattr(-,root,root)
%doc COPYING ChangeLog README
%{_libdir}/*.so.*

%files -n %{libname}-devel
%defattr(-,root,root)
%doc doc/*
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/*.a
%{_libdir}/*.la


%changelog
* Mon Dec 18 2006 Oden Eriksson <oeriksson@mandriva.com> 0.8.2-1mdv2007.0
+ Revision: 98557
- Import ooh323c



* Mon Dec 18 2006 Oden Eriksson <oeriksson@mandriva.com> 0.8.2-1mdv2007.1
- initial Mandriva package