|
@@ -5,13 +5,15 @@
|
|
|
Summary: A perl module for Tk.
|
|
|
Name: perl-%{pkgname}
|
|
|
Version: 804.028
|
|
|
-Release: 4%{_dist_release}
|
|
|
+Release: 5%{_dist_release}
|
|
|
Group: Development/Libraries
|
|
|
License: GPL or Artistic
|
|
|
URL: http://perltk.org/
|
|
|
Source0: %{pkgname}-%{version}.tar.gz
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-BuildRequires: libX11-devel libpng-devel
|
|
|
+BuildRequires: libX11-devel
|
|
|
+BuildRequires: libpng-devel
|
|
|
+BuildRequires: libjpeg-turbo-devel
|
|
|
|
|
|
## bug fix
|
|
|
# fixed: http://rt.cpan.org/Public/Bug/Display.html?id=38746
|
|
@@ -56,7 +58,8 @@ Perl bindings to the Tk Graphical User Interface ToolKit.
|
|
|
%build
|
|
|
find . -type f -exec %{__perl} -pi -e 's|^#!/.*bin/perl\S*|#!%{__perl}|i;' {} \;
|
|
|
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALLDIRS=vendor
|
|
|
-make %{?_smp_mflags}
|
|
|
+#make %{?_smp_mflags}
|
|
|
+make
|
|
|
|
|
|
%if %{run_test}
|
|
|
make test
|
|
@@ -93,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun May 22 2011 Shu KONNO <owa@bg.wakwak.com> 804.028-5
|
|
|
+- added BR: libjpeg-turbo-devel
|
|
|
+
|
|
|
* Sun May 22 2011 Shu KONNO <owa@bg.wakwak.com> 804.028-4
|
|
|
- added Patch200: perl-Tk-804.028.Xlib.patch
|
|
|
- added Patch201: perl-Tk-804.028.pTkCallback.patch
|