aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@ionic.at>2020-02-09 01:55:03 +0100
committerDavid Kaufmann <astra@ionic.at>2020-02-09 01:55:03 +0100
commit87f6a328233b18870bef09bf02038b93e7a1e154 (patch)
treed2b5ccb7ff7346023615c86bddb9d45eaa75bb00
parentd980dd9d6a367c3124c5536fa8ed9832067c3fcd (diff)
downloadannotation-summary-87f6a328233b18870bef09bf02038b93e7a1e154.tar.gz
add license and readme
-rw-r--r--LICENSE.txt22
-rw-r--r--README.md8
-rw-r--r--annotation-summary.spec4
3 files changed, 32 insertions, 2 deletions
diff --git a/LICENSE.txt b/LICENSE.txt
new file mode 100644
index 0000000..fd74775
--- /dev/null
+++ b/LICENSE.txt
@@ -0,0 +1,22 @@
+Copyright (c) 2020, David Kaufmann
+
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ae3d85b
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+Requirements:
+ * pdfkit
+ * python-poppler-qt5
+
+ Usage:
+ ./annotation-summary.py sourcefile.pdf
+
+ Produces a file named "annotations.pdf" containing all annotations with content.
diff --git a/annotation-summary.spec b/annotation-summary.spec
index 72ef40a..2231bdf 100644
--- a/annotation-summary.spec
+++ b/annotation-summary.spec
@@ -1,10 +1,10 @@
-%global commit 4eb9008f6e5a954b1f523915fee470c2b91ba01f
+%global commit d980dd9d6a367c3124c5536fa8ed9832067c3fcd
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapinfo 20200206git%{shortcommit}
Name: annotation-summary
Version: 0.1
-Release: 2.%{snapinfo}%{?dist}
+Release: 3.%{snapinfo}%{?dist}
Summary: Extract annotations/notes from a pdf file
License: undef