3e4c733
Name:           xflr5
8f27a1e
Version:        6.47
a3926f9
Release:        14%{?dist}
3e4c733
Summary:        Analysis tool for airfoils, wings and planes
3e4c733
db42830
License:        GPL-3.0-or-later
3e4c733
URL:            http://www.xflr5.com/
1a6acbf
Source0:        https://sourceforge.net/projects/xflr5/files/%{version}/%{name}_v%{version}_src.tar.gz
3e4c733
Source1:        %{name}.desktop
3e4c733
aac72cb
# Read library installation directory from env-var
aac72cb
Patch0:         xflr5_libdir.patch
aac72cb
d1ee718
BuildRequires:  dos2unix
be2f7db
BuildRequires:  gcc-c++
be2f7db
BuildRequires:  make
cba83a1
BuildRequires:  qt5-qtbase-devel
d1b5975
BuildRequires:  qt5-qtscript-devel
cba83a1
BuildRequires:  qt5-qttools-devel
3e4c733
BuildRequires:  desktop-file-utils
510af4d
BuildRequires:  texlive-scheme-basic
297b25a
BuildRequires:  texlive-cm-super
510af4d
BuildRequires:  tex(inputenc.sty)
510af4d
BuildRequires:  tex(babel.sty)
510af4d
BuildRequires:  tex(graphicx.sty)
510af4d
BuildRequires:  tex(color.sty)
510af4d
BuildRequires:  tex(hyperref.sty)
510af4d
BuildRequires:  tex(amsmath.sty)
510af4d
BuildRequires:  tex(fancyhdr.sty)
510af4d
BuildRequires:  tex(keystroke.sty)
510af4d
BuildRequires:  tex(tabularx.sty)
510af4d
BuildRequires:  tex(multirow.sty)
510af4d
BuildRequires:  tex(rotating.sty)
97588a2
BuildRequires:  tex(ecrm1200.tfm)
3e4c733
3e4c733
Requires:       hicolor-icon-theme
3e4c733
3e4c733
3e4c733
%description
3e4c733
XFLR5 is an analysis tool for airfoils, wings and planes operating at low
3e4c733
Reynolds Numbers. It includes:
3e4c733
1. XFoil's Direct and Inverse analysis capabilities
3e4c733
2. Wing design and analysis capabilities based on the Lifiting Line Theory, on
3e4c733
   the Vortex Lattice Method, and on a 3D Panel Method
