Hello community,
here is the log from the commit of package unshield for openSUSE:Factory
checked in at Tue Jan 18 01:41:50 CET 2011.
--------
--- unshield/unshield.changes 2009-08-26 14:17:52.000000000 +0200
+++ unshield/unshield.changes 2011-01-11 14:33:12.000000000 +0100
@@ -1,0 +2,15 @@
+Wed Jan 5 19:11:58 UTC 2011 - tejas.guruswamy@opensuse.org
+
+- Fix provides/obsoletes for proper upgrade path
+
+-------------------------------------------------------------------
+Sun May 2 13:50:49 UTC 2010 - masterpatricko@gmail.com
+
+- BuildRequires pkgconfig
+
+-------------------------------------------------------------------
+Fri Dec 4 14:14:26 UTC 2009 - masterpatricko@gmail.com
+
+- Recreate zlib_test.patch to remove fuzz
+
+-------------------------------------------------------------------
@@ -4,0 +20,6 @@
+
+-------------------------------------------------------------------
+Sat Jul 18 20:48:41 CEST 2009 - masterpatricko@gmail.com
+
+- Update to 0.6
+ * Fixes to the command line tool
calling whatdependson for head-i586
Old:
----
unshield-0.5.tar.bz2
New:
----
unshield-0.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ unshield.spec ++++++
--- /var/tmp/diff_new_pack.4SZpZa/_old 2011-01-18 01:39:03.000000000 +0100
+++ /var/tmp/diff_new_pack.4SZpZa/_new 2011-01-18 01:39:03.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package unshield (Version 0.5)
+# spec file for package unshield
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -15,52 +15,63 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
+%define major 0
+%define libname libunshield
+
+%if 0%{?suse_version} < 1120
+%define make_install %makeinstall
+%endif
Name: unshield
-BuildRequires: zlib-devel
+Version: 0.6
+Release: 1
+License: MIT
Summary: A Program to Extract InstallShield Cabinet Files
-Version: 0.5
-Release: 99
-License: MIT License (or similar)
Url: http://synce.sourceforge.net/
Group: Productivity/Archiving/Compression
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+BuildRequires: pkgconfig
+BuildRequires: zlib-devel
+
Source: %{name}-%{version}.tar.bz2
Patch0: unshield-zlib_test.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Cabinet (.CAB) files are a form of archive, which is used by the
InstallShield installer software. The unshield program simply unpacks
-such files.
+such files. This is the binary executable.
See http://synce.sourceforge.net/ for more information.
+%package -n %{libname}%{major}
-Authors:
---------
- David Eriksson
-
-%package devel
-License: MIT License (or similar)
-Summary: A program to extract InstallShield cabinet files
-Group: Development/Libraries/C and C++
-Requires: %{name} = %{version} glibc-devel
+Summary: A Program to Extract InstallShield Cabinet Files
+Group: System/Libraries
+Provides: %{name} = %{version}
+Obsoletes: %{name} < %{version}
-%description devel
+%description -n %{libname}%{major}
Cabinet (.CAB) files are a form of archive, which is used by the
InstallShield installer software. The unshield program simply unpacks
-such files.
+such files. This is the shared library.
See http://synce.sourceforge.net/ for more information.
+%package -n %{libname}-devel
+
+Summary: Header files, libraries and development documentation for %{libname}
+Group: Development/Libraries/C and C++
+Requires: %{libname}%{major} = %{version}
+Requires: zlib-devel
-Authors:
---------
- David Eriksson
+%description -n %{libname}-devel
+This package contains the header files, static libraries and development
+documentation for %{libname}. If you like to develop programs using %{libname},
+you will need to install %{libname}-devel.
%prep
%setup -q
@@ -68,31 +79,35 @@
%build
autoreconf -f -i
-export CFLAGS="%optflags -DPROTOTYPES"
-%configure --disable-static --with-pic
-make %{?jobs:-j%jobs}
+export CFLAGS="%{optflags} -DPROTOTYPES"
+%configure --disable-static --disable-rpath --with-pic
+make %{?_smp_mflags}
%install
-make DESTDIR=%buildroot install
+%make_install
%clean
rm -rf %{buildroot}
-%post -p /sbin/ldconfig
+%post -n %{libname}%{major} -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun -n %{libname}%{major} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc README LICENSE
-%{_bindir}/unshield
-%{_libdir}/libunshield.so.*
+%{_bindir}/%{name}
+%{_mandir}/*/%{name}.*.gz
+
+%files -n %{libname}%{major}
+%defattr(-,root,root)
+%{_libdir}/%{libname}.so.*
-%files devel
+%files -n %{libname}-devel
%defattr(-,root,root)
-%{_includedir}/libunshield.h
-%{_libdir}/libunshield.so
-%{_datadir}/aclocal/*
-%exclude %{_libdir}/libunshield.la
+%{_includedir}/%{libname}.h
+%{_libdir}/%{libname}.so
+%{_libdir}/%{libname}.la
+%{_libdir}/pkgconfig/%{libname}.pc
%changelog
++++++ unshield-0.5.tar.bz2 -> unshield-0.6.tar.bz2 ++++++
++++ 68863 lines of diff (skipped)
++++++ unshield-zlib_test.patch ++++++
--- /var/tmp/diff_new_pack.4SZpZa/_old 2011-01-18 01:39:04.000000000 +0100
+++ /var/tmp/diff_new_pack.4SZpZa/_new 2011-01-18 01:39:04.000000000 +0100
@@ -1,16 +1,7 @@
---- Makefile.am
-+++ Makefile.am
-@@ -2,6 +2,7 @@
- @SET_MAKE@
-
- ## don't complain about missing AUTHORS, NEWS, ChangeLog, etc
-+ACLOCAL_AMFLAGS = -I m4
- AUTOMAKE_OPTIONS = foreign 1.4
-
- m4datadir = $(datadir)/aclocal
---- m4/check_zlib.m4
-+++ m4/check_zlib.m4
-@@ -31,13 +31,13 @@
+diff -upr ../unshield-0.6-orig//m4/check_zlib.m4 ./m4/check_zlib.m4
+--- ../unshield-0.6-orig//m4/check_zlib.m4 2004-03-15 13:37:23.000000000 +0000
++++ ./m4/check_zlib.m4 2009-12-04 11:23:08.695956978 +0000
+@@ -31,13 +31,13 @@ AC_ARG_WITH(zlib,
[ --with-zlib=DIR root directory path of zlib installation [defaults to
/usr/local or /usr if not found in /usr/local]
--without-zlib to disable zlib usage completely],
@@ -28,7 +19,7 @@
ZLIB_HOME=/usr/local
if test ! -f "${ZLIB_HOME}/include/zlib.h"
then
-@@ -50,8 +50,8 @@
+@@ -50,8 +50,8 @@ fi
#
if test -n "${ZLIB_HOME}"
then
@@ -39,7 +30,7 @@
LDFLAGS="$LDFLAGS -L${ZLIB_HOME}/lib"
CPPFLAGS="$CPPFLAGS -I${ZLIB_HOME}/include"
AC_LANG_SAVE
-@@ -65,17 +65,17 @@
+@@ -65,17 +65,17 @@ then
# If both library and header were found, use them
#
AC_CHECK_LIB(z, inflateEnd)
@@ -62,3 +53,14 @@
fi
fi
+diff -upr ../unshield-0.6-orig//Makefile.am ./Makefile.am
+--- ../unshield-0.6-orig//Makefile.am 2008-02-15 16:36:33.000000000 +0000
++++ ./Makefile.am 2009-12-04 11:23:08.686814472 +0000
+@@ -2,6 +2,7 @@
+ @SET_MAKE@
+
+ ## don't complain about missing AUTHORS, NEWS, ChangeLog, etc
++ACLOCAL_AMFLAGS = -I m4
+ AUTOMAKE_OPTIONS = foreign 1.4
+
+ pcfiles = libunshield.pc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org