Name: xflr5 Version: 6.41 Release: 2%{?dist} Summary: Analysis tool for airfoils, wings and planes License: GPLv3+ URL: http://www.xflr5.com/ Source0: https://sourceforge.net/projects/xflr5/files/%{version}/%{name}_v%{version}_src.tar.gz Source1: %{name}.desktop BuildRequires: dos2unix BuildRequires: gcc-c++ BuildRequires: make BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtscript-devel BuildRequires: qt5-qttools-devel BuildRequires: desktop-file-utils BuildRequires: texlive-scheme-basic BuildRequires: tex(inputenc.sty) BuildRequires: tex(babel.sty) BuildRequires: tex(graphicx.sty) BuildRequires: tex(color.sty) BuildRequires: tex(hyperref.sty) BuildRequires: tex(amsmath.sty) BuildRequires: tex(fancyhdr.sty) BuildRequires: tex(keystroke.sty) BuildRequires: tex(tabularx.sty) BuildRequires: tex(multirow.sty) BuildRequires: tex(rotating.sty) BuildRequires: tex(ecrm1200.tfm) Requires: hicolor-icon-theme %description XFLR5 is an analysis tool for airfoils, wings and planes operating at low Reynolds Numbers. It includes: 1. XFoil's Direct and Inverse analysis capabilities 2. Wing design and analysis capabilities based on the Lifiting Line Theory, on the Vortex Lattice Method, and on a 3D Panel Method %prep %autosetup -n %{name} # Fix FSF addresses find . -type f -print0 | xargs -0 sed -i 's|59 Temple Place, Suite 330, Boston, MA 02111-1307|51 Franklin Street, Fifth Floor, Boston, MA 02110-1301|' # Fix line endings find . -type f -exec dos2unix {} \; # Build only english documentation rm -f doc/xflr5-guidelines_latex/guidelines_fr.tex %build %qmake_qt5 PREFIX=%{_prefix} %{name}.pro %make_build make -C doc/xflr5-guidelines_latex lrelease-qt5 translations/*.ts # Delete the translations template rm translations/xflr5v6.qm %install make INSTALL_ROOT=%{buildroot} install install -d %{buildroot}%{_datadir}/%{name}/translations install -pm 0644 translations/*.qm %{buildroot}%{_datadir}/%{name}/translations cp -a qss %{buildroot}%{_datadir}/%{name}/qss install -Dpm 0644 xflr5-gui/images/xflr5_64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1} # Delete unneeded files rm -f %{buildroot}%{_prefix}/lib/libXFoil-lib.a rm -f %{buildroot}%{_prefix}/lib/libxflr5-engine.a rm -f %{buildroot}%{_prefix}/lib/libgraph-lib.a %files %doc doc/ReleaseNotes.txt %doc doc/xflr5-guidelines_latex/guidelines_en.pdf %license License.txt %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/64x64/apps/%{name}.png %changelog * Sat Jul 14 2018 Fedora Release Engineering - 6.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Apr 23 2018 Sandro Mani - 6.41-1 - Update to 6.41 * Mon Feb 19 2018 Sandro Mani - 6.40-4 - Add missing BR: gcc-c++, make * Fri Feb 09 2018 Igor Gnatenko - 6.40-3 - Escape macros in %%changelog * Thu Jan 18 2018 Igor Gnatenko - 6.40-2 - Remove obsolete scriptlets * Mon Jan 08 2018 Sandro Mani - 6.40-1 - Update to 6.40 * Thu Sep 21 2017 Sandro Mani - 6.39-1 - Update to 6.39 * Mon Aug 07 2017 Sandro Mani - 6.38-1 - Update to 6.38 * Thu Aug 03 2017 Fedora Release Engineering - 6.30-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 6.30-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 6.30-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Nov 08 2016 Sandro Mani - 6.30-1 - Update to 6.30 * Fri Feb 05 2016 Fedora Release Engineering - 6.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 10 2016 Sandro Mani - 6.12-1 - Update to 6.12 * Thu Nov 19 2015 Sandro Mani - 6.11-1 - Update to 6.11 * Fri Jun 19 2015 Fedora Release Engineering - 6.10.04-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Apr 13 2015 Sandro Mani - 6.10.04-1 - Update to 6.10.04 * Mon Aug 18 2014 Fedora Release Engineering - 6.10.02-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sun Jun 08 2014 Fedora Release Engineering - 6.10.02-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Thu Mar 27 2014 Ville Skyttä - 6.10.02-2 - Don't ship .svn files * Mon Mar 24 2014 Sandro Mani - 6.10.02-1 - Update to 6.10.02 * Mon Jan 27 2014 Sandro Mani - 6.09.06-1 - Update to 6.09.06 * Mon Nov 18 2013 Sandro Mani - 6.09.05-6 - Add pretrans scriptlet to handle replacement of %%{_datadir}/applications/%%{name}.desktop directory with file * Sat Nov 16 2013 Sandro Mani - 6.09.05-5 - Fix desktop-file-install syntax * Fri Sep 13 2013 Sandro Mani - 6.09.05-4 - Add fix for translations and guidelines path - Build guidelines * Fri Sep 13 2013 Sandro Mani - 6.09.05-3 - Use desktop-file-install - Preserve timestamps * Fri Sep 13 2013 Sandro Mani - 6.09.05-2 - Fix line endings - Add patch to fix fsf addresses * Fri Sep 13 2013 Sandro Mani - 6.09.05-1 - Initial package for review