|
|
8994a79 |
%global git e467dfd
|
|
|
8994a79 |
%global github jenslody-aeskulap
|
|
|
8994a79 |
%global checkout git%{git}
|
|
|
8994a79 |
%global checkout_date 20151201
|
|
|
8994a79 |
|
|
|
8994a79 |
%if 0%{?fedora} < 23
|
|
|
8994a79 |
%global _hardened_build 1
|
|
|
8994a79 |
%endif
|
|
|
8994a79 |
|
|
|
8994a79 |
Name: aeskulap
|
|
|
8994a79 |
Version: 0.2.2
|
|
|
8994a79 |
Release: 0.25.beta1%{?dist}
|
|
|
8994a79 |
Summary: Full open source replacement for commercially available DICOM viewers
|
|
|
8994a79 |
# The sources of the (internal) libraries are LGPLv2+, the rest of the sources are GPLv2+,
|
|
|
8994a79 |
# except binreloc.{c,h} and the documentation, which are in the public domain
|
|
|
8994a79 |
License: GPLv2+ and LGPLv2+ and Public Domain
|
|
|
8994a79 |
URL: https://github.com/jenslody/aeskulap
|
|
|
8994a79 |
|
|
|
8994a79 |
Source0: https://github.com/jenslody/%{name}/tarball/master/%{github}-%{git}.tar.gz
|
|
|
8994a79 |
|
|
|
8994a79 |
BuildRequires: dcmtk-devel
|
|
|
8994a79 |
BuildRequires: intltool
|
|
|
8994a79 |
BuildRequires: libpng-devel
|
|
|
8994a79 |
BuildRequires: libjpeg-turbo-devel
|
|
|
8994a79 |
BuildRequires: libtiff-devel
|
|
|
8994a79 |
BuildRequires: libtool
|
|
|
8994a79 |
BuildRequires: openssl-devel
|
|
|
8994a79 |
BuildRequires: gettext-devel
|
|
|
8994a79 |
BuildRequires: tcp_wrappers-devel
|
|
|
8994a79 |
BuildRequires: desktop-file-utils
|
|
|
8994a79 |
BuildRequires: pkgconfig(gtkmm-2.4)
|
|
|
8994a79 |
BuildRequires: pkgconfig(libglademm-2.4)
|
|
|
8994a79 |
BuildRequires: pkgconfig(gthread-2.0)
|
|
|
8994a79 |
BuildRequires: pkgconfig(gconfmm-2.6)
|
|
|
8994a79 |
BuildRequires: libappstream-glib
|
|
|
8994a79 |
BuildRequires: GConf2
|
|
|
8994a79 |
Requires(pre): GConf2
|
|
|
8994a79 |
Requires(post): GConf2
|
|
|
8994a79 |
Requires(preun): GConf2
|
|
|
8994a79 |
|
|
|
8994a79 |
%description
|
|
|
8994a79 |
Aeskulap is able to load a series of special images stored in the
|
|
|
8994a79 |
DICOM format for review. Additionally Aeskulap is able to query
|
|
|
8994a79 |
and fetch DICOM images from archive nodes (also called PACS) over
|
|
|
8994a79 |
the network.
|
|
|
8994a79 |
|
|
|
8994a79 |
The goal of this project is to create a full open source replacement
|
|
|
8994a79 |
for commercially available DICOM viewers.
|
|
|
8994a79 |
|
|
|
8994a79 |
Aeskulap is based on gtkmm, glademm and gconfmm and designed to run
|
|
|
8994a79 |
under Linux. Ports of these packages are available for different
|
|
|
8994a79 |
platforms. It should be quite easy to port Aeskulap to any platform
|
|
|
8994a79 |
were these packages are available.
|
|
|
8994a79 |
|
|
|
8994a79 |
%package doc
|
|
|
8994a79 |
Summary: Documentation for aeskulap
|
|
|
8994a79 |
BuildArch: noarch
|
|
|
8994a79 |
|
|
|
8994a79 |
%description doc
|
|
|
8994a79 |
Documentation for aeskulap.
|
|
|
8994a79 |
|
|
|
8994a79 |
%prep
|
|
|
8994a79 |
%setup -q -n %{github}-%{git}
|
|
|
8994a79 |
autoreconf --force --install
|
|
|
8994a79 |
intltoolize --force --copy --automake
|
|
|
8994a79 |
|
|
|
8994a79 |
%build
|
|
|
8994a79 |
# point to the correct lib version depending on the arch
|
|
|
8994a79 |
sed -i 's/lib -ldcmjpeg/%{_lib} -ldcmjpeg/' configure configure.ac
|
|
|
8994a79 |
|
|
|
8994a79 |
export CPPFLAGS='-std=c++11'
|
|
|
8994a79 |
%configure --disable-static --disable-schemas-install
|
|
|
8994a79 |
make %{?_smp_mflags}
|
|
|
8994a79 |
|
|
|
8994a79 |
%install
|
|
|
8994a79 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
|
8994a79 |
%make_install
|
|
|
8994a79 |
|
|
|
8994a79 |
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
|
|
|
8994a79 |
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
8994a79 |
|
|
|
8994a79 |
%find_lang %{name}
|
|
|
8994a79 |
|
|
|
8994a79 |
%pre
|
|
|
8994a79 |
%gconf_schema_prepare %{name}
|
|
|
8994a79 |
|
|
|
8994a79 |
%post
|
|
|
8994a79 |
%gconf_schema_upgrade %{name}
|
|
|
8994a79 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8994a79 |
/usr/bin/update-desktop-database &> /dev/null || :
|
|
|
8994a79 |
|
|
|
8994a79 |
%preun
|
|
|
8994a79 |
%gconf_schema_remove %{name}
|
|
|
8994a79 |
|
|
|
8994a79 |
%postun
|
|
|
8994a79 |
if [ $1 -eq 0 ] ; then
|
|
|
8994a79 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
8994a79 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8994a79 |
fi
|
|
|
8994a79 |
/usr/bin/update-desktop-database &> /dev/null || :
|
|
|
8994a79 |
|
|
|
8994a79 |
%posttrans
|
|
|
8994a79 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
8994a79 |
|
|
|
8994a79 |
%files -f %{name}.lang
|
|
|
8994a79 |
%{_bindir}/%{name}
|
|
|
8994a79 |
%{_libdir}/%{name}/
|
|
|
8994a79 |
%{_datadir}/%{name}/
|
|
|
8994a79 |
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
|
|
|
8994a79 |
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
|
|
8994a79 |
%{_datadir}/applications/%{name}.desktop
|
|
|
8994a79 |
%{_datadir}/appdata/%{name}.appdata.xml
|
|
|
8994a79 |
%{_sysconfdir}/gconf/schemas/%{name}.schemas
|
|
|
8994a79 |
%exclude %{_libdir}/%{name}/*.la
|
|
|
8994a79 |
%doc AUTHORS ABOUT-NLS ChangeLog README
|
|
|
8994a79 |
%license COPYING COPYING.LIB
|
|
|
8994a79 |
|
|
|
8994a79 |
%files doc
|
|
|
8994a79 |
%doc doc/%{name}-tutorials.pdf
|
|
|
8994a79 |
%license COPYING.DOC
|
|
|
8994a79 |
|
|
|
8994a79 |
%changelog
|
|
|
8994a79 |
* Tue Dec 01 2015 Jens Lody <fedora@jenslody.de> - 0.2.2-0.25.beta1
|
|
|
8994a79 |
- Add license file, to doc-package.
|
|
|
8994a79 |
|
|
|
8994a79 |
* Tue Nov 24 2015 Jens Lody <fedora@jenslody.de> - 0.2.2-0.24.beta1
|
|
|
8994a79 |
- Fix dependency for doc- and debuginfo-package.
|
|
|
8994a79 |
- Fix license strings in spec-file and appdata.
|
|
|
8994a79 |
- Enable hardened build for F22
|
|
|
8994a79 |
- Added COPYING.LIB.
|
|
|
8994a79 |
|
|
|
8994a79 |
* Sun Nov 22 2015 Jens Lody <fedora@jenslody.de> - 0.2.2-0.23.beta1
|
|
|
8994a79 |
- Use own fork of github-repo.
|
|
|
8994a79 |
- Remove dcmtk-sources.
|
|
|
8994a79 |
- Include all patches in source.
|
|
|
8994a79 |
- Update autotools, to remove deprecated macros and reduce warnings.
|
|
|
8994a79 |
- Add appdata-file.
|
|
|
8994a79 |
|
|
|
8994a79 |
* Fri Nov 20 2015 Jens Lody <fedora@jenslody.de> - 0.2.2-0.22.beta1
|
|
|
8994a79 |
- Use github-repo,
|
|
|
8994a79 |
- reduced amount of patches.
|
|
|
8994a79 |
|
|
|
8994a79 |
* Thu Oct 08 2015 Jens Lody <fedora@jenslody.de> - 0.2.2-0.21beta1
|
|
|
8994a79 |
- Add '-std=c++11' flag, because (at least) recent glibmm24 requires it.
|
|
|
8994a79 |
- Update desktop-database, as it is required by packaging guidelines.
|
|
|
8994a79 |
- Added url for doc-file,
|
|
|
8994a79 |
- Split off doc-package (~ 1MB).
|
|
|
8994a79 |
|
|
|
8994a79 |
* Sun Oct 04 2015 Jens Lody <fedora@jenslody.de> - 0.2.2-0.20beta1
|
|
|
8994a79 |
- Add patch to work with dcmtk 3.6.1
|
|
|
8994a79 |
- Add patch to fix a crash in seriesview.cpp
|
|
|
8994a79 |
- Do not clean buildroot before install
|
|
|
8994a79 |
- Do not use defattr
|
|
|
8994a79 |
- More consisten macro-usage
|
|
|
8994a79 |
|
|
|
8994a79 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.19beta1
|
|
|
8994a79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
8994a79 |
|
|
|
8994a79 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.18beta1
|
|
|
8994a79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
8994a79 |
|
|
|
8994a79 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.17beta1
|
|
|
8994a79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
8994a79 |
|
|
|
8994a79 |
* Thu Mar 14 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.2.2-0.16beta1
|
|
|
8994a79 |
- Update patch
|
|
|
8994a79 |
|
|
|
8994a79 |
* Thu Mar 14 2013 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.2.2-0.15beta1
|
|
|
8994a79 |
- Update desktop file patch to correct mimetype
|
|
|
8994a79 |
|
|
|
8994a79 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.14beta1
|
|
|
8994a79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
8994a79 |
|
|
|
8994a79 |
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 0.2.2-0.13beta1
|
|
|
8994a79 |
- rebuild due to "jpeg8-ABI" feature drop
|
|
|
8994a79 |
|
|
|
8994a79 |
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.2.2-0.12beta1
|
|
|
8994a79 |
- rebuild against new libjpeg
|
|
|
8994a79 |
|
|
|
8994a79 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.11beta1
|
|
|
8994a79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
8994a79 |
|
|
|
8994a79 |
* Mon May 07 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.2-0.10beta1
|
|
|
8994a79 |
- Spec bump for libtiff update and rebuild
|
|
|
8994a79 |
|
|
|
8994a79 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.9beta1
|
|
|
8994a79 |
- Rebuilt for c++ ABI breakage
|
|
|
8994a79 |
|
|
|
8994a79 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-0.8beta1
|
|
|
8994a79 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8994a79 |
|
|
|
8994a79 |
* Fri Jan 06 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.2-0.7beta1
|
|
|
8994a79 |
- spec bump for gcc 4.7 rebuild
|
|
|
8994a79 |
|
|
|
8994a79 |
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.2.2-0.6beta1
|
|
|
8994a79 |
- Rebuild for new libpng
|
|
|
8994a79 |
|
|
|
8994a79 |
* Sat Jul 09 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.2-0.5beta1
|
|
|
8994a79 |
- Update scriptlets
|
|
|
8994a79 |
|
|
|
8994a79 |
* Sat Jul 09 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.2-0.4beta1
|
|
|
8994a79 |
- Update license
|
|
|
8994a79 |
|
|
|
8994a79 |
* Mon Jul 04 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.2-0.3beta1
|
|
|
8994a79 |
- remove autoconf patch and call autoreconf in the spec
|
|
|
8994a79 |
|
|
|
8994a79 |
* Wed Jun 29 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.2-0.2beta1
|
|
|
8994a79 |
- get rid of devel package
|
|
|
8994a79 |
- add tutorials as additional documentation
|
|
|
8994a79 |
|
|
|
8994a79 |
* Mon Jun 06 2011 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.2.2-0.1beta1
|
|
|
8994a79 |
- initial rpm build
|