Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Remi Collet
add7455ebe v1.6.0 2015-12-28 07:23:08 +01:00
3 changed files with 13 additions and 3 deletions

1
.gitignore vendored
View file

@ -8,3 +8,4 @@ php-markdown-1.0.1n.zip
/php-markdown-lib-1.4.0.zip
/php-markdown-lib-1.4.1.zip
/php-markdown-lib-1.5.0.zip
/php-markdown-lib-1.6.0.zip

View file

@ -2,7 +2,7 @@
%global classic_version 1.0.2
Name: php-markdown
Version: 1.5.0
Version: 1.6.0
Release: 1%{?dist}
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)
BuildArch: noarch
BuildRequires: %{_bindir}/phpab
Requires: php(language) >= 5.3
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
library version %{version}.
Autoloader: %{_datadir}/php/Michelf/markdown-autoload.php
%prep
%setup -q -n 'PHP Markdown Lib %{version}' -a 1
@ -44,7 +47,9 @@ mv "PHP Markdown Readme.text" ../classic/Readme.text
%build
# Empty build
# Generate simple autoloader
%{_bindir}/phpab -o Michelf/markdown-autoload.php Michelf
cat Michelf/markdown-autoload.php
%install
@ -73,6 +78,10 @@ rm -rf %{buildroot}
%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
- Mardown PSR-0 library version 1.5.0
- fix license handling

View file

@ -1,2 +1,2 @@
29b35c72e60d8ab92a5f7eedbe368cc3 php-markdown-1.0.2.zip
9d64211a9af4cf3c20c3aad8fe54ddb9 php-markdown-lib-1.5.0.zip
267bbe00a5362efa7f7be925e341ad81 php-markdown-lib-1.6.0.zip