|
builder |
b5973d4 |
Name: 3Depict
|
|
builder |
0f6174f |
Version: 0.0.10
|
|
mycae |
7090a03 |
Release: 2%{?dist}
|
|
builder |
b5973d4 |
Summary: Valued 3D point cloud visualization and analysis
|
|
builder |
b5973d4 |
Group: Applications/Engineering
|
|
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 |
775a607 |
|
|
builder |
b5973d4 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
builder |
b5973d4 |
|
|
builder |
b5973d4 |
#Mathgl for plotting
|
|
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
|
|
builder |
b5973d4 |
BuildRequires: wxGTK-devel
|
|
builder |
b5973d4 |
#PDF latex build
|
|
builder |
b5973d4 |
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 |
0f6174f |
Patch0: %{name}-%{version}-manual-pdf-loc.patch
|
|
mycae |
932db95 |
#Fedora specific font dir
|
|
builder |
0f6174f |
Patch1: %{name}-%{version}-font-path.patch
|
|
builder |
0f6174f |
#libpng API change patch
|
|
builder |
0f6174f |
Patch2: %{name}-%{version}-png-gray.patch
|
|
mycae |
ec40d31 |
#post-release patch to fix transform->value shuffle uncond. abort.
|
|
mycae |
ec40d31 |
Patch3: %{name}-%{version}-fix-value-shuffle-abort.patch
|
|
builder |
0f6174f |
|
|
builder |
b5973d4 |
%description
|
|
builder |
0f6174f |
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
|
|
mycae |
775a607 |
%patch2
|
|
mycae |
ec40d31 |
%patch3
|
|
D Haley |
382e4c0 |
|
|
builder |
b5973d4 |
%build
|
|
D Haley |
382e4c0 |
%configure --disable-debug-checks --enable-openmp-parallel
|
|
builder |
b5973d4 |
make %{?_smp_mflags}
|
|
builder |
b5973d4 |
|
|
builder |
b5973d4 |
pushd docs/manual-latex
|
|
builder |
b5973d4 |
pdflatex manual.tex
|
|
mycae |
932db95 |
bibtex manual
|
|
mycae |
932db95 |
pdflatex manual.tex
|
|
builder |
b5973d4 |
popd
|
|
builder |
b5973d4 |
|
|
builder |
b5973d4 |
|
|
builder |
b5973d4 |
%install
|
|
builder |
b5973d4 |
rm -rf %{buildroot}
|
|
builder |
b5973d4 |
make install DESTDIR=%{buildroot}
|
|
builder |
b5973d4 |
|
|
builder |
b5973d4 |
# Install the textures
|
|
builder |
b5973d4 |
mkdir -p %{buildroot}%{_datadir}/%{name}/textures
|
|
D Haley |
382e4c0 |
cp -p src/textures/* %{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 |
382e4c0 |
install -Dp -m 644 src/tex-source/%{name}-icon.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg
|
|
mycae |
775a607 |
|
|
mycae |
775a607 |
#install language files
|
|
mycae |
775a607 |
#--
|
|
mycae |
775a607 |
#Remap locale names
|
|
mycae |
775a607 |
mv locales/de_DE/ locales/de/
|
|
mycae |
775a607 |
|
|
mycae |
775a607 |
mkdir -p %{buildroot}/%{_datadir}/locale/
|
|
mycae |
775a607 |
cp -R locales/* %{buildroot}/%{_datadir}/locale/
|
|
mycae |
775a607 |
|
|
D Haley |
382e4c0 |
#Restore the internal build's locale naming
|
|
mycae |
775a607 |
mv locales/de/ locales/de_DE/
|
|
mycae |
775a607 |
#--
|
|
mycae |
775a607 |
|
|
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 |
775a607 |
#Locale stuff
|
|
mycae |
775a607 |
%find_lang %{name}
|
|
mycae |
775a607 |
|
|
mycae |
775a607 |
|
|
builder |
b5973d4 |
%clean
|
|
builder |
b5973d4 |
rm -rf %{buildroot}
|
|
builder |
b5973d4 |
|
|
builder |
b5973d4 |
|
|
mycae |
775a607 |
%files -f %{name}.lang
|
|
builder |
b5973d4 |
%defattr(-,root,root,-)
|
|
builder |
b5973d4 |
%doc COPYING AUTHORS ChangeLog README TODO %{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
|
|
mycae |
ec40d31 |
* Fri Apr 6 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.10-2
|
|
mycae |
ec40d31 |
- Add post-release patch from upstream mercurial (http://threedepict.hg.sourceforge.net/hgweb/threedepict/threedepict/rev/4583c3a39b82)
|
|
mycae |
ec40d31 |
|
|
builder |
0f6174f |
* Sun Apr 1 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.10-1
|
|
builder |
0f6174f |
- Update to 0.0.10
|
|
builder |
0f6174f |
|
|
builder |
0f6174f |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-4
|
|
builder |
0f6174f |
- Rebuilt for c++ ABI breakage
|
|
builder |
0f6174f |
|
|
builder |
0f6174f |
* Thu Jan 12 2012 D Haley <mycae(a!t)yahoo.com> - 0.0.9-3
|
|
builder |
0f6174f |
- Patch to fix FTFBS for gcc 4.7
|
|
builder |
0f6174f |
|
|
builder |
0f6174f |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.9-2
|
|
builder |
0f6174f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
builder |
0f6174f |
|
|
builder |
0f6174f |
* Sat Dec 20 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.9-1
|
|
builder |
0f6174f |
- Update to 0.0.9
|
|
D Haley |
382e4c0 |
|
|
D Haley |
382e4c0 |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.0.8-3
|
|
D Haley |
382e4c0 |
- Rebuild for new libpng
|
|
D Haley |
382e4c0 |
|
|
mycae |
22d0adc |
* Sat Oct 29 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.8-2
|
|
mycae |
22d0adc |
- Post release fixes for various crash bugs
|
|
mycae |
22d0adc |
|
|
mycae |
95f8712 |
* Sun Oct 23 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.8-1
|
|
mycae |
95f8712 |
- Update to 0.0.8
|
|
mycae |
95f8712 |
|
|
mycae |
775a607 |
* Sun Aug 14 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.7-1
|
|
mycae |
775a607 |
- Update to 0.0.7
|
|
mycae |
775a607 |
|
|
mycae |
775a607 |
* Sun May 20 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.6-1
|
|
mycae |
932db95 |
- Update to 0.0.6
|
|
mycae |
932db95 |
|
|
mycae |
932db95 |
* Mon Mar 27 2011 D Haley <mycae(a!t)yahoo.com> - 0.0.5-1
|
|
mycae |
932db95 |
- New upstream release
|
|
mycae |
932db95 |
|
|
mycae |
932db95 |
* Sat 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 |
|
|
builder |
b5973d4 |
* Sat Aug 08 2010 D Haley <mycae(a!t)yahoo.com> - 0.0.1-1
|
|
builder |
b5973d4 |
- Initial package
|