summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArkadiusz Miśkiewicz2010-03-05 07:57:30 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit040ca7796f810af79ec17f6eb6a4ba0f464973d4 (patch)
tree1ed3d62777ab8ae73712b5b9f6e9e78dfa8f7509
parent046b71eac777e7ddef1c119fa33e2ee33fc5cbef (diff)
downloadpastebinit-auto/th/pastebinit-1_0-1.zip
pastebinit-auto/th/pastebinit-1_0-1.tar.gz
Changed files: pastebinit-pastebin.com.patch -> 1.1 pastebinit.spec -> 1.24
-rw-r--r--pastebinit-pastebin.com.patch40
-rw-r--r--pastebinit.spec13
2 files changed, 47 insertions, 6 deletions
diff --git a/pastebinit-pastebin.com.patch b/pastebinit-pastebin.com.patch
new file mode 100644
index 0000000..cf19c1d
--- /dev/null
+++ b/pastebinit-pastebin.com.patch
@@ -0,0 +1,40 @@
+=== modified file 'pastebin.d/pastebin.com.conf'
+--- pastebin.d/pastebin.com.conf 2010-02-18 01:04:08 +0000
++++ pastebin.d/pastebin.com.conf 2010-02-24 00:41:43 +0000
+@@ -1,19 +1,23 @@
+ [pastebin]
+ basename = pastebin.com
+ regexp = "http://((([a-zA-Z0-9\-_\.]*)(pastebin\.com)))"
+-#FIXME: not website == "http://www.pastebin.com") or website == "http://pastebin.mozilla.org":
+
+ [format]
+-user = poster
+-content = code2
+-version = version
+-parentpid = parent_pid
+-format = format
+-paste = paste
+-remember = remember
+-expiry = expiry
++submit = submit
++parentpid = paste_parent_key
++subdomain = paste_subdomain
++content = paste_code
++paste_format = paste_format
++expiry = paste_expire_date
++private = paste_private
++remember = paste_remember
++page = page
+
+ [defaults]
+-remember = f
+-expiry = 1
+-paste = Send
++paste_format = 1
++private = 0
++remember = 1
++expiry = N
++submit = submit
++subdomain = ""
++page = "/post.php"
+
diff --git a/pastebinit.spec b/pastebinit.spec
index 29dd82d..f03111a 100644
--- a/pastebinit.spec
+++ b/pastebinit.spec
@@ -1,14 +1,14 @@
Summary: Command line Pastebin
Summary(pl.UTF-8): Pastebin działający z linii poleceń
Name: pastebinit
-Version: 0.11.2
-Release: 1.1
+Version: 1.0
+Release: 1
License: GPL v2+
Group: Applications
-#Source0: http://launchpad.net/pastebinit/trunk/%{version}/+download/%{name}-%{version}.tar.gz
-Source0: %{name}-71.tar.bz2
-# Source0-md5: e6264e2c75691a920f4ede8edba23028
+Source0: http://launchpad.net/pastebinit/trunk/%{version}/+download/%{name}-%{version}.tar.gz
+# Source0-md5: 97c2a0b227240dcb8d6f4c66d7e3eb12
Patch0: %{name}-configparsing.patch
+Patch1: %{name}-pastebin.com.patch
URL: https://launchpad.net/pastebinit
BuildRequires: gettext-devel
BuildRequires: rpm-pythonprov
@@ -29,8 +29,9 @@ klient Pastebin - wystarczy podać mu plik albo nakazać czytanie ze
standardowego wyjścia, a on przeklei informacje na Pastebin.
%prep
-%setup -q -n %{name}
+%setup -q
%patch0 -p0
+%patch1 -p0
%{__sed} -i -e 's#http://pastebin.com#http://pld.pastebin.com#g' pastebinit
%build