Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > a299a9034a7e5fba5fffe82c1f0655ce > files > 2

libmath++-0.0.3-1mdk.src.rpm

%define	version	0.0.3
%define release	1mdk

%define major	0
%define libname %mklibname math++

Summary:	C++ Math Type Library
Name:		libmath++
Version:	%{version}
Release:	%{release}
License:	GPL
Group:		System/Libraries
URL:		http://www.surakware.net/projects/%{name}/index.xml
Source:		%{name}-%{version}.tar.bz2
Buildroot:	%{_tmppath}/%{name}-%{version}-buildroot
BuildRequires:	doxygen

%description
%{name} is a template based math library, written in C++,
for symbolic and numeric calculus applications.


%package	-n %{libname}%{major}
Summary:	C++ Math Type Library
Group:		System/Libraries
Provides:	%{name} = %{version}-%{release}
Provides:	%{libname} = %{version}-%{release}

%description	-n %{libname}%{major}
%{name} is a template based math library, written in C++,
for symbolic and numeric calculus applications.


%package	-n %{libname}%{major}-devel
Summary:	Development related files for %{name}
Group:		Development/C++
Provides:	%{name}-devel = %{version}-%{release}
Provides:	%{libname}-devel = %{version}-%{release}
Requires:	%{libname}%{major} = %{version}-%{release}

%description	-n %{libname}%{major}-devel
%{name} is a template based math library, written in C++,
for symbolic and numeric calculus applications.

You need to install this package if you want to develop or compile
any applications/libraries that needs %{name}.

%prep
%setup -q

%build
%configure2_5x
%make
make api-doc

%install
rm -rf %{buildroot}
%makeinstall_std

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

%clean
rm -rf %{buildroot}

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


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

%changelog
* Sat Nov 01 2003 Abel Cheung <deaddog@deaddog.org> 0.0.3-1mdk
- First Mandrake package