diff --git a/tkimg.spec b/tkimg.spec index d99c51c..0e2a3c6 100644 --- a/tkimg.spec +++ b/tkimg.spec @@ -1,6 +1,6 @@ Name: tkimg Version: 1.3 -Release: 0.5.20071018svn%{?dist} +Release: 0.6.20071018svn%{?dist} Summary: More Image Formats for Tk Group: Development/Libraries @@ -21,6 +21,7 @@ Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: tcl-devel tk-devel BuildRequires: libtiff-devel libpng-devel libjpeg-devel zlib-devel +Requires: tcl(abi) = 8.4 %description This package contains a collection of image format handlers for the Tk @@ -43,7 +44,7 @@ This are the header files needed to develop a %{name} application %patch1 -p1 %build -%configure --with-tcl=%{_libdir} --with-tk=%{_libdir} --disable-static +%configure --with-tcl=%{_libdir} --with-tk=%{_libdir} --disable-static %{__make} %{?_smp_mflags} %install @@ -52,6 +53,7 @@ This are the header files needed to develop a %{name} application # Fixing some permissions find %{buildroot}/%{_libdir} -name "*.sh" |xargs chmod 644 find %{buildroot}/%{_libdir} -name "*.tcl" |xargs chmod 644 +find %{buildroot}/%{_libdir} -name "*.a" |xargs chmod 644 find %{buildroot}/%{_libdir} -name "*.so" |xargs chmod 755 # Make library links %{__mkdir_p} %{buildroot}/%{_sysconfdir}/ld.so.conf.d @@ -75,8 +77,13 @@ echo "%{_libdir}/Img1.3" >> %{buildroot}/%{_sysconfdir}/ld.so.conf.d/%{name}-%{_ %files devel %doc README %{_includedir}/* +%{_libdir}/Img1.3/*.a %changelog +* Mon Dec 24 2007 Sergio Pascual 1.3-0.6.20071018svn +- Static 'stub' library included in devel subpackage +- Rebuild to fix bug #426683 + * Sat Nov 08 2007 Sergio Pascual 1.3-0.5.20071018svn - Build patch simplified