[python-mandrill/f18] First RPM release

Daniel Bruno dbruno at fedoraproject.org
Sun Oct 27 03:35:15 UTC 2013


commit fa24feba54e7d050ac0f75db9ce240ba3b75bbba
Author: Daniel Bruno <danielbrunos at gmail.com>
Date:   Sat Oct 26 23:35:03 2013 -0400

    First RPM release

 .gitignore           |    1 +
 LICENSE_MANDRILL     |   13 +++++++++++++
 python-mandrill.spec |   46 ++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 4 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e8fe230 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mandrill-1.0.51.tar.gz
diff --git a/LICENSE_MANDRILL b/LICENSE_MANDRILL
new file mode 100644
index 0000000..dfd048a
--- /dev/null
+++ b/LICENSE_MANDRILL
@@ -0,0 +1,13 @@
+Copyright 2013 The Rocket Science Group, LLC.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
diff --git a/python-mandrill.spec b/python-mandrill.spec
new file mode 100644
index 0000000..ce581d6
--- /dev/null
+++ b/python-mandrill.spec
@@ -0,0 +1,46 @@
+%global tarball_name mandrill 
+
+Name:           python-mandrill
+Version:        1.0.51
+Release:        2%{?dist}
+Summary:        A CLI client and API library for Mandrill email service
+
+Group:          Development/Languages
+License:        ASL 2.0
+URL:            https://bitbucket.org/mailchimp/mandrill-api-python/
+Source0:        https://pypi.python.org/packages/source/m/%{tarball_name}/%{tarball_name}-%{version}.tar.gz
+Source1:		LICENSE_MANDRILL
+BuildArch:      noarch
+BuildRequires:  python2-devel python-setuptools
+Requires:       python-ujson python-docopt python-requests
+
+%description
+A Python API client and suite of CLI-based tools for the Mandrill email
+as a platform service
+
+%prep
+%setup -qn %{tarball_name}-%{version}
+rm -fr %{tarball_name}.egg-info
+
+%build
+%{__python2} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python2} setup.py install -O1 --skip-build --root %{buildroot}
+%{__install} -p -m644 %SOURCE1 LICENSE
+
+%files
+%{python2_sitelib}/*
+%{_bindir}/mandrill
+%{_bindir}/sendmail.mandrill
+%doc README LICENSE
+
+%changelog
+* Mon Oct 21 2013 Daniel Bruno <dbruno at fedoraproject.org> - 1.0.51-2
+- Add license file from the upstream repo
+
+* Tue Oct 01 2013 Daniel Bruno <dbruno at fedoraproject.org> - 1.0.51-1
+- Initial package for Fedora
+
diff --git a/sources b/sources
index e69de29..8018b35 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bdb48eb530162dce6ee0bfa85ba2bf81  mandrill-1.0.51.tar.gz


More information about the scm-commits mailing list