Hello community, here is the log from the commit of package unshield for openSUSE:Factory checked in at 2015-07-08 06:59:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/unshield (Old) and /work/SRC/openSUSE:Factory/.unshield.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "unshield" Changes: -------- --- /work/SRC/openSUSE:Factory/unshield/unshield.changes 2015-03-16 07:01:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.unshield.new/unshield.changes 2015-07-08 06:59:50.000000000 +0200 @@ -1,0 +2,10 @@ +Mon Jul 6 12:29:18 UTC 2015 - [email protected] + +- Update to 1.3 + * move build system cmake +- Add libconvert_utf_static.patch +- Drop unnecessary patches + * unshield-zlib_test.patch + * unshield-0.6-allow_ruu_extract.patch + +------------------------------------------------------------------- Old: ---- unshield-0.6-allow_ruu_extract.patch unshield-0.6.tar.gz unshield-zlib_test.patch New: ---- 1.3.tar.gz libconvert_utf_static.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ unshield.spec ++++++ --- /var/tmp/diff_new_pack.zqPNXY/_old 2015-07-08 06:59:51.000000000 +0200 +++ /var/tmp/diff_new_pack.zqPNXY/_new 2015-07-08 06:59:51.000000000 +0200 @@ -16,23 +16,22 @@ # -%define major 0 -%define libname libunshield +%define major 1_3 +%define libname lib%{name} Name: unshield -Version: 0.6 +Version: 1.3 Release: 0 Summary: A Program to Extract InstallShield Cabinet Files License: MIT Group: Productivity/Archiving/Compression -Url: http://synce.sourceforge.net/ -Source: http://sourceforge.net/projects/synce/files/Unshield/%{version}/%{name}-%{version}.tar.gz -Patch0: unshield-zlib_test.patch -Patch1: unshield-0.6-allow_ruu_extract.patch -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +Url: https://github.com/twogood/unshield +Source0: https://github.com/twogood/unshield/archive/%{version}.tar.gz +Patch0: libconvert_utf_static.patch +BuildRequires: cmake +BuildRequires: gcc-c++ BuildRequires: pkg-config -BuildRequires: zlib-devel +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(zlib) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -67,22 +66,22 @@ %prep %setup -q -%patch0 -%patch1 +%patch0 -p1 %build -autoreconf -fi -export CFLAGS="%{optflags} -DPROTOTYPES" -%configure \ - --disable-static \ - --disable-rpath \ - --with-pic +%cmake +# necessary for out of tree build +ln -s \ + %{_builddir}/%{name}-%{version}/build/lib/unshield_config.h \ + %{_builddir}/%{name}-%{version}/lib/unshield_config.h make %{?_smp_mflags} %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} -# do not ship this -rm %{buildroot}%{_libdir}/%{libname}.la +# necessary for out of tree build +cp \ + %{_builddir}/%{name}-%{version}/build/libunshield.pc \ + %{_builddir}/%{name}-%{version}/libunshield.pc +%cmake_install %post -n %{libname}%{major} -p /sbin/ldconfig @@ -90,7 +89,7 @@ %files %defattr(-,root,root) -%doc README LICENSE +%doc README.md LICENSE %{_bindir}/%{name} %{_mandir}/*/%{name}.*.gz ++++++ unshield-0.6.tar.gz -> 1.3.tar.gz ++++++ ++++ 43764 lines of diff (skipped) ++++++ libconvert_utf_static.patch ++++++ diff --git a/lib/convert_utf/CMakeLists.txt b/lib/convert_utf/CMakeLists.txt index eb60fe3..4b956e9 100644 --- a/lib/convert_utf/CMakeLists.txt +++ b/lib/convert_utf/CMakeLists.txt @@ -6,4 +6,4 @@ set(LIBCONVERT_UTF_SOURCES "ConvertUTF.c" ) -add_library(convert_utf ${LIBCONVERT_UTF_HEADES} ${LIBCONVERT_UTF_SOURCES}) \ No newline at end of file +add_library(convert_utf STATIC ${LIBCONVERT_UTF_HEADES} ${LIBCONVERT_UTF_SOURCES})
