Search
SailfishOS Open Build Service
>
Projects
>
home:sledge
:
beagle
>
wget
> wget.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File wget.spec of Package wget
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.23 # # >> macros # << macros Name: wget Summary: A utility for retrieving files using the HTTP or FTP protocols Version: 1.12 Release: 1 Group: Applications/Internet License: GPLv3+ URL: http://wget.sunsite.dk/ Source0: wget-1.12.tar.bz2 Source100: wget.yaml Patch0: wget-1.12-path.patch Patch1: wget-1.10.1-helpfix.patch Requires(post): /sbin/install-info Requires(postun): /sbin/install-info BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig BuildRequires: texinfo BuildRequires: gettext BuildRequires: autoconf Provides: webclient %description GNU Wget is a file retrieval utility which can use either the HTTP or FTP protocols. Wget features include the ability to work in the background while you are logged out, recursive retrieval of directories, file name wildcard matching, remote file timestamp storage and comparison, use of Rest with FTP servers and Range with HTTP servers to retrieve files over slow or unstable connections, support for Proxy servers, and configurability. %prep %setup -q -n %{name}-%{version} # wget-1.12-path.patch %patch0 -p1 # wget-1.10.1-helpfix.patch %patch1 -p1 # >> setup # << setup %build # >> build pre if pkg-config openssl ; then CPPFLAGS=`pkg-config --cflags openssl`; export CPPFLAGS LDFLAGS=`pkg-config --libs openssl`; export LDFLAGS fi # << build pre %configure --disable-static \ --with-ssl \ --enable-largefile \ --enable-opie \ --enable-digest \ --enable-ntlm \ --enable-nls \ --enable-ipv6 \ --disable-rpath make %{?jobs:-j%jobs} # >> build post # << build post %install rm -rf %{buildroot} # >> install pre # << install pre %make_install # >> install post rm -f %{buildroot}/%{_infodir}/dir # << install post %find_lang wget %post %install_info --info-dir=%_infodir %{_infodir}/wget.info.gz %postun if [ $1 = 0 ] ;then %install_info_delete --info-dir=%{_infodir} %{_infodir}/wget.info.gz fi %files -f wget.lang %defattr(-,root,root,-) # >> files %doc AUTHORS COPYING MAILING-LIST NEWS README %doc doc/sample.wgetrc %doc %{_mandir}/man1/wget.* %doc %{_infodir}/wget.info.gz %config(noreplace) %{_sysconfdir}/wgetrc %{_bindir}/wget # << files