[trac-code-comments-plugin] Initial import (#827730)

Ricky Elrod codeblock at fedoraproject.org
Fri Jun 15 19:25:24 UTC 2012


commit 4a51fe06c1fa3fea64c7fad626ca5c9f9ca9f103
Author: Ricky Elrod <ricky at elrod.me>
Date:   Fri Jun 15 15:24:29 2012 -0400

    Initial import (#827730)

 .gitignore                                    |    1 +
 sources                                       |    1 +
 trac-code-comments-plugin-LICENSING_BREAKDOWN |    7 +++
 trac-code-comments-plugin.spec                |   52 +++++++++++++++++++++++++
 4 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7285d2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Automattic-trac-code-comments-plugin-v1.0.1-52-gb260714.tar.gz
diff --git a/sources b/sources
index e69de29..e51c6ef 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+85b5ad87cb14d4d64f96050a12118d95  Automattic-trac-code-comments-plugin-v1.0.1-52-gb260714.tar.gz
diff --git a/trac-code-comments-plugin-LICENSING_BREAKDOWN b/trac-code-comments-plugin-LICENSING_BREAKDOWN
new file mode 100644
index 0000000..a13315c
--- /dev/null
+++ b/trac-code-comments-plugin-LICENSING_BREAKDOWN
@@ -0,0 +1,7 @@
+* The plugin itself is GPLv2+, as specified in README.md.
+* Bundled JavaScript libraries (these all reside in htdocs/):
+  - JQuery-UI is dual licensed, GPLv2 and MIT.
+  - backbone.js and backbone-min.js are licensed MIT.
+  - jquery.ba-throttle-debounce.min.js is dual licensed, GPLv2 and MIT.
+  - json2.js is licensed Public Domain.
+  - underscore-min.js is licensed MIT.
diff --git a/trac-code-comments-plugin.spec b/trac-code-comments-plugin.spec
new file mode 100644
index 0000000..b149c57
--- /dev/null
+++ b/trac-code-comments-plugin.spec
@@ -0,0 +1,52 @@
+%define gitcommit  b260714
+%define gitdate    20120601
+%define gittagver  1.0.1
+%define patchlevel 52
+Name:           trac-code-comments-plugin
+Version:        1.2.0
+Release:        0.1.%{gitdate}git%{gitcommit}%{?dist}
+Summary:        Trac plugin for code comments and sending them to tickets
+
+Group:          Applications/Internet
+# See LICENSING_BREAKDOWN for the breakdown.
+License:        GPLv2+ and MIT and Public Domain and (MIT or GPLv2)
+URL:            https://github.com/Automattic/trac-code-comments-plugin
+# Source0 retrieved by pulling a Github tarball.
+# See: https://github.com/Automattic/trac-code-comments-plugin/downloads
+Source0:        Automattic-%{name}-v%{gittagver}-%{patchlevel}-g%{gitcommit}.tar.gz
+Source1:        %{name}-LICENSING_BREAKDOWN
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires:  python2-devel
+BuildRequires:  python-setuptools
+Requires:       trac >= 0.12
+
+%description
+This plugin allows you to leave comments on top of files, change sets, and
+attachments. Once you've added all of your comments, you can send them to
+tickets. These include links to these comments and their description.
+
+%prep
+%setup -q -n Automattic-%{name}-%{gitcommit}
+
+%build
+
+%install
+rm -rf %{buildroot}
+cp %{SOURCE1} LICENSING_BREAKDOWN
+%{__python} setup.py build
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+cd %{buildroot}/%{python_sitelib}/code_comments/
+find -type f -exec chmod -x \{\} \;
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc README.md HACKING CHANGELOG LICENSING_BREAKDOWN
+%{python_sitelib}/*
+
+%changelog
+* Fri Jun 1 2012 Ricky Elrod <codeblock at fedoraproject.org> - 1.2.0-0.1.20120601gitb260714
+- Initial build.


More information about the scm-commits mailing list