23c537d
%global git 8787e95
8994a79
%global github jenslody-aeskulap
8994a79
%global checkout git%{git}
23c537d
%global checkout_date 20180219
8994a79
8994a79
Name:           aeskulap
8994a79
Version:        0.2.2
23c537d
Release:        0.35.beta2%{?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
23c537d
BuildRequires:   gcc-c++
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:   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
%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
23c537d
%{_datadir}/glib-2.0/schemas/org.gnu.aeskulap.gschema.xml
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
23c537d
* Mon Feb 19 2018 Jens Lody <fedora@jenslody.de> - 0.2.2-0.35.beta2
23c537d
- New beta release (switch to gsettings).
23c537d
- Add BuildRequires for c++.
23c537d
- Fix build on Rawhide.
23c537d
75228ae
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.34.beta1
75228ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
75228ae
e48eb8d
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.2-0.33.beta1
e48eb8d
- Remove obsolete scriptlets
e48eb8d
Igor Gnatenko 6422456
* Tue Jan 02 2018 Igor Gnatenko <ignatenko@redhat.com> - 0.2.2-0.32.beta1
Igor Gnatenko 6422456
- Rebuild for dcmtk
Igor Gnatenko 6422456
95170c4
* Tue Jan 02 2018 Jens Lody <fedora@jenslody.de> - 0.2.2-0.31.beta1
95170c4
- Rebuilt for dcmtk-update.
95170c4
1880db9
* Tue Dec 12 2017 Jens Lody <fedora@jenslody.de> - 0.2.2-0.30.beta1
1880db9
- Build fixes for dcmtk >= 3.6.2.
1880db9
- Don't link with deprecated tcp-wrapper, fixes rhbz #1518750.
1880db9
f8e0ebd
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.29.beta1
f8e0ebd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f8e0ebd
bc09451
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.28.beta1
bc09451
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bc09451
1ff407d
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.27.beta1
1ff407d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1ff407d
3439066
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-0.26.beta1
3439066
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3439066
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