|
|
@@ -41,7 +41,7 @@ Class: BASE
|
|
|
Group: Graphics
|
|
|
License: GPL
|
|
|
Version: %{V_major}.%{V_minor}
|
|
|
-Release: 20040507
|
|
|
+Release: 20040509
|
|
|
|
|
|
# package options
|
|
|
%option with_perl no
|
|
|
@@ -131,6 +131,10 @@ AutoReqProv: no
|
|
|
%endif
|
|
|
--without-threads
|
|
|
%{l_make} %{l_mflags}
|
|
|
+%if "%{with_perl}" == "yes"
|
|
|
+ %{l_prefix}/bin/perl-openpkg prepare
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d PerlMagick configure build
|
|
|
+%endif
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
@@ -139,8 +143,7 @@ AutoReqProv: no
|
|
|
AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
|
|
|
|
|
|
%if "%{with_perl}" == "yes"
|
|
|
- %{l_prefix}/bin/perl-openpkg prepare
|
|
|
- %{l_prefix}/bin/perl-openpkg -d PerlMagick configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d PerlMagick install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
|
%else
|
|
|
>perl-openpkg-files
|