[php-zipstream/f14] Initial import

Guillaume Kulakowski llaumgui at fedoraproject.org
Mon Jul 4 18:23:54 UTC 2011


commit 93876a9d6ec8cf52ed33cc9f340a924d2f66a636
Author: Guillaume Kulakowski <guillaume at llaumgui.com>
Date:   Mon Jul 4 20:23:42 2011 +0200

    Initial import

 .gitignore         |    1 +
 php-zipstream.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..4be2b63 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zipstream-php-0.2.2.tar.gz
diff --git a/php-zipstream.spec b/php-zipstream.spec
new file mode 100644
index 0000000..7d7d22b
--- /dev/null
+++ b/php-zipstream.spec
@@ -0,0 +1,49 @@
+%global shortname zipstream
+
+Name:           php-zipstream
+Version:        0.2.2
+Release:        1%{?dist}
+Summary:        Streaming dynamic zip from PHP without writing to the disk
+
+Group:          Development/Libraries
+License:        MIT
+URL:            http://pablotron.org/software/zipstream-php/
+Source0:        http://pablotron.org/files/%{shortname}-php-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+Requires:       php-common >= 5.1.2
+
+
+%description
+ZipStream is a library for dynamically streaming dynamic zip files from PHP
+without writing to the disk at all on the server.
+
+
+%prep
+%setup -qn %{shortname}-php-%{version}
+
+
+%build
+# empty build section, nothing required
+
+
+%install
+rm -rf %{buildroot}
+install -d %{buildroot}%{_datadir}/php/%{shortname}
+cp -a *.php %{buildroot}%{_datadir}/php/%{shortname}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING extras README
+%{_datadir}/php/%{shortname}
+
+
+%changelog
+* Sat Jun 25 2011 Guillaume Kulakowski <guillaume DOT kulakowski AT fedoraproject DOT org> - 0.2.2-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..70fc24f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ef9de52d725c642f13e27a6c975d0774  zipstream-php-0.2.2.tar.gz


More information about the scm-commits mailing list