Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3fe082be80 |
4 changed files with 52 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
/sendKindle-2.1.tar.gz
|
||||
|
|
@ -1 +0,0 @@
|
|||
Upstream is dead. The tool is no longer developed.
|
||||
50
sendKindle.spec
Normal file
50
sendKindle.spec
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
Name: sendKindle
|
||||
Version: 2.1
|
||||
Release: 4%{?dist}
|
||||
Summary: CLI tool for sending files via email to your Amazon Kindle device
|
||||
BuildArch: noarch
|
||||
License: AGPLv3+
|
||||
URL: https://github.com/kparal/sendKindle
|
||||
Source0: https://github.com/kparal/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python-setuptools
|
||||
|
||||
Requires: python-setuptools
|
||||
|
||||
%description
|
||||
Send files as email attachments to your Amazon Kindle device. IMAP access
|
||||
to your email account is required.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# Installation removed the executable bit, rpmlint then complains,
|
||||
# let's remove the hashbang
|
||||
# https://fedoraproject.org/wiki/Packaging_tricks#Remove_shebang_from_Python_libraries
|
||||
sed '1{\@^#!/usr/bin/env python@d}' sendKindle.py > sendKindle.py.new
|
||||
touch -r sendKindle.py{,.new}
|
||||
mv sendKindle.py{.new,}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install -O1 --skip-build --root %{buildroot}
|
||||
|
||||
%files
|
||||
%{_bindir}/sendKindle
|
||||
%{python_sitelib}/sendKindle.py*
|
||||
%{python_sitelib}/sendKindle-%{version}-*.egg-info/
|
||||
%doc README.rst LICENSE
|
||||
|
||||
%changelog
|
||||
* Tue Nov 05 2013 Kamil Páral <kparal@redhat.com> - 2.1-4
|
||||
- Change BR: python-setuptools-devel to python-setuptools
|
||||
https://lists.fedoraproject.org/pipermail/devel/2013-November/191344.html
|
||||
|
||||
* Mon Jul 08 2013 Kamil Páral <kparal@redhat.com> - 2.1-2
|
||||
- Add python-setuptools dependency (#982243)
|
||||
|
||||
* Thu Nov 15 2012 Kamil Páral <kparal@redhat.com> - 2.1-1
|
||||
- New package for Fedora
|
||||
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
7b4f95a2192a9407994f1f0564c8a309 sendKindle-2.1.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue