Add packaging
authorPatrick McCarty <patrick.mccarty@linux.intel.com>
Tue, 5 Mar 2013 23:06:35 +0000 (15:06 -0800)
committerPatrick McCarty <patrick.mccarty@linux.intel.com>
Wed, 6 Mar 2013 19:25:03 +0000 (11:25 -0800)
packaging/python-urlgrabber.changes [new file with mode: 0644]
packaging/python-urlgrabber.manifest [new file with mode: 0644]
packaging/python-urlgrabber.spec [new file with mode: 0644]

diff --git a/packaging/python-urlgrabber.changes b/packaging/python-urlgrabber.changes
new file mode 100644 (file)
index 0000000..dc0d37f
--- /dev/null
@@ -0,0 +1,4 @@
+* Wed Mar 06 2013 Patrick McCarty <patrick.mccarty@linux.intel.com> upstream/3.9.1@c5b017c
+- Add packaging
+- Imported Upstream version 3.9.1
+
diff --git a/packaging/python-urlgrabber.manifest b/packaging/python-urlgrabber.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/python-urlgrabber.spec b/packaging/python-urlgrabber.spec
new file mode 100644 (file)
index 0000000..005faae
--- /dev/null
@@ -0,0 +1,38 @@
+Name:           python-urlgrabber
+Summary:        A high-level cross-protocol url-grabber
+Version:        3.9.1
+Release:        0
+Group:          Development/Libraries
+License:        LGPL-2.1+
+BuildArch:      noarch
+URL:            http://urlgrabber.baseurl.org/
+Source0:        urlgrabber-%{version}.tar.gz
+Source1001:     python-urlgrabber.manifest
+BuildRequires:  python-devel
+BuildRequires:  python-pycurl
+Requires:       python-M2Crypto
+Requires:       python-pycurl
+Provides:       urlgrabber = %{version}-%{release}
+
+%description
+A high-level cross-protocol url-grabber for python supporting HTTP, FTP
+and file locations.  Features include keepalive, byte ranges, throttling,
+authentication, proxies and more.
+
+%prep
+%setup -q -n urlgrabber-%{version}
+
+%build
+cp %{SOURCE1001} .
+python setup.py build
+
+%install
+python setup.py install --root=%{buildroot} -O1 --prefix=%{_prefix}
+
+
+%remove_docs
+
+%files
+%manifest python-urlgrabber.manifest
+%{_bindir}/urlgrabber
+%{python_sitelib}/urlgrabber*