Search
SailfishOS Open Build Service
>
Projects
>
home:tbr
:
sailfish
>
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.25 # Name: wget # >> macros # << macros Summary: A utility for retrieving files using the HTTP or FTP protocols Version: 1.13.4 Release: 1 Group: Applications/Internet License: GPLv3+ URL: http://www.gnu.org/software/wget/ Source0: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.bz2 Source100: wget.yaml Patch0: wget-1.13.4-path.patch Patch1: wget-1.10.1-helpfix.patch 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. %package docs Summary: Documentation files for %{name} Group: Applications/Internet Requires: %{name} = %{version}-%{release} Requires(post): /sbin/install-info Requires(postun): /sbin/install-info %description docs %{summary}. %prep %setup -q -n %{name}-%{version} # wget-1.13.4-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=openssl \ --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 docs %install_info --info-dir=%_infodir %{_infodir}/wget.info.gz %postun docs if [ $1 = 0 ] ;then %install_info_delete --info-dir=%{_infodir} %{_infodir}/wget.info.gz fi %files -f wget.lang %defattr(-,root,root,-) # >> files %doc COPYING %doc doc/sample.wgetrc %config(noreplace) %{_sysconfdir}/wgetrc %{_bindir}/wget # << files %files docs %defattr(-,root,root,-) # >> files docs %doc AUTHORS MAILING-LIST NEWS README %doc doc/sample.wgetrc %doc %{_mandir}/man1/wget.* %doc %{_infodir}/wget.info.gz # << files docs