[packages/h5augjpss] - new

qboosh qboosh at pld-linux.org
Tue Apr 2 21:37:02 CEST 2013


commit c386bcf37a58b1c9996f50cee835b749a5b1952d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Apr 2 21:36:31 2013 +0200

    - new

 h5augjpss-cmake.patch | 23 +++++++++++++++++++++
 h5augjpss.spec        | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)
---
diff --git a/h5augjpss.spec b/h5augjpss.spec
new file mode 100644
index 0000000..1b86b76
--- /dev/null
+++ b/h5augjpss.spec
@@ -0,0 +1,56 @@
+Summary:	Modify JPSS files to allow use in netCDF-based applications
+Summary(pl.UTF-8):	Modyfikowanie plików JPSS dla kompatybilności z aplikacjami opartymi na netCDF
+Name:		h5augjpss
+Version:	1.0.0
+Release:	1
+Group:		Applications/File
+License:	BSD-like, changed sources must be marked
+Source0:	http://www.hdfgroup.org/ftp/HDF5/projects/jpss/h5augjpss/%{name}-%{version}.tar.gz
+# Source0-md5:	5435f4dee00fcc8bbe30d9bed421c812
+Patch0:		%{name}-cmake.patch
+URL:		http://www.hdfgroup.org/projects/npoess/h5augjpss_index.html
+BuildRequires:	hdf5-devel >= 1.8
+BuildRequires:	libxml2-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The h5augjpss tool has options to make modifications to JPSS files
+that will aid in allowing some common "netCDF-based" applications to
+use or display them. Certain options will hide unsupported HDF5
+elements that block access to the files. These should at least allow
+access with ncdump and other netCDF-4 tools. Other options will
+incorporate information from the XML product and geolocation files.
+Additional metadata required for specific applications can then be
+added using h5edit or HDFView.
+
+%description -l pl.UTF-8
+Narzędzie h5augjpss pozwala dokonać modyfikacji w plikach JPSS, które
+pozwalają korzystać z nich lub wyświetlać je w aplikacjach opartych na
+netCDF. Pewne opcje ukrywają nie obsługiwane elementy HDF5 blokujące
+dostęp do tych plików. Powinno to pozwolić przynajmniej na dostęp przy
+użyciu ncdumpa i innych narzędzi netCDF-4. Inne opcje włączają
+informacje z produktu XML i plików geolokalizacji. Dodatkowe metadane,
+wymagane dla określonych aplikacji, można potem dodać przy użyciu
+programu h5edit lub HDFView.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%cmake .
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D bin/h5augjpss $RPM_BUILD_ROOT%{_bindir}/h5augjpss
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING docs/{RELEASE.txt,h5augjpssReferenceManual1.0-1.htm}
+%attr(755,root,root) %{_bindir}/h5augjpss
diff --git a/h5augjpss-cmake.patch b/h5augjpss-cmake.patch
new file mode 100644
index 0000000..67d1f9c
--- /dev/null
+++ b/h5augjpss-cmake.patch
@@ -0,0 +1,23 @@
+--- h5augjpss-1.0.0/CMakeLists.txt.orig	2011-06-23 19:48:48.000000000 +0200
++++ h5augjpss-1.0.0/CMakeLists.txt	2013-04-02 21:16:47.745819501 +0200
+@@ -257,13 +257,13 @@
+ # Define Sources
+ #-----------------------------------------------------------------------------
+ SET (h5augjpss_SRCS
+-    h5aj_main.c
+-    h5aj_command.c
+-    h5aj_read_xml.c
+-    h5aj_writenc4.c
+-    h5aj_restore.c
+-    h5augjpss.h
+-    h5aj_private.h
++    src/h5aj_main.c
++    src/h5aj_command.c
++    src/h5aj_read_xml.c
++    src/h5aj_writenc4.c
++    src/h5aj_restore.c
++    src/h5augjpss.h
++    src/h5aj_private.h
+ )
+ 
+ ADD_EXECUTABLE (h5augjpss ${h5augjpss_SRCS})
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/h5augjpss.git/commitdiff/c386bcf37a58b1c9996f50cee835b749a5b1952d



More information about the pld-cvs-commit mailing list