Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
add7455ebe |
3 changed files with 13 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,3 +8,4 @@ php-markdown-1.0.1n.zip
|
||||||
/php-markdown-lib-1.4.0.zip
|
/php-markdown-lib-1.4.0.zip
|
||||||
/php-markdown-lib-1.4.1.zip
|
/php-markdown-lib-1.4.1.zip
|
||||||
/php-markdown-lib-1.5.0.zip
|
/php-markdown-lib-1.5.0.zip
|
||||||
|
/php-markdown-lib-1.6.0.zip
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
%global classic_version 1.0.2
|
%global classic_version 1.0.2
|
||||||
|
|
||||||
Name: php-markdown
|
Name: php-markdown
|
||||||
Version: 1.5.0
|
Version: 1.6.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Markdown implementation in PHP
|
Summary: Markdown implementation in PHP
|
||||||
|
|
||||||
|
|
@ -14,6 +14,7 @@ Source1: http://littoral.michelf.ca/code/php-markdown/%{name}-%{classic_vers
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: %{_bindir}/phpab
|
||||||
|
|
||||||
Requires: php(language) >= 5.3
|
Requires: php(language) >= 5.3
|
||||||
Requires: php-pcre
|
Requires: php-pcre
|
||||||
|
|
@ -28,6 +29,8 @@ It is almost completely compliant with the reference implementation.
|
||||||
This packages provides the classic version %{classic_version} and the new
|
This packages provides the classic version %{classic_version} and the new
|
||||||
library version %{version}.
|
library version %{version}.
|
||||||
|
|
||||||
|
Autoloader: %{_datadir}/php/Michelf/markdown-autoload.php
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n 'PHP Markdown Lib %{version}' -a 1
|
%setup -q -n 'PHP Markdown Lib %{version}' -a 1
|
||||||
|
|
@ -44,7 +47,9 @@ mv "PHP Markdown Readme.text" ../classic/Readme.text
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Empty build
|
# Generate simple autoloader
|
||||||
|
%{_bindir}/phpab -o Michelf/markdown-autoload.php Michelf
|
||||||
|
cat Michelf/markdown-autoload.php
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
@ -73,6 +78,10 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 26 2015 Remi Collet <remi@fedoraproject.org> - 1.6.0-1
|
||||||
|
- Mardown PSR-0 library version 1.6.0
|
||||||
|
- add simple autoloader
|
||||||
|
|
||||||
* Mon Mar 2 2015 Remi Collet <remi@fedoraproject.org> - 1.5.0-1
|
* Mon Mar 2 2015 Remi Collet <remi@fedoraproject.org> - 1.5.0-1
|
||||||
- Mardown PSR-0 library version 1.5.0
|
- Mardown PSR-0 library version 1.5.0
|
||||||
- fix license handling
|
- fix license handling
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1,2 +1,2 @@
|
||||||
29b35c72e60d8ab92a5f7eedbe368cc3 php-markdown-1.0.2.zip
|
29b35c72e60d8ab92a5f7eedbe368cc3 php-markdown-1.0.2.zip
|
||||||
9d64211a9af4cf3c20c3aad8fe54ddb9 php-markdown-lib-1.5.0.zip
|
267bbe00a5362efa7f7be925e341ad81 php-markdown-lib-1.6.0.zip
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue