[packages/gtatool] - added teem support
qboosh
qboosh at pld-linux.org
Fri Dec 28 19:28:39 CET 2012
commit 53d34f410083736e078d93820a28fad04b4382c3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Dec 28 19:30:07 2012 +0100
- added teem support
gtatool.spec | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/gtatool.spec b/gtatool.spec
index 030af73..25d7685 100644
--- a/gtatool.spec
+++ b/gtatool.spec
@@ -16,6 +16,7 @@
%bcond_without pcl # PCD conv module (based on PCL's libpcl_io)
%bcond_without pfs # PFS conv module
%bcond_without sndfile # sndfile conv module
+%bcond_without teem # teem (nrrd) conv module
#
Summary: Tools to manipulate Generic Tagged Array (GTA) files
Summary(pl.UTF-8): Narzędzia do obróbki plików GTA (ogólnych tablic etykietowanych)
@@ -48,6 +49,7 @@ BuildRequires: libstdc++-devel
BuildRequires: pkgconfig
%{?with_qt:BuildRequires: qt4-build >= 4.6}
BuildRequires: tar >= 1:1.22
+%{?with_teem:BuildRequires: teem-devel}
BuildRequires: xz
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -222,6 +224,18 @@ gtatool module to convert from/to libsndfile supported formats.
Moduł gtatool do konwersji z/do formatów obsługiwanych przez
libsndfile.
+%package conv-teem
+Summary: gtatool module to convert from/to Teem (NRRD) format
+Summary(pl.UTF-8): Moduł gtatool do konwersji z/do formatu Teem (NRRD)
+Group: Applications/File
+Requires: %{name} = %{version}-%{release}
+
+%description conv-teem
+gtatool module to convert from/to Teem (NRRD) format.
+
+%description conv-teem -l pl.UTF-8
+Moduł gtatool do konwersji z/do formatu Teem (NRRD).
+
%package gui
Summary: Qt-based GUI module for gtatool
Summary(pl.UTF-8): Moduł graficznego interfejsu użytkownika opartego na Qt dla narzędzia gtatool
@@ -255,7 +269,8 @@ gtatool.
%{!?with_pcl:--without-pcd} \
%{!?with_pfs:--without-pfs} \
%{!?with_qt:--without-qt} \
- %{!?with_sndfile:--without-sndfile}
+ %{!?with_sndfile:--without-sndfile} \
+ %{!?with_teem:--without-teem}
%{__make}
%install
@@ -365,6 +380,12 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/gtatool/conv-sndfile.so
%endif
+%if %{with teem}
+%files conv-teem
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gtatool/conv-teem.so
+%endif
+
%if %{with qt}
%files gui
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gtatool.git/commitdiff/53d34f410083736e078d93820a28fad04b4382c3
More information about the pld-cvs-commit
mailing list