Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > ff586ed0dcab4518a7b68dd2e46f7a57 > files > 3

openscenegraph-2.8.2-4mdv2010.1.src.rpm

%define	srcname	OpenSceneGraph

Summary:	A C++ scene graph API on OpenGL for real time graphics
Name:		openscenegraph
Version:	2.8.2
Release:	%mkrel 4
License:	LGPLv2+ with exceptions
Group:		System/Libraries
Source0:	http://www.openscenegraph.org/downloads/developer_releases/%{srcname}-%{version}.zip
Patch1:		OpenSceneGraph-2.6.1-linkage.patch
URL:		http://www.openscenegraph.org/
Provides:	OpenSceneGraph = %{version}-%{release}
Obsoletes:	OpenSceneGraph < 2.8.0-2
BuildRequires:	png-devel tiff-devel ungif-devel jpeg-devel jasper-devel
BuildRequires:	gdal-devel freetype2-devel mesaglut-devel libxine-devel
BuildRequires:	curl-devel gtk+2-devel gtkglext-devel librsvg-devel
BuildRequires:	wxgtku2.8-devel
BuildRequires:	libpoppler-glib-devel
BuildRequires:	cmake
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
The Open Scene Graph is a cross-platform C++/OpenGL library for the real-time 
visualization. Uses range from visual simulation, scientific modeling, virtual 
reality through to games.  Open Scene Graph employs good practices in software
engineering through the use of standard C++, STL and generic programming, and
design patterns.  Open Scene Graph strives for high performance and quality in
graphics rendering, portability, and extensibility.

%files
%defattr(-,root,root,-)
%doc AUTHORS.txt ChangeLog LICENSE.txt NEWS.txt README.txt
%doc doc/*
%{_bindir}/*
%{_libdir}/*.so.*
%{_libdir}/osgPlugins-%{version}

#------------------------------------------------------------------

%package devel
Summary:	Development package for %name
Group:		Development/C++
Provides:	OpenSceneGraph-devel = %{version}-%{release}
Obsoletes:	OpenSceneGraph-devel < 2.8.0-2
Requires:	%{name} = %{version}

%description devel
This package contains development files for %name

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/openscenegraph.pc
%{_libdir}/pkgconfig/openthreads.pc

#------------------------------------------------------------------

%prep
%setup -q -n %{srcname}-%{version}
%patch1 -p0

%build
%cmake -DCMAKE_BUILD_TYPE=Release
%make

%install
%{__rm} -rf %{buildroot}
%makeinstall_std -C build

%clean
%{__rm} -rf %{buildroot}


%changelog
* Sat Jan 16 2010 Funda Wang <fwang@mandriva.org> 2.8.2-4mdv2010.1
+ Revision: 492261
- rebuild for new libjpeg v8

* Thu Oct 01 2009 Funda Wang <fwang@mandriva.org> 2.8.2-3mdv2010.0
+ Revision: 451968
- rebuild

* Sun Aug 23 2009 Funda Wang <fwang@mandriva.org> 2.8.2-2mdv2010.0
+ Revision: 419812
- rebuild for new libjpeg v7

  + Florent Monnier <blue_prawn@mandriva.org>
    - corrected a typo

* Mon Aug 03 2009 Frederik Himpe <fhimpe@mandriva.org> 2.8.2-1mdv2010.0
+ Revision: 408550
- update to new version 2.8.2

* Wed Jun 03 2009 Frederik Himpe <fhimpe@mandriva.org> 2.8.1-1mdv2010.0
+ Revision: 382538
- Update to new version 2.8.1

* Tue May 19 2009 Götz Waschk <waschk@mandriva.org> 2.8.0-3mdv2010.0
+ Revision: 377494
- rebuild for new poppler

* Sun Mar 01 2009 Frederik Himpe <fhimpe@mandriva.org> 2.8.0-2mdv2009.1
+ Revision: 346426
- Rename to lower case openscenegraph
- Add libpoppler-glib-devel BuildRequires
- Define CMAKE_BUILD_TYPE=Release, otherwise the library names get a
  d suffix which are not found by other applications linking to OSG

* Sat Feb 28 2009 Frederik Himpe <fhimpe@mandriva.org> 2.8.0-1mdv2009.1
+ Revision: 346183
- Update to new version 2.8.0
- Remove Werror=format-scurity patch: integrated upstream
- used %%{buildroot} macro in SPEC file instead of $RPM_BUILD_ROOT

* Sun Feb 01 2009 Funda Wang <fwang@mandriva.org> 2.6.1-2mdv2009.1
+ Revision: 336057
- add more BRs

* Sat Jan 31 2009 Funda Wang <fwang@mandriva.org> 2.6.1-1mdv2009.1
+ Revision: 335875
- New version 2.6.1

  + Thierry Vignaud <tvignaud@mandriva.com>
    - rebuild
    - fix mesaglu-devel BR
    - kill re-definition of %%buildroot on Pixel's request
    - buildrequires X11-devel instead of XFree86-devel
    - import OpenSceneGraph

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