|
|
48aa0ce |
%global debug_package %{nil}
|
|
|
48aa0ce |
|
|
|
48aa0ce |
Name: CImg
|
|
|
938148e |
Epoch: 1
|
|
|
eac9e88 |
Version: 2.8.4
|
|
|
eac9e88 |
Release: 1%{?dist}
|
|
|
48aa0ce |
Summary: C++ Template Image Processing Toolkit
|
|
|
48aa0ce |
# CImg.h: Dual licensed
|
|
|
48aa0ce |
# plugins/cimgmatlab.h: LGPLv3
|
|
|
48aa0ce |
License: (CeCILL or CeCILL-C) and LGPLv3
|
|
|
f0c6434 |
URL: https://github.com/dtschump/CImg
|
|
|
938148e |
Source0: http://cimg.eu/files/CImg_%{version}.zip
|
|
|
48aa0ce |
# This package has no dependencies actually, these below are
|
|
|
48aa0ce |
# for %%check only.
|
|
|
307223d |
BuildRequires: gcc-c++
|
|
|
48aa0ce |
BuildRequires: cmake
|
|
|
48aa0ce |
BuildRequires: fftw-devel
|
|
|
48aa0ce |
BuildRequires: ImageMagick-c++-devel
|
|
|
48aa0ce |
BuildRequires: lapack-devel
|
|
|
48aa0ce |
BuildRequires: libjpeg-devel
|
|
|
48aa0ce |
BuildRequires: libpng-devel
|
|
|
48aa0ce |
BuildRequires: libtiff-devel
|
|
|
48aa0ce |
BuildRequires: libX11-devel
|
|
|
48aa0ce |
BuildRequires: libXext-devel
|
|
|
48aa0ce |
BuildRequires: libXrandr-devel
|
|
|
48aa0ce |
BuildRequires: opencv-devel
|
|
|
48aa0ce |
BuildRequires: OpenEXR-devel
|
|
|
48aa0ce |
BuildRequires: zlib-devel
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%description
|
|
|
48aa0ce |
The CImg Library is an open-source C++ toolkit for image processing.
|
|
|
48aa0ce |
It consists in a single header file 'CImg.h' providing a minimal set of C++
|
|
|
48aa0ce |
classes and methods that can be used in your own sources, to load/save,
|
|
|
48aa0ce |
process and display images. Very portable, efficient and easy to use,
|
|
|
48aa0ce |
it's a pleasant library for developping image processing algorithms in C++.
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%package devel
|
|
|
48aa0ce |
Summary: Development files for %{name}
|
|
|
48aa0ce |
Provides: %{name}-static = %{version}-%{release}
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%description devel
|
|
|
48aa0ce |
This package contains libraries and header files for
|
|
|
48aa0ce |
developing applications that use %{name}.
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%prep
|
|
|
938148e |
%setup -q
|
|
|
48aa0ce |
sed -i 's|$(X11PATH)/lib|$(X11PATH)/%{_lib}|g' examples/Makefile
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%build
|
|
|
48aa0ce |
# This is a headers only package.
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%install
|
|
|
48aa0ce |
install -pdm755 %{buildroot}%{_includedir}/%{name}/plugins
|
|
|
48aa0ce |
install -pm644 CImg.h %{buildroot}%{_includedir}/
|
|
|
48aa0ce |
install -pm644 plugins/*.h %{buildroot}%{_includedir}/%{name}/plugins/
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%check
|
|
|
48aa0ce |
# Build examples based on sources to verify the usability.
|
|
|
48aa0ce |
# CMake couldn't find -lfftw3_threads so I use
|
|
|
48aa0ce |
# make directly.
|
|
|
48aa0ce |
make -C examples linux %{?_smp_mflags}
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%files devel
|
|
|
938148e |
%doc *.txt resources/CImg_reference.pdf
|
|
|
48aa0ce |
%{_includedir}/CImg.h
|
|
|
48aa0ce |
%{_includedir}/%{name}/
|
|
|
48aa0ce |
|
|
|
48aa0ce |
%changelog
|
|
|
eac9e88 |
* Thu Feb 13 2020 josef radinger <cheese@nosuchhost.net> - 1:2.8.4-1
|
|
|
eac9e88 |
- bump version
|
|
|
eac9e88 |
|
|
|
12dc17d |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.8.3-2
|
|
|
12dc17d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
12dc17d |
|
|
|
17b7817 |
* Fri Jan 24 2020 josef radinger <cheese@nosuchhost.net> - 1:2.8.3-1
|
|
|
17b7817 |
- bump version
|
|
|
17b7817 |
|
|
|
c1a7f15 |
* Wed Jan 15 2020 josef radinger <cheese@nosuchhost.net> - 1:2.8.2-1
|
|
|
c1a7f15 |
- bump version
|
|
|
c1a7f15 |
|
|
|
708a66a |
* Thu Jan 09 2020 josef radinger <cheese@nosuchhost.net> - 1:2.8.1-1
|
|
|
708a66a |
- bump version
|
|
|
708a66a |
|
|
|
f5e4e23 |
* Tue Oct 15 2019 josef radinger <cheese@nosuchhost.net> - 1:2.7.4-1
|
|
|
f5e4e23 |
- bump version
|
|
|
f5e4e23 |
|
|
|
a038dbb |
* Fri Sep 06 2019 josef radinger <cheese@nosuchhost.net> - 1:2.7.1-1
|
|
|
a038dbb |
- bump version
|
|
|
a038dbb |
|
|
|
4953831 |
* Thu Aug 15 2019 josef radinger <cheese@nosuchhost.net> - 1:2.7.0-1
|
|
|
4953831 |
- bump version
|
|
|
4953831 |
|
|
|
c447fcd |
* Thu Jul 25 2019 josef radinger <cheese@nosuchhost.net> - 1:2.6.7-1
|
|
|
c447fcd |
- bump version
|
|
|
c447fcd |
|
|
|
0b42827 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.6.6-2
|
|
|
0b42827 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
0b42827 |
|
|
|
bcc09d3 |
* Tue Jun 18 2019 josef radinger <cheese@nosuchhost.net> - 1:2.6.6-1
|
|
|
bcc09d3 |
- bump version
|
|
|
bcc09d3 |
|
|
|
34de2df |
* Mon Jun 17 2019 josef radinger <cheese@nosuchhost.net> - 1:2.6.5-1
|
|
|
34de2df |
- bump version
|
|
|
34de2df |
|
|
|
6f580da |
* Sat May 25 2019 josef radinger <cheese@nosuchhost.net> - 1:2.6.4-1
|
|
|
6f580da |
- bump version
|
|
|
6f580da |
|
|
|
baf3811 |
* Tue Apr 23 2019 josef radinger <cheese@nosuchhost.net> - 1:2.6.2-1
|
|
|
451039e |
- bump version
|
|
|
451039e |
|
|
|
451039e |
* Tue Apr 23 2019 josef radinger <cheese@nosuchhost.net> - 1:2.6.0-1
|
|
|
451039e |
- bump version
|
|
|
451039e |
|
|
|
1ed5bee |
* Thu Apr 18 2019 josef radinger <cheese@nosuchhost.net> - 1:2.5.7-1
|
|
|
1ed5bee |
- bump version
|
|
|
1ed5bee |
|
|
|
b98c30d |
* Mon Apr 08 2019 josef radinger <cheese@nosuchhost.net> - 1:2.5.6-2
|
|
|
470e699 |
- bump version
|
|
|
470e699 |
|
|
|
59c562f |
* Fri Mar 29 2019 josef radinger <cheese@nosuchhost.net> - 1:2.5.5-1
|
|
|
59c562f |
- bump version
|
|
|
59c562f |
|
|
|
c5c0ede |
* Sun Mar 17 2019 josef radinger <cheese@nosuchhost.net> - 1:2.5.4-1
|
|
|
c5c0ede |
- bump version
|
|
|
c5c0ede |
|
|
|
8b396e5 |
* Sun Mar 17 2019 josef radinger <cheese@nosuchhost.net> - 1:2.5.3-1
|
|
|
10b311d |
- bump version
|
|
|
10b311d |
|
|
|
c63d66e |
* Sat Mar 16 2019 josef radinger <cheese@nosuchhost.net> - 1:2.5.2-2
|
|
|
b507079 |
- fix release in spec-file
|
|
|
c63d66e |
|
|
|
731c3db |
* Sat Mar 16 2019 josef radinger <cheese@nosuchhost.net> - 1:2.5.2-1
|
|
|
731c3db |
- bump version
|
|
|
731c3db |
|
|
|
9444299 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.4.5-2
|
|
|
9444299 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
9444299 |
|
|
|
f312c14 |
* Tue Jan 22 2019 josef radinger <cheese@nosuchhost.net> - 1:2.4.5-1
|
|
|
f312c14 |
- bump version
|
|
|
f312c14 |
|
|
|
3481437 |
* Tue Oct 16 2018 Daniel P. Berrangé <berrange@redhat.com> - 1:2.4.0-1
|
|
|
3481437 |
- Update to 2.4.0 release
|
|
|
3481437 |
|
|
|
16c2a11 |
* Tue Sep 4 2018 Daniel P. Berrangé <berrange@redhat.com> - 1:2.3.6-1
|
|
|
16c2a11 |
- Update to 2.3.6 release
|
|
|
16c2a11 |
|
|
|
938148e |
* Wed Aug 1 2018 Daniel P. Berrangé <berrange@redhat.com> - 1:2.3.3-1
|
|
|
938148e |
- Update to 2.3.3 release
|
|
|
938148e |
|
|
|
f372cc7 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 202-5
|
|
|
f372cc7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
f372cc7 |
|
|
|
e28a320 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 202-4
|
|
|
e28a320 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e28a320 |
|
|
|
2fb7b9c |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 202-3
|
|
|
2fb7b9c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
2fb7b9c |
|
|
|
0b5444c |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 202-2
|
|
|
0b5444c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
0b5444c |
|
|
|
f0c6434 |
* Mon Jun 26 2017 Tom Callaway <spot@fedoraproject.org> - 202-1
|
|
|
f0c6434 |
- update to v.202
|
|
|
f0c6434 |
|
|
|
74bb72f |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-6
|
|
|
74bb72f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
74bb72f |
|
|
|
d5fead1 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.8-5
|
|
|
d5fead1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|