Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37700361
en ru br
ALT Linux repos
S:3.45.3-alt1.2
5.0: 3.43.3-alt1
4.1: 3.42-alt3
4.0: 3.40.2-alt1
3.0: 3.33-alt1

Group :: Networking/File transfer
RPM: httrack

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: httrack
Version: 3.40.2
Release: alt1

Summary: HTTrack is an easy-to-use offline browser utility
License: GPL
Group: Networking/File transfer
Url: http://www.httrack.com
Packager: Andrey Semenov <mitrofan at altlinux.ru>

#Source: %name-%version-2.tar.gz

Source: %name-3.40-2.tar.gz
Source1: %name.conf
#Patch0: %name-remove-rpath.patch

PreReq: lib%name = %version-%release

# Automatically added by buildreq on Wed Apr 19 2006

BuildRequires: gcc-c++ libstdc++-devel zlib-devel

%description
HTTrack is an easy-to-use offline browser utility. It allows you to
download a World Wide website from the Internet to a local directory,
building recursively all directories, getting html, images, and other
files from the server to your computer. HTTrack arranges the original
site's relative link-structure. Simply open a page of the "mirrored"
website in your browser, and you can browse the site from link to link,
as if you were viewing it online. HTTrack can also update an existing
mirrored site, and resume interrupted downloads. HTTrack is fully
configurable, and has an integrated help system.

%package -n lib%name
Summary: Shared library for HTTrack
Group: Development/C
License: GPL
%description -n lib%name
This package contains shared library for HTTrack.

%package -n lib%name-devel
Summary: Development files for HTTrack
Group: Development/C
PreReq: lib%name = %version-%release
License: GPL
%description -n lib%name-devel
This package contains development files required for packaging
HTTrack-based software.

%package -n lib%name-devel-static
Summary: Static libraries for HTTrack
Group: Development/C
PreReq: lib%name-devel = %version-%release
License: GPL
%description -n lib%name-devel-static
This package contains development libraries required for packaging
statically linked HTTrack-based software.

%prep
%setup -q -n %name-3.40.3
%__sed -i 's|LIBRARY_SEARCH_PATH="$lib_search_path -L/usr/local/lib"|LIBRARY_SEARCH_PATH="$lib_search_path"|' configure.in
#%patch -p0

%build
%__autoconf
#./configure --prefix=%buildroot/usr
%configure
make %{?_disable_smp}

%install
%makeinstall
%__install -pD -m644 %SOURCE1 %buildroot/etc/%name.conf
%__install -pD -m644 README %buildroot%_docdir/%name/README

%post -n %name -p %post_ldconfig

%postun -n %name -p %postun_ldconfig

%files -n %name
#%doc httrack-doc.html templates html COPYING INSTALL README *.txt
%_bindir/*
%_docdir/%name
%_datadir/%name
%_datadir/pixmaps/%name.xpm
%_datadir/applications/*
%_man1dir/*
%config /etc/%name.conf

%files -n lib%name
%_libdir/lib%name.so.*
%_libdir/%name/*.so.*

%files -n lib%name-devel
%_includedir/%name
%_libdir/*.so
%_libdir/%name/*.so
%_libdir/%name/*.la

%files -n lib%name-devel-static
%_libdir/*.a
%_libdir/%name/*.a

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin