[packages/php-zz-MIME_Type_PlainDetect: 1/2] new, version 0.0.2
glen
glen at pld-linux.org
Sat Sep 14 02:26:25 CEST 2013
commit d7a3f8f7615a4865529a627ba597813f6fc06e78
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Sep 14 03:24:31 2013 +0300
new, version 0.0.2
created with pear make-rpm-spec
php-zz-MIME_Type_PlainDetect.spec | 48 +++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
---
diff --git a/php-zz-MIME_Type_PlainDetect.spec b/php-zz-MIME_Type_PlainDetect.spec
new file mode 100644
index 0000000..f00394b
--- /dev/null
+++ b/php-zz-MIME_Type_PlainDetect.spec
@@ -0,0 +1,48 @@
+%define status alpha
+%define pearname MIME_Type_PlainDetect
+%include /usr/lib/rpm/macros.php
+Summary: %{pearname} - Detect the MIME type of source code files
+Name: php-zz-MIME_Type_PlainDetect
+Version: 0.0.2
+Release: 1
+License: LGPL
+Group: Development/Languages/PHP
+Source0: http://zustellzentrum.cweiske.de/get/%{pearname}-%{version}.tgz
+# Source0-md5: 44856ebc24d03df01a2fd9166fba9370
+URL: http://zustellzentrum.cweiske.de/package/MIME_Type_PlainDetect/
+BuildRequires: php-channel(zustellzentrum.cweiske.de)
+BuildRequires: php-packagexml2cl
+BuildRequires: php-pear-PEAR >= 1:1.9.0
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+BuildRequires: rpmbuild(macros) >= 1.610
+Requires: php-channel(zustellzentrum.cweiske.de)
+Requires: php-pear
+Requires: php-pear-MIME_Type >= 1.3.1
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Detect the MIME type of source code files
+
+In PEAR status of this package is: %{status}.
+
+%prep
+%pear_package_setup
+
+%build
+packagexml2cl package.xml > ChangeLog
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_pear_dir}
+%pear_package_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog install.log
+%{php_pear_dir}/.registry/.channel.*/*.reg
+%{php_pear_dir}/MIME/Type/PlainDetect.php
+%{php_pear_dir}/data/MIME_Type_PlainDetect
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php-zz-MIME_Type_PlainDetect.git/commitdiff/869f42b34ef11478f042383b47496c0fd58e9180
More information about the pld-cvs-commit
mailing list