[python-inlinestyler] Initial import to Fedora repositories.

Ankur Sinha ankursinha at fedoraproject.org
Sun May 18 04:43:23 UTC 2014


commit 122b975a1f0f8fc39e4be0c5eb1624771228d9e9
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur at gmail.com>
Date:   Sun May 18 14:42:49 2014 +1000

    Initial import to Fedora repositories.
    
    RHBZ 1094041

 .gitignore               |    1 +
 python-inlinestyler.spec |   42 ++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8cdb1c5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/inlinestyler-0.1.7.tar.gz
diff --git a/python-inlinestyler.spec b/python-inlinestyler.spec
new file mode 100644
index 0000000..91a2517
--- /dev/null
+++ b/python-inlinestyler.spec
@@ -0,0 +1,42 @@
+%global module_name inlinestyler
+Name:           python-%{module_name}
+Version:        0.1.7
+Release:        1%{?dist}
+Summary:        Inlines external CSS into HTML elements
+
+License:        BSD
+URL:            https://pypi.python.org/pypi/%{module_name}/%{version}
+Source0:        https://pypi.python.org/packages/source/i/%{module_name}/%{module_name}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python2-devel python-setuptools
+
+Requires:       python-cssutils python-lxml
+
+%description
+inlinestyler is an easy way to locally inline CSS into an HTML email message.
+
+%prep
+%setup -q -n %{module_name}-%{version}
+rm -rf %{module_name}.egg-info
+
+%build
+%{__python2} setup.py build
+
+
+%install
+%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc AUTHORS CHANGELOG LICENSE README.rst
+%{python2_sitelib}/%{module_name}-%{version}-py?.?.egg-info/
+%{python2_sitelib}/%{module_name}
+
+
+%changelog
+* Sat May 10 2014 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.1.7-1
+- Removed macro definition
+- Updated description
+- Corrected python directory macros
+- Initial rpm build
diff --git a/sources b/sources
index e69de29..6fea637 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+f50cd423a7c466a17e2a39fae5663374  inlinestyler-0.1.7.tar.gz


More information about the scm-commits mailing list