Blame acd_cli.spec

c847f7a
%global commit cd4a9eea52f1740aa8de10d8c75ab2f6c17de52b
fb8193e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
fb8193e
fb8193e
fb8193e
Name:    acd_cli
b1e1e59
Version: 0.3.2
f43b162
Release: 6.20170530.git%{shortcommit}%{?dist}
fb8193e
Summary: A command line interface and FUSE filesystem for Amazon Cloud Drive 
fb8193e
fb8193e
License: GPLv2+
fb8193e
URL:     https://github.com/yadayada/acd_cli
fb8193e
Source0: https://github.com/yadayada/acd_cli/archive/%{version}.tar.gz
fb8193e
c847f7a
Patch0:  acd_cli-0.3.2-to-af929608f6279fca56e6c9ac6c48bd76d4ff1dcb.patch
c847f7a
fb8193e
BuildArch: noarch
fb8193e
BuildRequires:  python3-devel
fb8193e
fb8193e
# in order from https://acd-cli.readthedocs.org/en/latest/setup.html#python-packages
fb8193e
Requires:   python3-appdirs
fb8193e
Requires:   python3-colorama
6bf355b
Requires:   python3-dateutil
fb8193e
Requires:   python3-requests > 2.1.0
6bf355b
Requires:   python3-requests-toolbelt
fb8193e
Requires:   python3-sqlalchemy
3163e6a
Recommends: python3-fuse
fb8193e
fb8193e
%description
fb8193e
acd_cli provides a command line interface to Amazon Cloud Drive and allows
fb8193e
mounting your cloud drive using FUSE for read and write access. It is
fb8193e
currently in beta stage.
fb8193e
fb8193e
%prep
fb8193e
%setup -q
fb8193e
c847f7a
%patch0 -p1 -b git
c847f7a
fb8193e
%build
fb8193e
%{__python3} setup.py build
fb8193e
fb8193e
fb8193e
%install
fb8193e
rm -rf $RPM_BUILD_ROOT
fb8193e
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
fb8193e
fb8193e
# default installs acd_cli, acdcli, and acd_cli.py -- docs only refer
fb8193e
# to the first two.
fb8193e
rm $RPM_BUILD_ROOT/%_bindir/{acd_cli,acdcli}
fb8193e
mv $RPM_BUILD_ROOT/%_bindir/acd_cli.py $RPM_BUILD_ROOT/%_bindir/acd_cli
fb8193e
ln -s acd_cli $RPM_BUILD_ROOT/%_bindir/acdcli
fb8193e
fb8193e
%files
fb8193e
%doc README.rst CONTRIBUTING.rst
fb8193e
%license LICENSE
fb8193e
%{python3_sitelib}/acdcli/
fb8193e
%{python3_sitelib}/acdcli-*egg-info/
fb8193e
%_bindir/acdcli
fb8193e
%_bindir/acd_cli
fb8193e
fb8193e
%changelog
f43b162
* Web Jun 14 2017 Matthew Miller <mattdm@fedoraproject.org> - 0.3.2-6.20170530.git
f43b162
- Peter Robinson reminds me that numbers can't go backwards :)
f43b162
c847f7a
* Mon Jun 12 2017 Matthew Miller <mattdm@fedoraproject.org> - 0.3.2-gitcd4a9ee
c847f7a
- because it was entirely broken.
c847f7a
49e7a61
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-5
49e7a61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
49e7a61
bf1cdef
* Mon Dec 19 2016 Miro HronĨok <mhroncok@redhat.com> - 0.3.2-4
bf1cdef
- Rebuild for Python 3.6
bf1cdef
3163e6a
* Tue Nov 22 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 0.3.2-3
3163e6a
- Add python3-fuse dependency
3163e6a
6bf355b
* Sun Oct  2 2016 Matthew Miller <mattdm@fedoraproject.org> - 03.2-2
6bf355b
- package docs say "dateutils' but means "dateutil"
6bf355b
- change that and requests-toolbelt to hard dep, because package will not actually
6bf355b
  function without
6bf355b
  
b1e1e59
* Sat Sep  3 2016 Juan Orti Alcaine <jorti@fedoraproject.org> - 0.3.2-1
b1e1e59
- Version 0.3.2
b1e1e59
bf6378d
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-3
bf6378d
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
bf6378d
415041e
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
415041e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
415041e
fb8193e
* Tue Dec  1 2015 Matthew Miller <mattdm@fedoraproject.org> - 0.3.1-1
fb8193e
- initial RPM
fb8193e