source: spec/trunk/SPECS/s3cmd.spec@ 1010

Last change on this file since 1010 was 430, checked in by Yuri Dario, 11 years ago

spec: urlgrabber, s3cmd, rebuild to fix for ticket#77.

File size: 1.7 KB
Line 
1
2%define name s3cmd
3%define version 1.1.0.beta3
4%define unmangled_version 1.1.0.beta3
5%define release 6
6
7Summary: Command line tool for managing Amazon S3 and CloudFront services
8Name: %{name}
9Version: %{version}
10Release: %{release}
11Source0: %{name}-%{unmangled_version}.tar.gz
12Source1: python-wrapper.zip
13
14License: GPL version 2
15Group: Development/Libraries
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
17Prefix: %{_prefix}
18BuildArch: noarch
19Vendor: Michal Ludvig <michal@logix.cz>
20Url: http://s3tools.org
21
22Requires: python(abi) = %{python_version}
23
24%description
25
26
27S3cmd lets you copy files from/to Amazon S3
28(Simple Storage Service) using a simple to use
29command line client. Supports rsync-like backup,
30GPG encryption, and more. Also supports management
31of Amazon's CloudFront content delivery network.
32
33
34Authors:
35--------
36 Michal Ludvig <michal@logix.cz>
37
38
39%package debug
40Summary: HLL debug data for exception handling support.
41
42%description debug
43HLL debug data for exception handling support.
44
45
46%prep
47%setup -n %{name}-%{unmangled_version} -a 1
48
49%build
50python setup.py build
51
52%install
53python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES
54#build exe wrapper
55gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/%{name}.exe exec-py.c
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files -f INSTALLED_FILES
61%defattr(-,root,root)
62%{_bindir}/*.exe
63
64%files debug
65%defattr(-,root,root)
66%{_bindir}/*.dbg
67
68%changelog
69* Wed Jun 18 2014 yd
70- rebuild to fix for http://trac.netlabs.org/rpm/ticket/77
71
72* Tue Apr 08 2014 yd
73- workaround for http://trac.netlabs.org/rpm/ticket/71
74
75* Mon Apr 07 2014 yd
76- build for python 2.7.
Note: See TracBrowser for help on using the repository browser.