%global src_name panini Name: Panini Version: 0.72.0 Release: 2%{?dist} Summary: A tool for creating perspective views from panoramic and wide angle images Group: Applications/Multimedia License: GPLv3+ URL: https://lazarus-pkgs.github.io/lazarus-pkgs/%{src_name}.html Source0: https://github.com/lazarus-pkgs/%{src_name}/archive/v%{version}/%{src_name}-%{version}.tar.gz BuildRequires: qt5-devel desktop-file-utils BuildRequires: gcc gcc-c++ BuildRequires: mesa-libGLU-devel %description Panini can load most common photo and panoramic formats from image files such as those created with hugin or QuickTimeVR (QTVR .mov) files. Like all pano viewers, it then shows a linear perspective view that can be panned and zoomed. But Panini can also display a range of wide angle perspectives via the stereographic and "Pannini" vedutismo families of projections, and shift, rotate, and stretch the image like a software view camera. %prep %autosetup -n %{src_name}-%{version} sed -i.backup "s|PREFIX = /usr|PREFIX = %{buildroot}/%{_prefix}|" panini.pro chmod -x src/*cpp src/*h %{qmake_qt5} panini.pro for txt in *.txt ; do sed 's/\r//' $txt > $txt.new touch -r $txt $txt.new mv $txt.new $txt done %build %make_build %install %make_install desktop-file-validate %{buildroot}%{_datadir}/applications/%{src_name}.desktop # Register as an application to be visible in the software center # # NOTE: It would be *awesome* if this file was maintained by the upstream # project, translated and installed into the right place during `make install`. # # See http://www.freedesktop.org/software/appstream/docs/ for more details. # mkdir -p %{buildroot}%{_datadir}/metainfo cat > %{buildroot}%{_datadir}/metainfo/%{src_name}.appdata.xml < panini.desktop CC0-1.0 Panini Create perspective views from panoramic and wide angle images

Panini is a tool for creating perspective views from panoramic and wide angle images.

Panini can load most common photo and panoramic formats from image files such as those created with hugin or QuickTimeVR (QTVR .mov) files. Like all pano viewers, it then shows a linear perspective view that can be panned and zoomed. But Panini can also display a range of wide angle perspectives via the stereographic and "Pannini" vedutismo families of projections, and shift, rotate, and stretch the image like a software view camera.

Panini can do those things because it paints the picture on a three dimensional surface, either a sphere or a cylinder, which you then view in perspective. Shifting the point of view changes the apparent perspective of the image, and other controls let you frame the view to your liking. Then you can save the screen image to a file at higher-than-screen resolution.

https://lazarus-pkgs.github.io/lazarus-pkgs/panini.html tksharpless@gmail.com
EOF %post update-desktop-database &> /dev/null || : %postun update-desktop-database &> /dev/null ||: %files %doc README.md NEWS USAGE.md %license GPLversion3.txt %{_bindir}/%{src_name} %{_datadir}/pixmaps/*.png %{_datadir}/metainfo/*.appdata.xml %{_datadir}/applications/* %changelog * Thu Jul 12 2018 Fedora Release Engineering - 0.72.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Mar 10 2018 Ankur Sinha - 0.72.0-1 - Update to latest upstream release - Add gcc/g++ to BRs - Remove unneeded patch - Remove unneeded sources - Use qt5 - Update appdata info * Wed Feb 07 2018 Fedora Release Engineering - 0.71.104-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.71.104-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.71.104-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.71.104-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.71.104-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Feb 02 2016 Rex Dieter - 0.71.104-6 - use %%qmake_qt4 macro to ensure proper build flags * Tue Jun 16 2015 Fedora Release Engineering - 0.71.104-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.71.104-4 - Rebuilt for GCC 5 C++11 ABI change * Thu Mar 26 2015 Richard Hughes - 0.71.104-3 - Add an AppData file for the software center * Fri Aug 15 2014 Fedora Release Engineering - 0.71.104-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jul 20 2014 Ankur Sinha 0.71.104-1 - Updated to latest upstream release * Fri Jun 06 2014 Fedora Release Engineering - 0.71.103-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Aug 02 2013 Fedora Release Engineering - 0.71.103-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.71.103-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 28 2012 Ankur Sinha 0.71.103-8 - Update FTBFS patch to include libGLU: rhbz#843252 * Wed Jul 18 2012 Fedora Release Engineering - 0.71.103-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 12 2012 Fedora Release Engineering - 0.71.103-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 0.71.103-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Feb 14 2010 Ankur Sinha - 0.71.103-4 - fix for FTBFS # 565127 * Fri Jul 24 2009 Ankur Sinha - 0.71.103-3 - used png for icon * Thu Jul 23 2009 Ankur Sinha - 0.71.103-2 - Corrected License tag - used icon from source * Fri Jul 17 2009 Ankur Sinha - 0.71.103-1 - initial rpm build with new source with clearified License. * Wed Jul 8 2009 Ankur Sinha - 0.71.102-1 - Initial RPM build