Imported Debian patch 0.9.3-1
Mikhail Gusarov authored 16 years ago
Gianfranco Costamagna committed 8 years ago
0 | s3cmd (0.9.3-1) unstable; urgency=low | |
1 | ||
2 | * Initial revision. (Closes: #427414) | |
3 | ||
4 | -- Mikhail Gusarov <dottedmag@dottedmag.net> Sat, 09 Jun 2007 20:42:11 +0700 |
0 | 5 |
0 | Source: s3cmd | |
1 | Section: admin | |
2 | Priority: optional | |
3 | Maintainer: Mikhail Gusarov <dottedmag@dottedmag.net> | |
4 | Build-Depends: debhelper (>= 5.0.38) | |
5 | Build-Depends-Indep: python-central (>= 0.5.6), python-all-dev (>= 2.3.5-11) | |
6 | Standards-Version: 3.7.2 | |
7 | XS-Python-Version: all | |
8 | ||
9 | Package: s3cmd | |
10 | Architecture: all | |
11 | Depends: ${python:Depends}, python-elementtree | |
12 | Provides: ${python:Provides} | |
13 | XB-Python-Version: ${python:Versions} | |
14 | Description: command-line Amazon S3 client | |
15 | Command-line tool to upload, retrieve and manage data in Amazon S3 service | |
16 | (http://www.amazon.com/s3/), designed for use in scripts. | |
17 | . | |
18 | Homepage: http://s3tools.logix.cz/s3cmd |
0 | This package was first debianized by Mikhail Gusarov <dottedmag@dottedmag.net> on | |
1 | Mon, 4 Jun 2007 11:00:00 +0600 | |
2 | ||
3 | It was downloaded from http://s3tools.logix.cz/s3cmd | |
4 | ||
5 | Copyright Holders: Michal Ludvig <michal@logix.cz> | |
6 | ||
7 | s3cmd - Amazon S3 manager | |
8 | Copyright (C) 2007 Michal Ludvig | |
9 | ||
10 | This program is free software; you can redistribute it and/or modify | |
11 | it under the terms of the GNU General Public License as published by | |
12 | the Free Software Foundation version 2 of the License. | |
13 | ||
14 | This program is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | GNU General Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU General Public License along | |
20 | with this program; if not, write to the Free Software Foundation, Inc., | |
21 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
22 | ||
23 | On Debian systems, the complete text of the GNU General Public License | |
24 | can be found in /usr/share/common-licenses/GPL-2 file. |
0 | README |
0 | debian/s3cmd.1 |
0 | 2 |
0 | #!/usr/bin/make -f | |
1 | # -*- makefile -*- | |
2 | ||
3 | PACKAGE_NAME=s3cmd | |
4 | ||
5 | build: | |
6 | ||
7 | clean: | |
8 | dh_testdir | |
9 | dh_testroot | |
10 | ||
11 | PYTHONPATH=$(CURDIR) python debian/setup.py clean | |
12 | -rm -f build-stamp | |
13 | -rm -f S3/*.pyc | |
14 | ||
15 | dh_clean | |
16 | ||
17 | install: build | |
18 | dh_testdir | |
19 | dh_testroot | |
20 | dh_clean -k | |
21 | ||
22 | PYTHONPATH=$(CURDUR) python debian/setup.py install --no-compile --root $(CURDIR)/debian/$(PACKAGE_NAME) | |
23 | rm -rf debian/$(PACKAGE_NAME)/usr/lib/python*/site-packages/*.egg-info | |
24 | ||
25 | binary-indep: build install | |
26 | dh_testdir | |
27 | dh_testroot | |
28 | dh_installchangelogs NEWS | |
29 | dh_installdocs | |
30 | dh_installman | |
31 | dh_pycentral | |
32 | dh_compress -X.py | |
33 | dh_fixperms | |
34 | dh_installdeb | |
35 | dh_gencontrol | |
36 | dh_md5sums | |
37 | dh_builddeb | |
38 | ||
39 | binary-arch: build install | |
40 | ||
41 | binary: binary-indep binary-arch | |
42 | .PHONY: build clean binary-indep binary-arch binary install |
0 | .TH s3cmd 1 | |
1 | .SH NAME | |
2 | s3cmd \- tool for managing Amazon S3 storage space | |
3 | .SH SYNOPSIS | |
4 | .B s3cmd | |
5 | [\fIOPTIONS\fR] \fICOMMAND\fR [\fIPARAMETERS\fR] | |
6 | .SH DESCRIPTION | |
7 | .PP | |
8 | .B s3cmd | |
9 | is a command line client for copying files to/from | |
10 | Amazon S3 (Simple Storage Service) and performing other | |
11 | related tasks, for instance creating and removing buckets, | |
12 | listing objects, etc. | |
13 | .PP | |
14 | .B s3cmd | |
15 | can do several \fIactions\fR specified by the following \fIcommands\fR. | |
16 | .TP | |
17 | \fBmb\fR \fIs3://BUCKET\fR | |
18 | Make bucket | |
19 | .TP | |
20 | \fBrb\fR \fIs3://BUCKET\fR | |
21 | Remove bucket | |
22 | .TP | |
23 | \fBls\fR \fI[s3://BUCKET[/PREFIX]]\fR | |
24 | List objects or buckets | |
25 | .TP | |
26 | \fBla\fR | |
27 | List all object in all buckets | |
28 | .TP | |
29 | \fBput\fR \fIFILE [FILE...] s3://BUCKET[/PREFIX]\fR | |
30 | Put file into bucket | |
31 | .TP | |
32 | \fBget\fR \fIs3://BUCKET/OBJECT LOCAL_FILE\fR | |
33 | Get file from bucket | |
34 | .TP | |
35 | \fBdel\fR \fIs3://BUCKET/OBJECT\fR | |
36 | Delete file from bucket | |
37 | ||
38 | .SH OPTIONS | |
39 | .PP | |
40 | Some of the below specified options can have their default | |
41 | values set in | |
42 | .B s3cmd | |
43 | config file (by default $HOME/.s3cmd). As it's a simple text file | |
44 | feel free to open it with your favorite text editor and do any | |
45 | changes you like. | |
46 | .PP | |
47 | Config file related options. | |
48 | .TP | |
49 | \fB\-\-configure\fR | |
50 | Invoke interactive (re)configuration tool. Don't worry, you won't | |
51 | lose your settings on subsequent runs. | |
52 | .TP | |
53 | \fB\-c\fR FILE, \fB\-\-config\fR=FILE | |
54 | Config file name. Defaults to $HOME/.s3cfg | |
55 | .TP | |
56 | \fB\-\-dump\-config\fR | |
57 | Dump current configuration after parsing config files | |
58 | and command line options and exit. | |
59 | .PP | |
60 | Most of the following options can have a default value set | |
61 | in the above specified config file. | |
62 | .TP | |
63 | \fB\-f\fR, \fB\-\-force\fR | |
64 | Force overwrite and other dangerous operations. | |
65 | .TP | |
66 | \fB\-P\fR, \fB\-\-acl\-public\fR | |
67 | Store objects with permissions allowing read by anyone. | |
68 | .TP | |
69 | \fB\-m\fR MIME/TYPE, \fB\-\-mime\-type\fR=MIME/TYPE | |
70 | Default MIME-type to be set for objects stored. | |
71 | .TP | |
72 | \fB\-M\fR, \fB\-\-guess\-mime\-type\fR | |
73 | Guess MIME\(hytype of files by their extension. Falls | |
74 | back to default MIME\(hyType as specified by \fB\-\-mime\-type\fR | |
75 | option | |
76 | .TP | |
77 | \fB-H\fR, \fB\-\-human\-readable\-sizes\fR | |
78 | Print sizes in human readable form. | |
79 | .\".TP | |
80 | .\"\fB-u\fR, \fB--show-uri\fR | |
81 | .\"Show complete S3 URI in listings. | |
82 | .TP | |
83 | \fB\-v\fR, \fB\-\-verbose\fR | |
84 | Enable verbose output. | |
85 | .TP | |
86 | \fB\-d\fR, \fB\-\-debug\fR | |
87 | Enable debug output. | |
88 | .TP | |
89 | \fB\-h\fR, \fB\-\-help\fR | |
90 | Show the help message and exit | |
91 | .TP | |
92 | \fB\-\-version\fR | |
93 | Show | |
94 | .B s3cmd | |
95 | version and exit. | |
96 | ||
97 | .SH AUTHOR | |
98 | Written by Michal Ludvig <michal@logix.cz> | |
99 | .SH REPORTING BUGS | |
100 | Report bugs to | |
101 | .I s3tools-general@lists.sourceforge.net | |
102 | .SH COPYRIGHT | |
103 | Copyright \(co 2007 Michal Ludvig | |
104 | .br | |
105 | This is free software. You may redistribute copies of it under the terms of | |
106 | the GNU General Public License version 2 <http://www.gnu.org/licenses/gpl.html>. | |
107 | There is NO WARRANTY, to the extent permitted by law. | |
108 | .SH SEE ALSO | |
109 | For the most up to date list of options run | |
110 | .B s3cmd --help | |
111 | .br | |
112 | For more info about usage, examples and other related info visit project homepage at | |
113 | .br | |
114 | .B http://s3tools.logix.cz | |
115 |
0 | from distutils.core import setup | |
1 | ||
2 | import S3.PkgInfo | |
3 | ||
4 | author='Michal Ludvig' | |
5 | author_email='michal@logix.cz' | |
6 | ||
7 | long_description=''' | |
8 | %s | |
9 | ||
10 | Authors: | |
11 | -------- | |
12 | %s <%s> | |
13 | ''' % (S3.PkgInfo.long_description, author, author_email) | |
14 | ||
15 | setup( | |
16 | name=S3.PkgInfo.package, | |
17 | version=S3.PkgInfo.version, | |
18 | packages=['S3'], | |
19 | scripts=['s3cmd'], | |
20 | author=author, | |
21 | author_email=author_email, | |
22 | url=S3.PkgInfo.url, | |
23 | license=S3.PkgInfo.license, | |
24 | description=S3.PkgInfo.short_description, | |
25 | long_description=long_description | |
26 | ) |