summaryrefslogtreecommitdiff
path: root/packaging/wget.spec
blob: 10dbc16a0a348206e985f093e8a3a92adb2ac2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Name:           wget
Version:        1.13.4
Release:        0
Summary:        A Tool for Mirroring FTP and HTTP Servers
License:        GPL-3.0+
Group:          Productivity/Networking/Web/Utilities
Url:            http://www.gnu.org/software/wget/
Source:         %name-%version.tar.bz2
Source1001: 	wget.manifest
BuildRequires:  automake
BuildRequires:  libidn-devel
BuildRequires:  openssl-devel
BuildRequires:  pkg-config

%description
Wget enables you to retrieve WWW documents or FTP files from a server.
This can be done in script files or via the command line.

%prep
%setup -q
cp %{SOURCE1001} .

%build
%configure --with-ssl=openssl
make %{?_smp_mflags}

%install
%make_install
%find_lang %{name}

%lang_package

%files
%manifest %{name}.manifest
%defattr(-,root,root)
%license COPYING
%doc doc/sample.wgetrc util/rmold.pl
%{_mandir}/*/wget*
%{_infodir}/wget*
%config(noreplace) %{_sysconfdir}/wgetrc
%{_bindir}/*

%changelog