Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 2b163b9008d36a5e0ff89a836a6333ee > files > 2

meshio-0.2.0-9mdv2009.0.src.rpm

%define version 0.2.0
%define release %mkrel 9
%define name    meshio

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

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

%if %mdkversion < 200900
%post -n %libname -p /sbin/ldconfig
%endif

%if %mdkversion < 200900
%postun -n %libname -p /sbin/ldconfig
%endif

%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
* Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.2.0-9mdv2009.0
+ Revision: 252326
- rebuild

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.2.0-7mdv2008.1
+ Revision: 129884
- kill re-definition of %%buildroot on Pixel's request
- import meshio


* Tue Oct 04 2005 Lenny Cartier <lenny@mandriva.com> 0.2.0-7mdk
- rebuild

* Wed May 11 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.2.0-6mdk
- rebuild

* Thu Jun 17 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.2.0-5mdk
- rename & use mklibname

* 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