Changeset 1138


Ignore:
Timestamp:
May 10, 2017, 5:25:42 PM (8 years ago)
Author:
Yuri Dario
Message:

spec: s3cmd: Release version 1.6.1-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/s3cmd.spec

    r430 r1138  
    11
    22%define name s3cmd
    3 %define version 1.1.0.beta3
    4 %define unmangled_version 1.1.0.beta3
    5 %define release 6
     3%define version 1.6.1
     4%define unmangled_version 1.6.1
     5%define release 1
    66
    77Summary: Command line tool for managing Amazon S3 and CloudFront services
    88Name: %{name}
    99Version: %{version}
    10 Release: %{release}
     10Release: %{release}%{?dist}
    1111Source0: %{name}-%{unmangled_version}.tar.gz
    1212Source1: python-wrapper.zip
     
    1616BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
    1717Prefix: %{_prefix}
    18 BuildArch: noarch
    1918Vendor: Michal Ludvig <michal@logix.cz>
    2019Url: http://s3tools.org
     
    3736
    3837
    39 %package debug
    40 Summary: HLL debug data for exception handling support.
    41 
    42 %description debug
    43 HLL debug data for exception handling support.
     38%debug_package
    4439
    4540
     
    5146
    5247%install
    53 python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES
     48S3CMD_PACKAGING=Yes python setup.py install --root=$RPM_BUILD_ROOT --prefix %{_prefix} --record=INSTALLED_FILES
     49install -d $RPM_BUILD_ROOT%{_mandir}/man1
     50install -m 644 s3cmd.1 $RPM_BUILD_ROOT%{_mandir}/man1
     51
    5452#build exe wrapper
    5553gcc -g -Zomf %optflags -DPYTHON_EXE=\"python%{python_version}.exe\" -o $RPM_BUILD_ROOT/%{_bindir}/%{name}.exe exec-py.c
     
    6159%defattr(-,root,root)
    6260%{_bindir}/*.exe
    63 
    64 %files debug
    65 %defattr(-,root,root)
    66 %{_bindir}/*.dbg
     61%{_mandir}/man1/s3cmd.1*
     62%doc NEWS README.md
    6763
    6864%changelog
     65* Wed May 10 2017 yd <yd@os2power.com> 1.6.1-1
     66- update source code to 1.6.1
     67
    6968* Wed Jun 18 2014 yd
    7069- rebuild to fix for http://trac.netlabs.org/rpm/ticket/77
Note: See TracChangeset for help on using the changeset viewer.