[packages/php-marc-mabe-php-enum] Initial

arekm arekm at pld-linux.org
Sat Apr 4 00:11:28 CEST 2026


commit cac5c23f04e7cb829c5f1e3736f39f5051620a7a
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat Apr 4 00:11:11 2026 +0200

    Initial

 php-marc-mabe-php-enum.spec | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
---
diff --git a/php-marc-mabe-php-enum.spec b/php-marc-mabe-php-enum.spec
new file mode 100644
index 0000000..00684b9
--- /dev/null
+++ b/php-marc-mabe-php-enum.spec
@@ -0,0 +1,35 @@
+Summary:	Simple and fast implementation of enumerations with native PHP
+Name:		php-marc-mabe-php-enum
+Version:	4.7.2
+Release:	1
+License:	BSD
+Group:		Development/Libraries
+Source0:	https://github.com/marc-mabe/php-enum/archive/refs/tags/v%{version}/php-enum-%{version}.tar.gz
+# Source0-md5:	caa93ef5d72b15fdc9e86adc07013658
+URL:		https://github.com/marc-mabe/php-enum
+Requires:	php(core) >= 7.1
+Requires:	php(reflection)
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Simple and fast implementation of enumerations with native PHP.
+
+This library provides Enum, EnumSet and EnumMap classes for PHP.
+
+%prep
+%setup -q -n php-enum-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}/MabeEnum
+cp -a src/* $RPM_BUILD_ROOT%{php_data_dir}/MabeEnum
+cp -a stubs/* $RPM_BUILD_ROOT%{php_data_dir}/MabeEnum
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE.txt
+%{php_data_dir}/MabeEnum
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/php-marc-mabe-php-enum.git/commitdiff/cac5c23f04e7cb829c5f1e3736f39f5051620a7a



More information about the pld-cvs-commit mailing list