builder b5973d4
Name:		3Depict
D Haley 565726a
Version:	0.0.22
f3907fe
Release:	6%{?dist}
builder b5973d4
Summary:	Valued 3D point cloud visualization and analysis
builder b5973d4
builder b5973d4
builder b5973d4
License:	GPLv3+
builder b5973d4
URL:		http://threedepict.sourceforge.net
builder b5973d4
Source0:	http://downloads.sourceforge.net/threedepict/%{name}-%{version}.tar.gz
builder b5973d4
mycae 8ee6e9a
builder b5973d4
#Mathgl for plotting
D Haley 5a86447
BuildRequires:	gcc-c++
builder b5973d4
BuildRequires:	mathgl-devel 
builder b5973d4
#Mesa for GLU
builder b5973d4
BuildRequires:	libGL-devel 
builder b5973d4
#Libxml2 for file parsing
builder b5973d4
BuildRequires:	libxml2-devel 
builder b5973d4
#FTGL for 3d fonts
builder b5973d4
BuildRequires:	ftgl-devel 
builder b5973d4
#libpng for textures
builder b5973d4
BuildRequires: libpng-devel
builder b5973d4
#Desktop file utils for installing desktop file
builder b5973d4
BuildRequires: desktop-file-utils
builder b5973d4
#WX widgets
844eb6f
BuildRequires: wxGTK3-devel
98f4b43
#Vigra, for voxelisation
98f4b43
BuildRequires: vigra-devel
98f4b43
builder b5973d4
#PDF latex build
D Haley 3301a79
#BuildRequires: tex(latex)
builder b5973d4
mycae 385d557
#Required for surface removal algorithms 
mycae 385d557
BuildRequires: qhull-devel
mycae 385d557
mycae 932db95
#Fedora specific PDF dir.
builder 84fff44
Patch0: %{name}-%{version}-manual-pdf-loc.patch
mycae 932db95
#Fedora specific font dir
builder 84fff44
Patch1: %{name}-%{version}-font-path.patch
D Haley 39b420e
#Qhull dir has changed 
D Haley 39b420e
Patch2: %{name}-%{version}-qhull.patch
D Haley eea5294
#Fix for PPC64 arch
D Haley eea5294
Patch3: %{name}-%{version}-qhull_ppc64le.patch
D Haley 8746bc6
D Haley 4ee8b6b
#wxGLCanvas not supported under wayland.
D Haley 4ee8b6b
# wx bug 17702
D Haley 4ee8b6b
Patch4: %{name}-%{version}-wayland.patch
builder b5973d4
%description
builder 84fff44
This software is designed to help users visualize and analyze 3D point clouds
builder b5973d4
with an associated real value, in a fast and flexible fashion. It is 
builder b5973d4
specifically targeted to atom probe tomography applications, but may be 
builder b5973d4
useful for general scalar valued point data purposes.
builder b5973d4
builder b5973d4
%prep
mycae 932db95
builder b5973d4
%setup -q 
mycae 932db95
builder b5973d4
%patch0
mycae 932db95
%patch1
D Haley eb3bc15
%patch2
D Haley eea5294
%patch3
D Haley 4ee8b6b
%patch4
D Haley 8746bc6
D Haley 4caf7be
%if 0%{?fedora} > 24
D Haley 4caf7be
# Installation directory has changed
5183450
sed -i -e 's,qhull/qhull_a.h,libqhull/qhull_a.h,' \
5183450
  src/backend/filters/filterCommon.h \
D Haley 360a21f
  src/backend/filters/algorithms/spatial.cpp \
5183450
  configure configure.ac
