bump version

- update Patch1
- fix link on libgmic
- remove smp_mflags (because of compile-errors)
- split a *-static package
This commit is contained in:
josef radinger 2016-05-01 18:07:36 +02:00
parent cd6be4160d
commit a90d225b22
3 changed files with 35 additions and 6 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ x86_64/
/gmic-1.6.6.1-qmake.patch
/gmic-1.6.7-qmake.patch
/gmic-1.6.9-qmake.patch
/gmic-1.7.1-qmake.patch

View File

@ -4,10 +4,10 @@
Summary: GREYC's Magic for Image Computing
Name: gmic
Version: 1.6.9
Version: 1.7.1
Release: 1%{?dist}
Source: http://gmic.eu/files/source/%{name}_%{version}.tar.gz
Patch1: %{name}-1.6.9-qmake.patch
Patch1: %{name}-%{version}-qmake.patch
License: CeCILL
Url: http://gmic.sourceforge.net/index.shtml
Buildroot: %{_tmppath}/%{name}-%{version}-root
@ -42,6 +42,10 @@ multi-spectral volumetric images.
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: Development files for G'MIC
%package static
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: static-linked development files for G'MIC
%package gimp
Requires: %{name}%{?_isa} = %{version}-%{release}
Summary: G'MIC plugin for GIMP
@ -54,6 +58,15 @@ multi-spectral volumetric images.
Provides files for building applications against the G'MIC API
%description static
G'MIC is an open and full-featured framework for image processing, providing
several different user interfaces to convert/manipulate/filter/visualize
generic image datasets, from 1d scalar signals to 3d+t sequences of
multi-spectral volumetric images.
Provides statically linked files for building applications
against the G'MIC API
%description gimp
G'MIC is an open and full-featured framework for image processing, providing
several different user interfaces to convert/manipulate/filter/visualize
@ -68,6 +81,7 @@ Provides a plugin for using G'MIC from GIMP
%patch1 -p1
%build
export CCACHE_DISABLE=1
cd src
%if %{use_system_cimg}
# We want to build against the system installed CImg package.
@ -80,7 +94,7 @@ cp /usr/include/CImg.h CImg.h
# Setting FFMPEG flags to empty string to disable G'MIC's
# use of that library. It will fallback to exec'ing the
# CLI tools if they happen to be installed.
make %{?_smp_mflags} FFMPEG_CFLAGS= FFMPEG_LDFLAGS= OPT_CFLAGS="%{optflags} -fsigned-char"
make FFMPEG_CFLAGS= FFMPEG_LDFLAGS= OPT_CFLAGS="%{optflags} -fsigned-char"
%install
iconv -f iso8859-1 -t utf-8 COPYING > COPYING.conv && mv -f COPYING.conv COPYING
@ -97,7 +111,7 @@ fi
# Makefile creates too many intermediate symlinks for the library
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgmic.so.1
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgmic.so.1.5
ln -s libgmic.so.1.5.9 $RPM_BUILD_ROOT/%{_libdir}/libgmic.so.1
ln -s libgmic.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libgmic.so.1
# Sourced files shouldn't be executable
chmod -x $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d/gmic
@ -121,11 +135,25 @@ chmod -x $RPM_BUILD_ROOT/%{_sysconfdir}/bash_completion.d/gmic
%{_prefix}/include/gmic.h
%{_libdir}/libgmic.so
%files static
%defattr(-,root,root)
%{_prefix}/include/gmic_libc.h
%{_libdir}/libcgmic.so
%{_libdir}/libcgmic.so.*
%files gimp
%defattr(-,root,root)
%{gimpplugindir}/gmic_gimp
%{gimpplugindir}/gmic_film_cluts.gmz
%changelog
* Fri Apr 29 2016 josef radinger <cheese@nosuchhost.net> - 1.7.1-1
- bump version
- update Patch1
- fix link on libgmic
- remove smp_mflags (because of compile-errors)
- split a *-static package
* Fri Feb 5 2016 josef radinger <cheese@nosuchhost.net> - 1.6.9-1
- bump version
- update Patch1

View File

@ -1,2 +1,2 @@
aeae69f908d2d8c13bec31a7c999c80d gmic-1.6.9-qmake.patch
67fde5ee5eb40846d39844eb3f8d35fe gmic_1.6.9.tar.gz
59d827ca3f8c5c6ef78463e5dd443271 gmic-1.7.1-qmake.patch
86e381b680a6558ac3d62fc2f3b052d0 gmic_1.7.1.tar.gz