builder b5973d
Name:		3Depict
ea5a10
Version:	0.0.19
ea5a10
Release:	1%{?dist}
builder b5973d
Summary:	Valued 3D point cloud visualization and analysis
builder b5973d
Group:		Applications/Engineering
builder b5973d
builder b5973d
builder b5973d
License:	GPLv3+
builder b5973d
URL:		http://threedepict.sourceforge.net
builder b5973d
Source0:	http://downloads.sourceforge.net/threedepict/%{name}-%{version}.tar.gz
builder b5973d
mycae 8ee6e9
builder b5973d
#Mathgl for plotting
builder b5973d
BuildRequires:	mathgl-devel 
builder b5973d
#Mesa for GLU
builder b5973d
BuildRequires:	libGL-devel 
builder b5973d
#Libxml2 for file parsing
builder b5973d
BuildRequires:	libxml2-devel 
builder b5973d
#FTGL for 3d fonts
builder b5973d
BuildRequires:	ftgl-devel 
builder b5973d
#libpng for textures
builder b5973d
BuildRequires: libpng-devel
builder b5973d
#Desktop file utils for installing desktop file
builder b5973d
BuildRequires: desktop-file-utils
builder b5973d
#WX widgets
844eb6
BuildRequires: wxGTK3-devel
98f4b4
#Vigra, for voxelisation
98f4b4
BuildRequires: vigra-devel
98f4b4
builder b5973d
#PDF latex build
D Haley 3301a7
#BuildRequires: tex(latex)
builder b5973d
mycae 385d55
#Required for surface removal algorithms 
mycae 385d55
BuildRequires: qhull-devel
mycae 385d55
mycae 932db9
#Fedora specific PDF dir.
builder 84fff4
Patch0: %{name}-%{version}-manual-pdf-loc.patch
mycae 932db9
#Fedora specific font dir
builder 84fff4
Patch1: %{name}-%{version}-font-path.patch
09a1da
D Haley 8746bc
builder b5973d
%description
builder 84fff4
This software is designed to help users visualize and analyze 3D point clouds
builder b5973d
with an associated real value, in a fast and flexible fashion. It is 
builder b5973d
specifically targeted to atom probe tomography applications, but may be 
builder b5973d
useful for general scalar valued point data purposes.
builder b5973d
builder b5973d
%prep
mycae 932db9
builder b5973d
%setup -q 
mycae 932db9
builder b5973d
%patch0
mycae 932db9
%patch1
D Haley 8746bc
518345
%if 0%{?fedora} > 24
518345
# Installation directory has changed
518345
sed -i -e 's,qhull/qhull_a.h,libqhull/qhull_a.h,' \
518345
  src/backend/filters/filterCommon.h \
518345
  src/backend/filters/algorithms/rdf.cpp \
518345
  configure configure.ac