D Haley 4caf7be
# Avoid rerunning the autotools
5183450
touch -r aclocal.m4 configure configure.ac
D Haley 4caf7be
%endif
5183450
builder b5973d4
%build
2a08a54
%configure --disable-debug-checks --enable-openmp-parallel 
builder b5973d4
make %{?_smp_mflags}
builder b5973d4
builder b5973d4
%install
builder b5973d4
make install DESTDIR=%{buildroot}
builder b5973d4
builder b5973d4
# Install the textures
builder b5973d4
mkdir -p %{buildroot}%{_datadir}/%{name}/textures
D Haley 8746bc6
cp -p data/textures/*png %{buildroot}%{_datadir}/%{name}/textures/
builder b5973d4
builder b5973d4
builder b5973d4
#Install the manpage
builder b5973d4
install -Dp -m 644 packaging/manpage/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
builder b5973d4
builder b5973d4
desktop-file-install \
builder b5973d4
		--dir %{buildroot}%{_datadir}/applications \
builder b5973d4
		packaging/%{name}.desktop
builder b5973d4
mkdir -p %{buildroot}%{_datadir}/pixmaps/
D Haley 8746bc6
install -Dp -m 644 data/textures/tex-source/%{name}-icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
mycae 8ee6e9a
mycae 8ee6e9a
#install language files
mycae 8ee6e9a
#--
mycae 8ee6e9a
#Remap locale names
mycae 8ee6e9a
mv locales/de_DE/ locales/de/
mycae 8ee6e9a
mycae 8ee6e9a
mkdir -p %{buildroot}/%{_datadir}/locale/
mycae 8ee6e9a
cp -R locales/* %{buildroot}/%{_datadir}/locale/
mycae 8ee6e9a
D Haley 01a0727
#Restore the internal build's locale naming
mycae 8ee6e9a
mv locales/de/ locales/de_DE/
mycae 8ee6e9a
#--
mycae 8ee6e9a
builder b5973d4
builder b5973d4
#Move the documentation such that it is picked up by the doc macro
builder b5973d4
mv docs/manual-latex/manual.pdf %{name}-%{version}-manual.pdf
builder b5973d4
mycae 8ee6e9a
#Locale stuff
mycae 8ee6e9a
%find_lang %{name}
mycae 8ee6e9a
mycae 8ee6e9a
mycae 8ee6e9a
%files -f %{name}.lang
Orion Poplawski 72bc036
%license COPYING
D Haley 565726a
%doc ChangeLog.txt README %{name}-%{version}-manual.pdf
builder b5973d4
%{_bindir}/%{name}
builder b5973d4
%dir %{_datadir}/%{name}/
builder b5973d4
%dir %{_datadir}/%{name}/textures
builder b5973d4
%{_datadir}/%{name}/textures/*.png
builder b5973d4
%{_datadir}/applications/%{name}.desktop
builder b5973d4
%{_mandir}/man1/%{name}.1.*
builder b5973d4
%{_datadir}/pixmaps/*.svg
builder b5973d4
builder b5973d4
builder b5973d4
%changelog
f3907fe
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.22-6
f3907fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f3907fe
a315166
* Tue Aug 20 2019 Susi Lehtola <jussilehtola@fedoraproject.org> - 0.0.22-5
a315166
- Rebuilt for GSL 2.6.
a315166
D Haley 4ee8b6b
* Sun Aug 11 2019 D Haley <mycae(a!t)gmx.com> - 0.0.22-4
D Haley 4ee8b6b
- Add workaround for crash under wayland (wx bug 17702)
D Haley 4ee8b6b
D Haley eea5294
* Sun Aug 11 2019 D Haley <mycae(a!t)gmx.com> - 0.0.22-3
D Haley eea5294
- Fix for PPC64LE qhull include bug (#1735406)
D Haley eea5294
cb942a7
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.22-2
cb942a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
cb942a7
D Haley 565726a
* Fri Apr 05 2019 D Haley <mycae(a!t)gmx.com> - 0.0.22-1
D Haley 565726a
- Update to 0.0.22
D Haley 565726a
3129855
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.21-3
3129855
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3129855
107dacf
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.21-2
107dacf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
107dacf
D Haley 39b420e
* Sat Feb 10 2018 D Haley <mycae(a!t)gmx.com> - 0.0.21-1
D Haley 39b420e
- Update to 0.0.21
D Haley 39b420e
58ec630
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-7
58ec630
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
58ec630
D Haley 4caf7be
* Sun Jan 14 2018  D Haley <mycae(a!t)gmx.com> - 0.0.20-6
D Haley 4caf7be
- Bump for MGL rebuild
D Haley 4caf7be
D Haley 4caf7be
* Thu Oct 12 2017  D Haley <mycae(a!t)gmx.com> - 0.0.20-5
D Haley 4caf7be
- Bump for GSL rebuild
D Haley 4caf7be
- Add fixes for s390/ppc64
D Haley 4caf7be
369bd56
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-4
369bd56
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
369bd56
62fc695
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.20-3
62fc695
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
62fc695
031d702
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.20-2
031d702
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
031d702
2a08a54
* Sun Feb 05 2017 D Haley <mycae(a!t)gmx.com> - 0.0.20-1
2a08a54
- Update to 0.0.20
2a08a54
- Do not specify wx-config-3.0 (bug in wx, 1077718, fixed)
builder 30ac561
=======
builder b9e2ff5
* Sat Jan 14 2017 D Haley <mycae(a!t)gmx.com> - 0.0.19-2
builder b9e2ff5
- Rebuild for libmgl bump
2a08a54
ea5a105
* Wed Jun 01 2016 D Haley <mycae(a!t)gmx.com> - 0.0.19-1
ea5a105
- Update to 0.0.19
ea5a105
- Remove gcc patch, fixed upstream
7b80c0d
- Add upstream patch
ea5a105
5183450
* Fri Apr 29 2016 Ralf Cors├ępius <corsepiu@fedoraproject.org> - 0.0.18-7
5183450
- Rebuild for qhull-2015.2-1.
5183450
- Reflect qhull_a.h's location having changed.
5183450
Orion Poplawski c3f9d5f
* Tue Mar 8 2016 Orion Poplawski <orion@cora.nwra.com> - 0.0.18-6
Orion Poplawski c3f9d5f
- Add patch for fix compilation with gcc 6
Orion Poplawski c3f9d5f
Orion Poplawski 72bc036
* Mon Feb 22 2016 Orion Poplawski <orion@cora.nwra.com> - 0.0.18-5
Orion Poplawski 72bc036
- Rebuild for gsl 2.1
Orion Poplawski 72bc036
- Cleanup spec
Orion Poplawski 72bc036
d81065b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.18-4
d81065b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d81065b
c27bdbb
* Sun Nov 29 2015 Kalev Lember <klember@redhat.com> - 0.0.18-3
c27bdbb
- Rebuilt for libmgl soname bump
c27bdbb
4420616
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.18-2
4420616
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4420616
26d8462
* Fri May 01 2015 D Haley <mycae(a!t)gmx.com> - 0.0.18-1
98f4b43
- Update to 0.0.18
a33e858
12b2d44
* Sat Oct 11 2014 D Haley <mycae(a!t)gmx.com> - 0.0.17-2
12b2d44
- Rebuild for mathgl 2.3
12b2d44
844eb6f
* Sun Sep 28 2014 D Haley <mycae(a!t)gmx.com> - 0.0.17-1
844eb6f
- Update to 0.0.17
bd54b67
aa3b8f1
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-2
aa3b8f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aa3b8f1
09a1da7
* Sat Apr 26 2014 D Haley <mycae(a!t)gmx.com> - 0.0.16-1
1acbe16
- Update to 0.0.16
1acbe16
096c9cc
* Wed Feb 12 2014 D Haley <mycae(a!t)gmx.com> - 0.0.15-4
096c9cc
- Rebuild for mgl
096c9cc
383414c
* Wed Feb 05 2014 D Haley <mycae(a!t)gmx.com> - 0.0.15-3
383414c
- Rebuild for new mgl
383414c
- Add upstream patches 
383414c
5022159
* Sun Jan 26 2014 D Haley <mycae(a!t)gmx.com> - 0.0.15-2
5022159
- Rebuild for new mgl
5022159
912eee5
* Sun Dec 01 2013 D Haley <mycae(a!t)gmx.com> - 0.0.15-1
912eee5
- Update to 0.0.15
912eee5
19ab9a1
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.14-2
19ab9a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
19ab9a1
a032d7d
* Sat Jul 20 2013 D Haley <mycae(a!t)gmx.com> - 0.0.14-1
a032d7d
- Update to 0.0.14
a032d7d
a032d7d
* Tue Jun 25 2013 D Haley <mycae(a!t)gmx.com> - 0.0.13-2
a032d7d
- Enable mathgl2
D Haley ed3aa84
D Haley ed3aa84
* Fri Apr 12 2013 D Haley <mycae(a!t)gmx.com> - 0.0.13-1
D Haley 8746bc6
- Update to 0.0.13
D Haley 8746bc6
a032d7d
* Sat Mar 23 2013 D Haley <mycae(a!t)gmx.com> - 0.0.12-4
D Haley 9129de6
- Add aarch 64 patch for bug 924960, until next version
D Haley 9129de6
516190f
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-3
516190f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
516190f
D Haley 4ed05c7
* Sun Dec 9 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.12-2
D Haley 4ed05c7
- Import bugfixes from upstream for plot UI and crash fixes
D Haley 4ed05c7
D Haley 3301a79
* Sun Nov 25 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.12-1
D Haley 3301a79
- Update to 0.0.12
mycae 16da36b
D Haley 3301a79
* Mon Apr 2 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.10-1
builder 84fff44
- Update to 0.0.10
builder 84fff44
10b580e
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-4
10b580e
- Rebuilt for c++ ABI breakage
10b580e
D Haley 3a37b3c
* Thu Jan 12 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.9-3
D Haley 3a37b3c
- Patch to fix FTFBS for gcc 4.7
D Haley 3a37b3c
95fe82e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
95fe82e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
95fe82e
D Haley f0f2869
* Sat Dec 17 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.9-1
builder 84fff44
- Update to 0.0.9
D Haley 01a0727
9621808
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.0.8-3
9621808
- Rebuild for new libpng
9621808
mycae 8d9583b
* Sat Oct 29 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.8-2
mycae 8d9583b
- Post release fixes for various crash bugs
mycae 8d9583b
mycae baf6f06
* Sun Oct 23 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.8-1
mycae baf6f06
- Update to 0.0.8
mycae baf6f06
mycae 8ee6e9a
* Sun Aug 14 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.7-1
mycae 8ee6e9a
- Update to 0.0.7
mycae 8ee6e9a
D Haley f0f2869
* Fri May 20 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.6-1
mycae 932db95
- Update to 0.0.6
mycae 932db95
D Haley f0f2869
* Sun Mar 27 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.5-1
mycae 932db95
- New upstream release
mycae 932db95
D Haley f0f2869
* Sun Mar 13 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.4-3
mycae 932db95
- Patch opengl startup code -- peek at gl context. Possible fix for bug 684390
mycae 004714d
mycae 932db95
* Sat Feb 12 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.4-2
mycae 932db95
- Fix bug 677016 - 3Depict no built with rpm opt flags
41bee32
mycae dc5d04b
* Sat Jan 22 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.4-1
mycae dc5d04b
- Update to 0.0.4
mycae dc5d04b
mycae 385d557
* Fri Nov 26 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.3-1
mycae 385d557
- Update to 0.0.3
mycae 385d557
builder b5973d4
* Tue Oct 5 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.2-3
builder b5973d4
- Use tex(latex) virtual package in preference to texlive-latex
builder b5973d4
builder b5973d4
* Mon Oct 4 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.2-2
builder b5973d4
- Add latex build for manual
builder b5973d4
builder b5973d4
* Sat Sep 25 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.2-1
builder b5973d4
- Update to 0.0.2
builder b5973d4
- Address comments in package review 
builder b5973d4
D Haley f0f2869
* Sun Aug 08 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.1-1
builder b5973d4
- Initial package
ea5a105