Notification time stamped 2021-11-29 08:23:10 UTC
From 8a83ac71e50032c414b8cb061501fe6339449ad0 Mon Sep 17 00:00:00 2001
From: Alessio <alciregi(a)fedoraproject.org>
Date: Nov 29 2021 08:22:09 +0000
Subject: Initial import (#2010718)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1f5e395
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/AlizaMS-1.7.2.tar.gz
diff --git a/README.md b/README.md
index 88db7a2..53d3a1c 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,4 @@
# alizams
The alizams package
+A DICOM viewer.
diff --git a/alizams.appdata.xml b/alizams.appdata.xml
new file mode 100644
index 0000000..67d088c
--- /dev/null
+++ b/alizams.appdata.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id type="desktop">alizams.desktop</id>
+
+ <name>Aliza MS</name>
+ <summary>A DICOM viewer</summary>
+
+ <metadata_license>FSFAP</metadata_license>
+ <project_license>GPL-3.0-only</project_license>
+
+ <description>
+ <p>
+ A DICOM viewer.
+ </p>
+ <p>See DICOM storage classes for read support,
+ 3D view for uniform and non-uniform images,
+ De-identify DICOM,
+ Ultrasound incl. proper measurement in regions, cine,
+ Grayscale Softcopy Presentation,
+ Structured Report,
+ Siemens Mosaic format,
+ United Imaging Healthcare (UIH) Grid / VFrame format,
+ Sequential and interleaved 4D series,
+ Parametric Map,
+ Supplemental Palette Color Lookup,
+ Elscint ELSCINT1 PMSCT_RLE1 and PMSCT_RGB1,
+ MR Spectroscopy (spatial and data information).
+ </p>
+ <p>
+ Recursive scan directory,
+ DICOMDIR,
+ CTK database.
+ </p>
+ <p>
+ DICOM metadata viewer 2D and 3D Views,
+ Image intensity windowing, linear and sigmoid, LUT,
+ MPR (multi-planar reconstruction),
+ Physical space,
+ Non-uniform DICOM series,
+ Contours,
+ Multiple images,
+ Volume rendering.
+ </p>
+ <p>
+ Image intensity windowing, LUT,
+ Image intensity windowing with histogram,
+ Select sub-image,
+ Set position with cursor (MPR),
+ Measure,
+ Ultrasound regions,
+ View value and index under cursor,
+ 3D animation (2D+time),
+ 4D animation (3D+time),
+ Anchor slice.
+ </p>
+ </description>
+
+ <url
type="homepage">https://github.com/AlizaMedicalImaging/Aliza...
+
+ <screenshots>
+ <screenshot type="default">
+
<
image>https://raw.githubusercontent.com/AlizaMedicalImaging/AlizaMS/ma...
+ </screenshot>
+ <screenshot>
+
<
image>https://raw.githubusercontent.com/AlizaMedicalImaging/AlizaMS/ma...
+ </screenshot>
+ <screenshot>
+
<
image>https://raw.githubusercontent.com/AlizaMedicalImaging/AlizaMS/ma...
+ </screenshot>
+ </screenshots>
+</component>
diff --git a/alizams.spec b/alizams.spec
new file mode 100644
index 0000000..ae09f5b
--- /dev/null
+++ b/alizams.spec
@@ -0,0 +1,101 @@
+%global forgeurl
https://github.com/AlizaMedicalImaging/AlizaMS
+
+Name: alizams
+Version: 1.7.2
+
+%forgemeta
+
+Release: 1%{?dist}
+Summary: Aliza MS DICOM Viewer
+License: GPLv3
+URL: %{forgeurl}
+Source0: %{forgesource}
+Source1: %{name}.appdata.xml
+
+BuildRequires: cmake
+BuildRequires: gcc
+BuildRequires: g++
+BuildRequires: libuuid-devel
+BuildRequires: zlib-devel
+BuildRequires: qt5-qtsvg-devel
+BuildRequires: vxl-devel
+BuildRequires: openjpeg2-devel >= 2.0
+BuildRequires: CharLS-devel
+BuildRequires: cmake(LIBMINC)
+BuildRequires: cmake(ITK)
+BuildRequires: cmake(gdcm)
+BuildRequires: desktop-file-utils
+BuildRequires: libappstream-glib
+BuildRequires: bullet-devel
+
+Requires: hicolor-icon-theme
+Requires: qt5-qtsvg
+
+Provides: bundled(vectormath)
+Provides: bundled(colorspace)
+
+#
https://github.com/AlizaMedicalImaging/AlizaMS/issues/2
+ExcludeArch: %{power64} %{ix86} s390x
+
+%description
+A 2D and 3D DICOM viewer with many tools and very fast directory
+scanner and DICOMDIR support. It can consistently remove personal
+information from DICOM files.
+
+%prep
+%forgesetup
+
+# Remove unuseful directories
+rm -rf debian-10
+rm -rf fedora-34
+rm -rf package/apple
+rm -rf package/art
+rm -fr mdcm/Utilities/mdcmzlib/
+rm -fr mdcm/Utilities/mdcmopenjpeg/
+rm -fr mdcm/Utilities/mdcmcharls/
+rm -fr mdcm/Utilities/mdcmuuid/
+rm -fr mdcm/Utilities/pvrg/
+rm -fr b/
+rm -fr CG/glew/
+
+%build
+%cmake \
+ -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
+ -DALIZA_QT_VERSION:STRING=5 \
+ -DALIZA_USE_SYSTEM_BULLET:BOOL=ON \
+ -DMDCM_USE_SYSTEM_ZLIB:BOOL=ON \
+ -DMDCM_USE_SYSTEM_OPENJPEG:BOOL=ON \
+ -DMDCM_USE_SYSTEM_CHARLS:BOOL=ON \
+ -DMDCM_USE_SYSTEM_UUID:BOOL=ON \
+ -DALIZA_CXX_STANDARD:STRING=14 \
+ -DITK_DIR=%{_libdir}/cmake/InsightToolkit \
+%cmake_build
+
+%install
+%cmake_install
+
+# Install appdata
+install -d %{buildroot}%{_datadir}/metainfo
+install -p -m 0644 %{SOURCE1} \
+ %{buildroot}%{_datadir}/metainfo
+
+%check
+desktop-file-validate \
+ %{buildroot}%{_datadir}/applications/%{name}.desktop
+appstream-util validate-relax --nonet \
+ %{buildroot}%{_datadir}/metainfo/*.appdata.xml
+
+%files
+%license LICENSE
+%doc README.md
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/metainfo/%{name}.appdata.xml
+%{_datadir}/icons/hicolor/*/apps/%{name}.png
+%{_datadir}/icons/hicolor/*/apps/%{name}.svg
+%{_datadir}/%{name}
+%{_mandir}/man1/%{name}.1*
+
+%changelog
+* Fri Nov 26 2021 Alessio <alessio(a)fedoraproject.org> - 1.7.2-1
+- Initial RPM version
diff --git a/sources b/sources
new file mode 100644
index 0000000..d7a6ad7
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (AlizaMS-1.7.2.tar.gz) =
27d012eae3ca6235b08ded1dcde61702274d1350c31d486199147cc9308ece00ee5f0ce50147a8a70b5792da30f851682044d9de1dde1cb65a93df65a1f0da02
https://src.fedoraproject.org/rpms/alizams/c/8a83ac71e50032c414b8cb061501...