Name: freepv Version: 0.3.0 Release: 1%{dist} Summary: Immersive panorama viewer Group: Applications/Multimedia License: LGPLv2 URL: http://freepv.sourceforge.net/ Source: http://downloads.sourceforge.net/freepv/freepv-%{version}.tar.gz Patch0: freepv-0.3.0-gcc-4.4.0-build.patch Patch1: freepv-0.3.0-sharedlib.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: freeglut-devel libxml2-devel libtiff-devel libpng-devel libjpeg-devel BuildRequires: cmake pkgconfig BuildRequires: libXmu-devel libXxf86vm-devel xulrunner-devel %description FreePV is a viewer for QuickTimeVR (QTVR), SPiV, cylindrical, cubic and cylindrical panoramas. The package provides a standalone panorama viewer. Install the freepv-plugin package for a Firefox/Mozilla plugin. %package devel Summary: Development tools for programs which will use the freepv library Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: libjpeg-devel libtiff-devel libpng-devel libxml2-devel freeglut-devel %description devel The freepv-devel package includes the header files necessary for developing programs which will show panoramas using the libfreepv library. %package plugin Summary: Panorama viewer firefox browser plugin Group: Applications/Multimedia Requires: %{name} = %{version}-%{release} firefox %description plugin The FreePV firefox/mozilla plugin for QuickTimeVR (QTVR), SPiV, cylindrical, cubic and cylindrical immersive panoramas. Note that this plugin associates with the video/quicktime and application/x-director mime-types and may conflict with other plugins. %prep %setup -q %patch0 -p2 %patch1 -p2 %build %cmake . make VERBOSE=1 %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS ChangeLog README INSTALL COPYING TODO %{_bindir}/freepv-glut %{_bindir}/freepv-glx %{_bindir}/qtvr2img %{_libdir}/libfreepv.so.0.0 %{_datadir}/applications/freepv-glut.desktop %files devel %defattr(-,root,root,-) %doc COPYING %{_includedir}/libfreepv/Controller.h %{_includedir}/libfreepv/FPV_keysyms.h %{_includedir}/libfreepv/Image.h %{_includedir}/libfreepv/PanoViewer.h %{_includedir}/libfreepv/Parameters.h %{_includedir}/libfreepv/Platform.h %{_includedir}/libfreepv/QTVRDecoder.h %{_includedir}/libfreepv/Renderer.h %{_includedir}/libfreepv/SPiVparser.h %{_includedir}/libfreepv/Scene.h %{_includedir}/libfreepv/utils.h %{_libdir}/libfreepv.so %files plugin %defattr(-,root,root,-) %doc COPYING %{_libdir}/mozilla/plugins/libnpfreepv.so %changelog * Thu May 28 2009 Bruno Postle 0.3.0-1 - Upstream release, split to -devel and -plugin packages * Mon Feb 26 2007 Zachary Whitley 0.1-1 - Initial RPM release.