Hello community,

here is the log from the commit of package tkimg for openSUSE:Factory checked 
in at 2013-07-23 20:59:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tkimg (Old)
 and      /work/SRC/openSUSE:Factory/.tkimg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tkimg"

Changes:
--------
--- /work/SRC/openSUSE:Factory/tkimg/tkimg.changes      2012-10-07 
20:07:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.tkimg.new/tkimg.changes 2013-07-23 
20:59:26.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Jul 16 14:24:49 UTC 2013 - [email protected]
+
+- Update to version 1.4:
+  * obsoletes all patches we've had so far.
+- Spec file cleanup
+- Split off a devel package
+
+-------------------------------------------------------------------

Old:
----
  tkimg-CVE-2008-0553.patch
  tkimg-makedeps.patch
  tkimg-syslibs.patch
  tkimg-warnings.patch
  tkimg.patch
  tkimg1.3.tar.bz2

New:
----
  tkimg1.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ tkimg.spec ++++++
--- /var/tmp/diff_new_pack.ex5X4I/_old  2013-07-23 20:59:27.000000000 +0200
+++ /var/tmp/diff_new_pack.ex5X4I/_new  2013-07-23 20:59:27.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package tkimg
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,24 +17,16 @@
 
 
 Name:           tkimg
-BuildRequires:  autoconf
-BuildRequires:  libjpeg-devel
-BuildRequires:  libpng-devel
-BuildRequires:  libtiff-devel
+BuildRequires:  tcllib
 BuildRequires:  tk-devel
 BuildRequires:  xorg-x11-devel
 Url:            http://sourceforge.net/projects/tkimg
 Summary:        More Image Formats for Tk
 License:        BSD-3-Clause
 Group:          Development/Libraries/Tcl
-Version:        1.3
+Version:        1.4
 Release:        0
-Source0:        %{name}%{version}.tar.bz2
-Patch0:         %name.patch
-Patch1:         %name-syslibs.patch
-Patch2:         %name-makedeps.patch
-Patch3:         %name-warnings.patch
-Patch4:         tkimg-CVE-2008-0553.patch
+Source0:        %{name}%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -44,62 +36,41 @@
 The provided format handlers include bmp, gif, ico, jpeg, pcx, png,
 ppm, ps, sgi, sun, tga, tiff, xbm, and xpm.
 
+%package devel
+Summary:        Header Files and C API Documentation for tkimg
+Group:          Development/Libraries/Tcl
 
-
-Authors:
---------
-    Jan Nijtmans <[email protected]>
-    Andreas Kupries <[email protected]>
+%description devel
+Files needed to compile/link C code against tkimg.
 
 %prep
 %setup -q -n %name%{version}
-%patch0
-%patch1
-%patch2
-%patch3
-%patch4
 
 %build
-for f in $(find -type d); do
-       pushd $f
-       test -f configure.in && autoconf --force
-       popd
-done
-export CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing "
-./configure \
-        --prefix=%_prefix \
-        --libdir=%_libdir \
-        --mandir=%_mandir \
+%configure \
+        --libdir=%tcl_archdir \
         --with-tcl=%_libdir \
         --with-tk=%_libdir
-make CFLAGS="$CFLAGS"
+make
+
+%check
 make test
 
 %install
-mkdir -p %buildroot%tclscriptdir
-make install DESTDIR=%buildroot INSTALL_ROOT=%buildroot
-mv %buildroot%_libdir/Img%version/lib* %buildroot%_libdir
-mv %buildroot%_libdir/Img%version %buildroot%tclscriptdir
-sed -i 's/\[file join $dir \([^]]*\)\]/\1/' \
-       %buildroot%tclscriptdir/Img%version/pkgIndex.tcl
-mkdir -p %buildroot/%_mandir/mann
-pushd doc/man
-for f in *.n; do
-       fgrep -v ".so man.macros" $f > %buildroot/%_mandir/mann/$f
-done
-popd
-
-%clean
-rm -rf %buildroot
+%makeinstall INSTALL_ROOT=%buildroot
+chmod a-x %buildroot%tcl_archdir/*/*.a
 
 %files
 %defattr(-,root,root,-)
 %doc ANNOUNCE ChangeLog README Reorganization.Notes.txt
-%doc changes license.terms doc/html demo
+%doc changes license.terms doc/*.htm demo.tcl
 %doc %_mandir/*/*
-%tclscriptdir/*
-%_libdir/lib*
-%_libdir/tkimgConfig.sh
+%tcl_archdir/*
+%exclude %tcl_archdir/*/*.a
+
+%files devel
+%defattr(-,root,root,-)
 %_includedir/*
+%tcl_archdir/*/*.a
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to