3e4c733
3e4c733
3e4c733
%prep
aac72cb
%autosetup -p1 -n %{name}
5b96cfa
5b96cfa
# Fix FSF addresses
5b96cfa
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|'
3e4c733
3e4c733
# Fix line endings
d1ee718
find . -type f -exec dos2unix {} \;
3e4c733
97588a2
# Build only english documentation
97588a2
rm -f doc/xflr5-guidelines_latex/guidelines_fr.tex
97588a2
97588a2
3e4c733
%build
aac72cb
LIBDIR=%{_lib} %qmake_qt5 PREFIX=%{_prefix} %{name}.pro
2817d80
# Parallel build broken on s390x...
2817d80
%ifarch s390x
2817d80
LIBDIR=%{_lib} make
2817d80
%else
aac72cb
LIBDIR=%{_lib} %make_build
2817d80
%endif
97588a2
make -C doc/xflr5-guidelines_latex
cba83a1
lrelease-qt5 translations/*.ts
510af4d
510af4d
# Delete the translations template
510af4d
rm translations/xflr5v6.qm
3e4c733
3e4c733
3e4c733
%install
d1ee718
make INSTALL_ROOT=%{buildroot} install
510af4d
install -d %{buildroot}%{_datadir}/%{name}/translations
510af4d
install -pm 0644 translations/*.qm %{buildroot}%{_datadir}/%{name}/translations
d1ee718
cp -a qss %{buildroot}%{_datadir}/%{name}/qss
97588a2
install -Dpm 0644 xflr5-gui/images/xflr5_64.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
e8221f7
desktop-file-install --dir=%{buildroot}%{_datadir}/applications/ %{SOURCE1}
3e4c733
97588a2
3e4c733
%files
cba83a1
%doc doc/ReleaseNotes.txt
97588a2
%doc doc/xflr5-guidelines_latex/guidelines_en.pdf
cba83a1
%license License.txt
3e4c733
%{_bindir}/%{name}
8f27a1e
%{_libdir}/libXFoil.so*
8f27a1e
%{_libdir}/libxflr5-engine.so*
510af4d
%{_datadir}/%{name}
3e4c733
%{_datadir}/applications/%{name}.desktop
3e4c733
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
3e4c733
3e4c733
3e4c733
%changelog
a3926f9
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-14
a3926f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a3926f9
df990f6
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-13
df990f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
df990f6
f54b69a
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-12
f54b69a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
f54b69a
ab45a21
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-11
ab45a21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
ab45a21
25973dc
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-10
25973dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
25973dc
2fad6b4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-9
2fad6b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
2fad6b4
00b4e47
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-8
00b4e47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
00b4e47
275a6a5
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-7
275a6a5
- Second attempt - Rebuilt for
275a6a5
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
275a6a5
03be5eb
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-6
03be5eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
03be5eb
6669228
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-5
6669228
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6669228
d01ee8c
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.47-4
d01ee8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
d01ee8c
8f27a1e
* Mon Jul 08 2019 Sandro Mani <manisandro@gmail.com> - 6.47-1
8f27a1e
- Update to 6.47
8f27a1e
157e640
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.41-3
157e640
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
157e640
15479ab
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.41-2
15479ab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
15479ab
1a6acbf
* Mon Apr 23 2018 Sandro Mani <manisandro@gmail.com> - 6.41-1
1a6acbf
- Update to 6.41
1a6acbf
be2f7db
* Mon Feb 19 2018 Sandro Mani <manisandro@gmail.com> - 6.40-4
be2f7db
- Add missing BR: gcc-c++, make
be2f7db
d80a53b
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.40-3
d80a53b
- Escape macros in %%changelog
d80a53b
2197fcb
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.40-2
2197fcb
- Remove obsolete scriptlets
2197fcb
4b5e07e
* Mon Jan 08 2018 Sandro Mani <manisandro@gmail.com> - 6.40-1
4b5e07e
- Update to 6.40
4b5e07e
5f4225f
* Thu Sep 21 2017 Sandro Mani <manisandro@gmail.com> - 6.39-1
5f4225f
- Update to 6.39
5f4225f
d1b5975
* Mon Aug 07 2017 Sandro Mani <manisandro@gmail.com> - 6.38-1
d1b5975
- Update to 6.38
d1b5975
b5bffcd
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.30-4
b5bffcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b5bffcd
61509ca
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.30-3
61509ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
61509ca
71b951e
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.30-2
71b951e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
71b951e
97588a2
* Tue Nov 08 2016 Sandro Mani <manisandro@gmail.com> - 6.30-1
97588a2
- Update to 6.30
97588a2
48617f6
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.12-2
48617f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
48617f6
081070d
* Sun Jan 10 2016 Sandro Mani <manisandro@gmail.com> - 6.12-1
081070d
- Update to 6.12
081070d
8b2b3ae
* Thu Nov 19 2015 Sandro Mani <manisandro@gmail.com> - 6.11-1
e6f290b
- Update to 6.11
e6f290b
e476c3e
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.04-2
e476c3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e476c3e
cba83a1
* Mon Apr 13 2015 Sandro Mani <manisandro@gmail.com> - 6.10.04-1
cba83a1
- Update to 6.10.04
cba83a1
c95d249
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.02-4
c95d249
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c95d249
bb7926d
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.10.02-3
bb7926d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
bb7926d
7e887d1
* Thu Mar 27 2014 Ville Skyttä <ville.skytta@iki.fi> - 6.10.02-2
7e887d1
- Don't ship .svn files
7e887d1
9f3b771
* Mon Mar 24 2014 Sandro Mani <manisandro@gmail.com> - 6.10.02-1
9f3b771
- Update to 6.10.02
9f3b771
5264a5e
* Mon Jan 27 2014 Sandro Mani <manisandro@gmail.com> - 6.09.06-1
5264a5e
- Update to 6.09.06
5264a5e
5264a5e
* Mon Nov 18 2013 Sandro Mani <manisandro@gmail.com> - 6.09.05-6
d80a53b
- Add pretrans scriptlet to handle replacement of %%{_datadir}/applications/%%{name}.desktop directory with file
ee400c8
5264a5e
* Sat Nov 16 2013 Sandro Mani <manisandro@gmail.com> - 6.09.05-5
e8221f7
- Fix desktop-file-install syntax
e8221f7
510af4d
* Fri Sep 13 2013 Sandro Mani <manisandro@gmail.com> - 6.09.05-4
510af4d
- Add fix for translations and guidelines path
510af4d
- Build guidelines
510af4d
3e4c733
* Fri Sep 13 2013 Sandro Mani <manisandro@gmail.com> - 6.09.05-3
3e4c733
- Use desktop-file-install
3e4c733
- Preserve timestamps
3e4c733
3e4c733
* Fri Sep 13 2013 Sandro Mani <manisandro@gmail.com> - 6.09.05-2
3e4c733
- Fix line endings
3e4c733
- Add patch to fix fsf addresses
3e4c733
3e4c733
* Fri Sep 13 2013 Sandro Mani <manisandro@gmail.com> - 6.09.05-1
3e4c733
- Initial package for review