Hello community, here is the log from the commit of package httrack for openSUSE:Factory checked in at 2012-09-13 00:02:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/httrack (Old) and /work/SRC/openSUSE:Factory/.httrack.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "httrack", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/httrack/httrack.changes 2012-09-01 10:31:04.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.httrack.new/httrack.changes 2012-09-13 00:03:00.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Sep 10 22:44:17 UTC 2012 - [email protected] + +- break the shared libraries out into their own sub-package +- run spec-cleaner + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ httrack.spec ++++++ --- /var/tmp/diff_new_pack.u7fqlb/_old 2012-09-13 00:03:03.000000000 +0200 +++ /var/tmp/diff_new_pack.u7fqlb/_new 2012-09-13 00:03:03.000000000 +0200 @@ -1,6 +1,7 @@ # # spec file for package httrack # +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 Malcolm Lewis [email protected] # # All modifications and additions to the file contributed by third parties @@ -15,19 +16,23 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: httrack Version: 3.46.1 Release: 0 -License: GPL-3.0+ Summary: Offline browser utility -Url: http://www.httrack.com/page/1/en/index.html +License: GPL-3.0+ Group: Productivity/Networking/Web/Utilities +Url: http://www.httrack.com/page/1/en/index.html Source0: http://download.httrack.com/httrack-%{version}.tar.gz # PATCH-FIX-OPENSUSE httrack-fix-desktop.patch [email protected] -- Fix desktop files to conform to openSUSE requirements Patch0: httrack-fix-desktop.patch # PATCH-FIX-OPENSUSE httrack-fix-desktop.patch [email protected] -- Add -fno-strict-aliasing to DEFAULT_CFLAGS Patch1: httrack-fix-strict-aliasing-punning.patch +%if 0%{?sles_version} < 11 +%else BuildRequires: fdupes +%endif BuildRequires: update-desktop-files BuildRequires: zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -49,11 +54,18 @@ %package devel Summary: Development files for httrack Group: Development/Libraries/Other -Requires: %{name} = %{version}-%{release} +Requires: %{name} = %{version} %description devel This package contains the header and library files for httrack. +%package -n libhttrack2 +Summary: Shared library for httrack +Group: Development/Libraries/Other + +%description -n libhttrack2 +This package contains the httrack shared libraries + %prep %setup -q %patch0 @@ -64,7 +76,7 @@ make %install -%make_install +make install DESTDIR=%{buildroot} %suse_update_desktop_file WebHTTrack-Websites %suse_update_desktop_file WebHTTrack # Remove generic header and libtool files @@ -81,27 +93,27 @@ rm -rf ./libtest ./templates mv %{buildroot}%{_datadir}/%{name}/libtest . mv %{buildroot}%{_datadir}/%{name}/templates . +%if 0%{?sles_version} < 11 +%else %fdupes %{buildroot} +%endif -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%post -n libhttrack2 -p /sbin/ldconfig +%postun -n libhttrack2 -p /sbin/ldconfig %clean -%{?buildroot:%__rm -rf %{buildroot}} +%{?buildroot:rm -rf %{buildroot}} %files -%defattr(644,root,root) +%defattr(644,root,root,755) %doc AUTHORS COPYING license.txt gpl-fr.txt %doc httrack-doc.html templates -%defattr(-,root,root) +%defattr(-,root,root,-) %{_bindir}/htsserver %{_bindir}/httrack %{_bindir}/proxytrack %{_bindir}/webhttrack %dir %{_libdir}/%{name} -%{_libdir}/%{name}/*.so.* -%{_libdir}/*.so.* %{_datadir}/applications/WebHTTrack-Websites.desktop %{_datadir}/applications/WebHTTrack.desktop %{_datadir}/pixmaps/*.xpm @@ -120,4 +132,9 @@ %{_libdir}/*.so %{_libdir}/%{name}/*.so +%files -n libhttrack2 +%defattr(-,root,root,-) +%{_libdir}/%{name}/*.so.* +%{_libdir}/*.so.* + %changelog -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
