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 |
|
---|
7 | Summary: Command line tool for managing Amazon S3 and CloudFront services
|
---|
8 | Name: %{name}
|
---|
9 | Version: %{version}
|
---|
10 | Release: %{release}
|
---|
11 | Source0: %{name}-%{unmangled_version}.tar.gz
|
---|
12 | Source1: python-wrapper.zip
|
---|
13 |
|
---|
14 | License: GPL version 2
|
---|
15 | Group: Development/Libraries
|
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
---|
17 | Prefix: %{_prefix}
|
---|
18 | BuildArch: noarch
|
---|
19 | Vendor: Michal Ludvig <michal@logix.cz>
|
---|
20 | Url: http://s3tools.org
|
---|
21 |
|
---|
22 | Requires: python(abi) = %{python_version}
|
---|
23 |
|
---|
24 | %description
|
---|
25 |
|
---|
26 |
|
---|
27 | S3cmd lets you copy files from/to Amazon S3
|
---|
28 | (Simple Storage Service) using a simple to use
|
---|
29 | command line client. Supports rsync-like backup,
|
---|
30 | GPG encryption, and more. Also supports management
|
---|
31 | of Amazon's CloudFront content delivery network.
|
---|
32 |
|
---|
33 |
|
---|
34 | Authors:
|
---|
35 | --------
|
---|
36 | Michal Ludvig <michal@logix.cz>
|
---|
37 |
|
---|
38 |
|
---|
39 | %package debug
|
---|
40 | Summary: HLL debug data for exception handling support.
|
---|
41 |
|
---|
42 | %description debug
|
---|
43 | HLL debug data for exception handling support.
|
---|
44 |
|
---|
45 |
|
---|
46 | %prep
|
---|
47 | %setup -n %{name}-%{unmangled_version} -a 1
|
---|
48 |
|
---|
49 | %build
|
---|
50 | python setup.py build
|
---|
51 |
|
---|
52 | %install
|
---|
53 | python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES
|
---|
54 | #build exe wrapper
|
---|
55 | gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/%{name}.exe exec-py.c
|
---|
56 |
|
---|
57 | %clean
|
---|
58 | rm -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.