]> git.pld-linux.org Git - packages/wget.git/blob - wget.spec
- changed permission on binaries to 711.
[packages/wget.git] / wget.spec
1 Summary:     Command-line HTTP and FTP client
2 Summary(pl): Wsadowy klient HTTP/FTP 
3 Name:        wget
4 Version:     1.5.2
5 Release:     2
6 Copyright:   GPL
7 Group:       Networking/Utilities
8 Source:      ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
9 Patch0:      wget-man.patch
10 Patch1:      wget-pl.po.patch
11 Prereq:      /sbin/install-info
12 BuildRoot:   /tmp/%{name}-%{version}-root
13
14 %description
15 wget is a command-line program to fetch files via HTTP or FTP.  It
16 supports recursive retrieval and mirroring options, and it automatically
17 retries several times before giving up, so it is well-suited to running
18 from cron jobs.
19
20 %description -l pl
21 wget jest klientem FTP/HTTP przeznaczonym do ¶ci±gania zasobów zasobów
22 wsadowo. Umo¿liwia ¶ci±ganie zasobów z podkatalogami, a tak¿e opcje
23 umo¿liwiaj±ce wykonanie lokalnej kopi zasobów (mirror). W razie nie mo¿no¶ci
24 dostania siê do zasobów mo¿e automatycznie ponawiaæ próby kopiowania
25 zasobów. Jest tak¿e dobrze przystosowany do tego ¿eby uruchamiaæ go jako
26 zadanie z cron'a.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p1
32
33 %build
34 CFLAGS="${RPM_OPT_FLAGS}" LDFLAGS=-s \
35         ./configure --prefix=/usr --sysconfdir=/etc
36 make
37 tail -6 util/README >rmold.README
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 make prefix=$RPM_BUILD_ROOT/usr sysconfdir=$RPM_BUILD_ROOT/etc install
42 gzip -9nf $RPM_BUILD_ROOT/usr/info/wget.info*
43 install -c util/rmold.pl $RPM_BUILD_ROOT/usr/bin/rmold
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 /sbin/install-info /usr/info/wget.info.gz /usr/info/dir
50
51 %postun
52 /sbin/install-info --delete /usr/info/wget.info.gz /usr/info/dir
53
54 %files
55 %defattr(644, root, root, 755)
56 %doc AUTHORS ChangeLog MAILING-LIST NEWS README TODO rmold.README
57 %verify(not md5 size mtime) %config(noreplace) /etc/wgetrc
58 %attr(711, root, root) /usr/bin/*
59 %attr(644, root,  man) /usr/man/man1/*
60 /usr/info/wget.info*
61 %lang(cs) /usr/share/locale/cs/LC_MESSAGES/wget.mo
62 %lang(de) /usr/share/locale/de/LC_MESSAGES/wget.mo
63 %lang(hr) /usr/share/locale/hr/LC_MESSAGES/wget.mo
64 %lang(it) /usr/share/locale/it/LC_MESSAGES/wget.mo
65 %lang(no) /usr/share/locale/no/LC_MESSAGES/wget.mo
66 %lang(pl) /usr/share/locale/pl/LC_MESSAGES/wget.mo
67 %lang(pt) /usr/share/locale/pt_BR/LC_MESSAGES/wget.mo
68
69 %changelog
70 * Mon Sep  7 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
71   [1.5.2-2]
72 - added wget-pl.po.patch patch with polish translation 
73   (Adam Kozubowicz <tapir@interdata.com.pl>,
74 - added wget-man.patch patch with wget man page,
75 - changed permission on binaries to 711.
76
77 * Sat Aug  8 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
78   [1.5.2-1]
79 - added pl translation.
80
81 * Sun May 17 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
82   [1.5.1-2]
83 - %%{version} macro instead %%{PACKAGE_VERSION},
84 - added -q %setup parameter,
85 - added using %%{name} macro in Buildroot and Source,
86 - added %verify(not md5 size mtime) and noreplace parameter for %config,
87 - removed COPYING from %doc (copyright statment is in Copyright
88   field),
89 - added %postun, %post sections with {de}instaling wget info pages,
90 - spec file rewrited for using Buildroot,
91 - added %clean section,
92 - added URL,
93 - removed Packager field from spec (if you want recompile package and
94   redistribute this package later put this in your private .rpmrc). 
95 - Buildroot changed to /tmp/lftp-%%{PACKAGE_VERSION}-root,
96 - added %%{PACKAGE_VERSION} to Source url,
97 - replaced "mkdir -p" with "install -d" in %install,
98 - base datadir changed to /usr/share,
99 - added %lang macros for /usr/share/locale/*/LC_MESSAGES/wget.mo files,
100 - added %defattr and %attr macros in %files (allows building package from
101   non-root account).
102
103 * Thu May  7 1998 ??? <root@ricketts.stannes.ox.ac.uk>
104   [1.5.1-1]
105 - previous release in rpm package.
This page took 0.071612 seconds and 3 git commands to generate.