- directories in libMagickCore depends on %{clibver} and
%{quantum_depth} [bnc#866442] OBS-URL: https://build.opensuse.org/package/show/graphics/ImageMagick?expand=0&rev=198
This commit is contained in:
parent
60ce402023
commit
d69c7f6104
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 3 13:34:39 UTC 2014 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- directories in libMagickCore depends on %{clibver} and
|
||||||
|
%{quantum_depth} [bnc#866442]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 27 08:25:02 UTC 2014 - pgajdos@suse.com
|
Thu Feb 27 08:25:02 UTC 2014 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -47,13 +47,14 @@ BuildRequires: openjpeg2-devel
|
|||||||
BuildRequires: pango-devel
|
BuildRequires: pango-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%define mfr_version 6.8.8
|
%define maj 6
|
||||||
|
%define mfr_version %{maj}.8.8
|
||||||
%define mfr_revision 7
|
%define mfr_revision 7
|
||||||
%define quantum_depth 16
|
%define quantum_depth 16
|
||||||
%define source_version %{mfr_version}-%{mfr_revision}
|
%define source_version %{mfr_version}-%{mfr_revision}
|
||||||
%define clibver 2
|
%define clibver 2
|
||||||
%define cxxlibver 3
|
%define cxxlibver 3
|
||||||
%define libspec -6_Q%{quantum_depth}
|
%define libspec -%{maj}_Q%{quantum_depth}
|
||||||
Version: %{mfr_version}.%{mfr_revision}
|
Version: %{mfr_version}.%{mfr_revision}
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Viewer and Converter for Images
|
Summary: Viewer and Converter for Images
|
||||||
@ -242,6 +243,12 @@ HTML documentation for ImageMagick library and scene examples.
|
|||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||||
export LDFLAGS="-L%{_libdir}"
|
export LDFLAGS="-L%{_libdir}"
|
||||||
|
# for MODULES_DIRNAME setup purpose see bnc#866442
|
||||||
|
export MODULES_DIRNAME="modules-%{maj}_Q%{quantum_depth}-%{clibver}"
|
||||||
|
# for SHAREARCH_DIRNAME setup purpose see bnc#866442
|
||||||
|
export SHAREARCH_DIRNAME="config-%{maj}_Q%{quantum_depth}-%{clibver}"
|
||||||
|
# for CONFIGURE_RELATIVE_PATH setup purpose see bnc#866442
|
||||||
|
sed -i 's:^\(CONFIGURE_RELATIVE_PATH=.*\):\1_Q%{quantum_depth}-%{clibver}:' configure.ac
|
||||||
CHANGES=`stat --format="%y" %SOURCE1|cut --characters=1-10`
|
CHANGES=`stat --format="%y" %SOURCE1|cut --characters=1-10`
|
||||||
# Use mtime of .changes for build time
|
# Use mtime of .changes for build time
|
||||||
sed -i -e "s|^PACKAGE_RELEASE_DATE.*$|PACKAGE_RELEASE_DATE=\"$CHANGES\"|" version.sh
|
sed -i -e "s|^PACKAGE_RELEASE_DATE.*$|PACKAGE_RELEASE_DATE=\"$CHANGES\"|" version.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user