518345
# Avoid rerunning the autotools
518345
touch -r aclocal.m4 configure configure.ac
518345
%endif
518345
builder b5973d
%build
98f4b4
#Due to bug 1077718, wx-config cannot be specified, due to
98f4b4
# wx2/wx3 conflict.
98f4b4
%configure --disable-debug-checks --enable-openmp-parallel --with-wx-config=wx-config-3.0
builder b5973d
make %{?_smp_mflags}
builder b5973d
builder b5973d
%install
builder b5973d
make install DESTDIR=%{buildroot}
builder b5973d
builder b5973d
# Install the textures
builder b5973d
mkdir -p %{buildroot}%{_datadir}/%{name}/textures
D Haley 8746bc
cp -p data/textures/*png %{buildroot}%{_datadir}/%{name}/textures/
builder b5973d
builder b5973d
builder b5973d
#Install the manpage
builder b5973d
install -Dp -m 644 packaging/manpage/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
builder b5973d
builder b5973d
desktop-file-install \
builder b5973d
		--dir %{buildroot}%{_datadir}/applications \
builder b5973d
		packaging/%{name}.desktop
builder b5973d
mkdir -p %{buildroot}%{_datadir}/pixmaps/
D Haley 8746bc
install -Dp -m 644 data/textures/tex-source/%{name}-icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
mycae 8ee6e9
mycae 8ee6e9
#install language files
mycae 8ee6e9
#--
mycae 8ee6e9
#Remap locale names
mycae 8ee6e9
mv locales/de_DE/ locales/de/
mycae 8ee6e9
mycae 8ee6e9
mkdir -p %{buildroot}/%{_datadir}/locale/
mycae 8ee6e9
cp -R locales/* %{buildroot}/%{_datadir}/locale/
mycae 8ee6e9
D Haley 01a072
#Restore the internal build's locale naming
mycae 8ee6e9
mv locales/de/ locales/de_DE/
mycae 8ee6e9
#--
mycae 8ee6e9
builder b5973d
builder b5973d
#Move the documentation such that it is picked up by the doc macro
builder b5973d
mv docs/manual-latex/manual.pdf %{name}-%{version}-manual.pdf
builder b5973d
mycae 8ee6e9
#Locale stuff
mycae 8ee6e9
%find_lang %{name}
mycae 8ee6e9
mycae 8ee6e9
mycae 8ee6e9
%files -f %{name}.lang
Orion Poplawski 72bc03
%license COPYING
Orion Poplawski 72bc03
%doc AUTHORS ChangeLog README TODO %{name}-%{version}-manual.pdf
builder b5973d
%{_bindir}/%{name}
builder b5973d
%dir %{_datadir}/%{name}/
builder b5973d
%dir %{_datadir}/%{name}/textures
builder b5973d
%{_datadir}/%{name}/textures/*.png
builder b5973d
%{_datadir}/applications/%{name}.desktop
builder b5973d
%{_mandir}/man1/%{name}.1.*
builder b5973d
%{_datadir}/pixmaps/*.svg
builder b5973d
builder b5973d
builder b5973d
%changelog
ea5a10
* Wed Jun 01 2016 D Haley <mycae(a!t)gmx.com> - 0.0.19-1
ea5a10
- Update to 0.0.19
ea5a10
- Remove gcc patch, fixed upstream
ea5a10
518345
* Fri Apr 29 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.0.18-7
518345
- Rebuild for qhull-2015.2-1.
518345
- Reflect qhull_a.h's location having changed.
518345
Orion Poplawski c3f9d5
* Tue Mar 8 2016 Orion Poplawski <orion@cora.nwra.com> - 0.0.18-6
Orion Poplawski c3f9d5
- Add patch for fix compilation with gcc 6
Orion Poplawski c3f9d5
Orion Poplawski 72bc03
* Mon Feb 22 2016 Orion Poplawski <orion@cora.nwra.com> - 0.0.18-5
Orion Poplawski 72bc03
- Rebuild for gsl 2.1
Orion Poplawski 72bc03
- Cleanup spec
Orion Poplawski 72bc03
d81065
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.18-4
d81065
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d81065
c27bdb
* Sun Nov 29 2015 Kalev Lember <klember@redhat.com> - 0.0.18-3
c27bdb
- Rebuilt for libmgl soname bump
c27bdb
442061
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.18-2
442061
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
442061
26d846
* Fri May 01 2015 D Haley <mycae(a!t)gmx.com> - 0.0.18-1
98f4b4
- Update to 0.0.18
a33e85
12b2d4
* Sat Oct 11 2014 D Haley <mycae(a!t)gmx.com> - 0.0.17-2
12b2d4
- Rebuild for mathgl 2.3
12b2d4
844eb6
* Sun Sep 28 2014 D Haley <mycae(a!t)gmx.com> - 0.0.17-1
844eb6
- Update to 0.0.17
bd54b6
aa3b8f
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-2
aa3b8f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
aa3b8f
09a1da
* Sat Apr 26 2014 D Haley <mycae(a!t)gmx.com> - 0.0.16-1
1acbe1
- Update to 0.0.16
1acbe1
096c9c
* Wed Feb 12 2014 D Haley <mycae(a!t)gmx.com> - 0.0.15-4
096c9c
- Rebuild for mgl
096c9c
383414
* Wed Feb 05 2014 D Haley <mycae(a!t)gmx.com> - 0.0.15-3
383414
- Rebuild for new mgl
383414
- Add upstream patches 
383414
502215
* Sun Jan 26 2014 D Haley <mycae(a!t)gmx.com> - 0.0.15-2
502215
- Rebuild for new mgl
502215
912eee
* Sun Dec 01 2013 D Haley <mycae(a!t)gmx.com> - 0.0.15-1
912eee
- Update to 0.0.15
912eee
19ab9a
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.14-2
19ab9a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
19ab9a
a032d7
* Sat Jul 20 2013 D Haley <mycae(a!t)gmx.com> - 0.0.14-1
a032d7
- Update to 0.0.14
a032d7
a032d7
* Tue Jun 25 2013 D Haley <mycae(a!t)gmx.com> - 0.0.13-2
a032d7
- Enable mathgl2
D Haley ed3aa8
D Haley ed3aa8
* Fri Apr 12 2013 D Haley <mycae(a!t)gmx.com> - 0.0.13-1
D Haley 8746bc
- Update to 0.0.13
D Haley 8746bc
a032d7
* Sat Mar 23 2013 D Haley <mycae(a!t)gmx.com> - 0.0.12-4
D Haley 9129de
- Add aarch 64 patch for bug 924960, until next version
D Haley 9129de
516190
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.12-3
516190
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
516190
D Haley 4ed05c
* Sun Dec 9 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.12-2
D Haley 4ed05c
- Import bugfixes from upstream for plot UI and crash fixes
D Haley 4ed05c
D Haley 3301a7
* Sun Nov 25 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.12-1
D Haley 3301a7
- Update to 0.0.12
mycae 16da36
D Haley 3301a7
* Mon Apr 2 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.10-1
builder 84fff4
- Update to 0.0.10
builder 84fff4
10b580
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-4
10b580
- Rebuilt for c++ ABI breakage
10b580
D Haley 3a37b3
* Thu Jan 12 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.9-3
D Haley 3a37b3
- Patch to fix FTFBS for gcc 4.7
D Haley 3a37b3
95fe82
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
95fe82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
95fe82
D Haley f0f286
* Sat Dec 17 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.9-1
builder 84fff4
- Update to 0.0.9
D Haley 01a072
962180
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.0.8-3
962180
- Rebuild for new libpng
962180
mycae 8d9583
* Sat Oct 29 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.8-2
mycae 8d9583
- Post release fixes for various crash bugs
mycae 8d9583
mycae baf6f0
* Sun Oct 23 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.8-1
mycae baf6f0
- Update to 0.0.8
mycae baf6f0
mycae 8ee6e9
* Sun Aug 14 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.7-1
mycae 8ee6e9
- Update to 0.0.7
mycae 8ee6e9
D Haley f0f286
* Fri May 20 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.6-1
mycae 932db9
- Update to 0.0.6
mycae 932db9
D Haley f0f286
* Sun Mar 27 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.5-1
mycae 932db9
- New upstream release
mycae 932db9
D Haley f0f286
* Sun Mar 13 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.4-3
mycae 932db9
- Patch opengl startup code -- peek at gl context. Possible fix for bug 684390
mycae 004714
mycae 932db9
* Sat Feb 12 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.4-2
mycae 932db9
- Fix bug 677016 - 3Depict no built with rpm opt flags
41bee3
mycae dc5d04
* Sat Jan 22 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.4-1
mycae dc5d04
- Update to 0.0.4
mycae dc5d04
mycae 385d55
* Fri Nov 26 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.3-1
mycae 385d55
- Update to 0.0.3
mycae 385d55
builder b5973d
* Tue Oct 5 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.2-3
builder b5973d
- Use tex(latex) virtual package in preference to texlive-latex
builder b5973d
builder b5973d
* Mon Oct 4 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.2-2
builder b5973d
- Add latex build for manual
builder b5973d
builder b5973d
* Sat Sep 25 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.2-1
builder b5973d
- Update to 0.0.2
builder b5973d
- Address comments in package review 
builder b5973d
D Haley f0f286
* Sun Aug 08 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.1-1
builder b5973d
- Initial package
ea5a10