]> git.pld-linux.org Git - packages/php-firebase-jwt.git/commitdiff
new, version 4.0.0
authorElan Ruusamäe <glen@delfi.ee>
Thu, 24 Nov 2016 13:42:06 +0000 (15:42 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 24 Nov 2016 13:42:06 +0000 (15:42 +0200)
php-firebase-jwt.spec [new file with mode: 0644]

diff --git a/php-firebase-jwt.spec b/php-firebase-jwt.spec
new file mode 100644 (file)
index 0000000..6d86f28
--- /dev/null
@@ -0,0 +1,40 @@
+%define                php_min_version 5.3.0
+%include       /usr/lib/rpm/macros.php
+Summary:       PHP-JWT
+Name:          php-firebase-jwt
+Version:       4.0.0
+Release:       1
+License:       BSD
+Group:         Development/Languages/PHP
+Source0:       https://github.com/firebase/php-jwt/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: f71111383e4b366d9752a4815269a589
+URL:           https://github.com/firebase/php-jwt
+%if %{with phpdeps}
+BuildRequires: /usr/bin/php
+BuildRequires: rpm-php-pearprov >= 4.4.2-11
+%endif
+BuildRequires: rpmbuild(macros) >= 1.654
+Requires:      php(core) >= %{php_min_version}
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple library to encode and decode JSON Web Tokens (JWT) in PHP,
+conforming to RFC 7519.
+
+%prep
+%setup -q -n php-jwt-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{php_data_dir}/Firebase/JWT
+cp -a src/* $RPM_BUILD_ROOT%{php_data_dir}/Firebase/JWT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENSE
+%dir %{php_data_dir}/Firebase
+%{php_data_dir}/Firebase/JWT
This page took 0.11365 seconds and 4 git commands to generate.