Репозитории ALT
Последнее обновление в Пт, 24 июля 2020, 14:09:54 +0000 | Пакетов: 24177
en ru
Исходные пакеты в ветвях
свернуть окно
  • 3.5.4-alt3.3
  • 3.5.4-alt3.3
  • 3.5.4-alt3.3
  • 3.5.4-alt3.3
  • 3.5.4-alt3.3
  • 3.5.4-alt3.1
  • 3.5.4-alt3.1
  • 3.5.4-alt3.1
  • 3.5.4-alt0.M51.3
Группа :: Графика
Исходный пакет: dcmtk
Необработанный spec-файл

%add_optflags %optflags_shared
%define soname 14

Name: dcmtk
Version: 3.6.4
Release: alt1

Summary: DCMTK - DICOM Toolkit
License: MIT license
Group: Graphics
Url: http://dcmtk.org/dcmtk.php.en

# ftp://dicom.offis.de/pub/dicom/offis/software/dcmtk/dcmtk354/%name-%version.tar.gz

Source: %name-%version.tar

Requires: lib%name%soname = %EVR
BuildRequires: gcc-c++, zlib-devel, libpng-devel, libtiff-devel
BuildRequires: libxml2-devel, libssl-devel, cmake
BuildRequires: libjpeg-devel

%description
DCMTK is a collection of libraries and applications implementing large parts
the DICOM standard. It includes software for examining, constructing and
converting DICOM image files, handling offline media, sending and receiving
images over a network connection, as well as demonstrative image storage and
worklist servers.

Contains patches against latest stable version from http://gna.org/projects/pdcmtk

%package -n lib%name%soname
Summary: %name shared libraries
Group: System/Libraries

%description -n lib%name%soname
%name shared libraries

%package -n lib%name-devel
Summary: Headers for building software that uses %name
Group: Development/C
Requires: lib%name%soname = %EVR

%description -n lib%name-devel
Headers for building software that uses %name.

%prep
%setup

%build
%add_optflags -fPIC
%cmake -DBUILD_SHARED_LIBS:BOOL=ON \
-DDCMTK_INSTALL_LIBDIR=%_lib \
-DDCMTK_INSTALL_CMKDIR=%_libdir/cmake/dcmtk \
-DCMAKE_INSTALL_SYSCONFDIR=%_sysconfdir \
-DDCMTK_DEFAULT_CONFIGURATION_DIR=%_sysconfdir/dcmtk \
-DDCMTK_WITH_OPENSSL:BOOL=ON \
-DDCMTK_ENABLE_PRIVATE_TAGS:BOOL=ON \
-DDCMTK_WITH_XML:BOOL=ON \
-DDCMTK_WITH_TIFF:BOOL=ON \
-DDCMTK_WITH_ZLIB:BOOL=ON \
-DDCMTK_WITH_ICONV:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DDCMTK_INSTALL_DATDIC:STRING=share/libdcmtk12 \
-DDCMTK_USE_CXX11_STL:BOOL=ON \
-DDCMTK_ENABLE_CXX11:BOOL=ON
%cmake_build VERBOSE=1

%install
%cmakeinstall_std

%files
%_bindir/*
%_datadir/dcmtk/
%_docdir/*
%_man1dir/*
%config(noreplace) %_sysconfdir/*

%files -n lib%name%soname
%_libdir/*.so.%soname
%_libdir/*.so.%soname.*

%files -n lib%name-devel
%_includedir/dcmtk/
%_libdir/*.so
%_libdir/cmake/dcmtk/*.cmake

%changelog
* Sun Jan 20 2019 Anton Farygin <rider at altlinux.ru> 3.6.4-alt1
- 3.6.4
- added soname version to libdcmtk package name

* Tue Sep 18 2018 Anton Farygin <rider at altlinux.ru> 3.6.3-alt1
- 3.6.3
- disabled libwrap support

* Wed Aug 29 2018 Grigory Ustinov <grenka at altlinux.org> 3.6.2-alt1.1
- NMU: Rebuild with new openssl 1.1.0.

* Wed Nov 01 2017 Anton Farygin <rider at altlinux.ru> 3.6.2-alt1
- new version
- enabled build shared libraries

* Tue Nov 13 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.5.4-alt3.3
- Fixed build with gcc 4.7

* Fri Sep 28 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 3.5.4-alt3.2
- Rebuilt with libpng15

* Thu Dec 16 2010 Dmitry V. Levin <ldv at altlinux.org> 3.5.4-alt3.1
- Fixed build with openssl-1.0.

* Fri Feb 05 2010 Andrey Yurkovsky <anyr at altlinux.org> 3.5.4-alt3
- added dcmtk headers

* Wed Nov 25 2009 Andrey Yurkovsky <anyr at altlinux.org> 3.5.4-alt2
- %_sysconfdir/* in spec changed to %%config %_sysconfdir/*

* Fri Nov 13 2009 Andrey Yurkovsky <anyr at altlinux.org> 3.5.4-alt1
- initial build
 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT