Compare commits

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

2 commits

Author SHA1 Message Date
Remi Collet
c23b47edf4 udpate to 1.4.1 2014-05-06 14:53:56 +02:00
Remi Collet
3ea1f0548d - Mardown PSR-0 library version 1.4.0 (sources 1.2.8)
- Mardown classic library version 1.0.2
2013-12-02 10:30:08 +01:00
3 changed files with 26 additions and 12 deletions

5
.gitignore vendored
View file

@ -1,6 +1,9 @@
clog clog
*spec~ php-markdown.spec~
php-markdown-1.0.1n.zip php-markdown-1.0.1n.zip
/php-markdown-1.0.1p.zip /php-markdown-1.0.1p.zip
/php-markdown-1.0.1q.zip /php-markdown-1.0.1q.zip
/php-markdown-lib-1.3.zip /php-markdown-lib-1.3.zip
/php-markdown-1.0.2.zip
/php-markdown-lib-1.4.0.zip
/php-markdown-lib-1.4.1.zip

View file

@ -1,17 +1,18 @@
# Yes ugly: tarball version is not library version # Yes ugly: library version is not sources version
%global tarball_version 1.3 # https://github.com/michelf/php-markdown/issues/137
%global source_version 1.4.1
# We still provide the classic library, for now # We still provide the classic library, for now
%global classic_version 1.0.1q %global classic_version 1.0.2
Name: php-markdown Name: php-markdown
Version: 1.2.7 Version: 1.4.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: Markdown implementation in PHP Summary: Markdown implementation in PHP
Group: Development/Languages Group: Development/Languages
License: BSD License: BSD
URL: http://michelf.com/projects/php-markdown/ URL: http://michelf.com/projects/php-markdown/
Source0: http://littoral.michelf.ca/code/php-markdown/%{name}-lib-%{tarball_version}.zip Source0: http://littoral.michelf.ca/code/php-markdown/%{name}-lib-%{version}.zip
Source1: http://littoral.michelf.ca/code/php-markdown/%{name}-%{classic_version}.zip Source1: http://littoral.michelf.ca/code/php-markdown/%{name}-%{classic_version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -26,15 +27,16 @@ This is a PHP implementation of John Gruber's Markdown.
It is almost completely compliant with the reference implementation. 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} (distributed in the %{tarball_version} archive). library version %{version}.
%prep %prep
%setup -q -n 'PHP Markdown Lib %{version}' -a 1 %setup -q -n 'PHP Markdown Lib %{source_version}' -a 1
# documentation # documentation
mkdir library mkdir library
mv License.* Readme.* library mv License.* Readme.* composer.json library
mkdir classic mkdir classic
cd "PHP Markdown %{classic_version}" cd "PHP Markdown %{classic_version}"
mv License.text ../classic mv License.text ../classic
@ -62,12 +64,21 @@ rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc library classic %doc library classic
# Classic version
%{_datadir}/php/markdown.php %{_datadir}/php/markdown.php
# Library version
%{_datadir}/php/Michelf %{_datadir}/php/Michelf
%changelog %changelog
* Sat Jun 15 2013 Remi Collet <remi@fedoraproject.org> - 1.2.7 * Tue May 6 2014 Remi Collet <remi@fedoraproject.org> - 1.4.1-1
- Mardown PSR-0 library version 1.4.1
* Mon Dec 02 2013 Remi Collet <remi@fedoraproject.org> - 1.4.0-1
- Mardown PSR-0 library version 1.4.0 (sources 1.2.8)
- Mardown classic library version 1.0.2
* Sat Jun 15 2013 Remi Collet <remi@fedoraproject.org> - 1.2.7-1
- Mardown PSR-0 library version 1.2.7 (added) - Mardown PSR-0 library version 1.2.7 (added)
- Mardown classic library version 1.0.1q (updated) - Mardown classic library version 1.0.1q (updated)

View file

@ -1,2 +1,2 @@
4a74c6d7e8dbc1d3674a813439c088e6 php-markdown-1.0.1q.zip 29b35c72e60d8ab92a5f7eedbe368cc3 php-markdown-1.0.2.zip
09d2c2ceabd39f40680dc134dbc7fd0a php-markdown-lib-1.3.zip b208374a0682dc03781a5452d07dec58 php-markdown-lib-1.4.1.zip