Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > b3dc5237085ca72a22c7912cdf284d0a > files > 1

libmeshio-0.2.0-4mdk.src.rpm

%define version 0.2.0
%define release 4mdk
%define name    libmeshio

%define major 0
%define libname %name%major

Name:        %{name}
Summary:     Library for the loading of 3D model files
Version:     %{version}
Release:     %{release}
License:     LGPL
Group:       System/Libraries
Source:      meshio-%version.tar.bz2
URL:         http://www.3dwm.org/frameset.html
BuildRoot:   %_tmppath/%{name}-buildroot

%description 
MeshIO is a simple C++ library for the loading of 3D model 
files. Currently, MeshIO only supports plain .3DS files as 
well as its native .RAW format. MeshIO will undergo a major 
redesign in the future.

%package -n %libname
Summary:     	Library for the loading of 3D model files
Group: 		 System/Libraries

%description -n %libname
MeshIO is a simple C++ library for the loading of 3D model 
files. Currently, MeshIO only supports plain .3DS files as 
well as its native .RAW format. MeshIO will undergo a major 
redesign in the future.


%package -n %libname-devel
Summary:        Library for the loading of 3D model files
Group:          System/Libraries
Requires:	%libname = %version
Provides:	libmeshio-devel

%description -n %libname-devel
MeshIO is a simple C++ library for the loading of 3D model 
files. Currently, MeshIO only supports plain .3DS files as 
well as its native .RAW format. MeshIO will undergo a major 
redesign in the future.


%prep
rm -rf $RPM_BUILD_ROOT

%setup -n meshio-%version

%build

%configure 

%make

%install

%makeinstall

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

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

%clean
rm -rf $RPM_BUILD_ROOT

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

%files -n %libname-devel
%defattr(-,root,root)
%_libdir/*.*a
%_libdir/*.so
%_includedir/MeshIO/

%changelog
* Mon Feb 23 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.2.0-4mdk
- rebuild

* Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.2.0-3mdk
- rebuild

* Mon Oct 29 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.2.0-2mdk
- fix license

* Sat Oct 27 2001 Lenny Cartier <lenny@mandrakesoft.com> 0.2.0-1mdk
- new