Compare commits

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

4 commits

Author SHA1 Message Date
Fedora Release Engineering
16a6607f49 dist-git conversion 2010-07-29 08:56:23 +00:00
Bill Nottingham
90aa464b51 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:58:43 +00:00
Rakesh Pandit
cb3c944fe2 Initial import. 2009-06-08 03:59:22 +00:00
Jason ティビツ
e2d97cc21a Initialize branch F-11 for php-markdown 2009-05-26 22:07:27 +00:00
5 changed files with 48 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
php-markdown-1.0.1m.zip

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: php-markdown
# $Id$
NAME := php-markdown
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

46
php-markdown.spec Normal file
View file

@ -0,0 +1,46 @@
Name: php-markdown
Version: 1.0.1m
Release: 2%{?dist}
Summary: Markdown implementation in PHP
Group: Development/Languages
License: BSD
URL: http://michelf.com/projects/php-markdown/
Source0: http://michelf.com/docs/projets/%{name}-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: php
%description
This is a PHP implementation of John Gruber's Markdown. This is a
Python implementation of John Gruber's Markdown. It is almost
completely compliant with the reference implementation.
%prep
%setup -q -n 'PHP Markdown 1.0.1m'
%build
# Empty build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/php/
install -p -m 644 markdown.php $RPM_BUILD_ROOT%{_datadir}/php/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc License.text 'PHP Markdown Readme.text'
%{_datadir}/php/markdown.php
%changelog
* Sun May 24 2009 Rakesh Pandit <rakesh@fedoraproject.irg> 1.0.1m-2
- Fixed mixed use of space and tabs, using install in place of cp
* Sun May 24 2009 Rakesh Pandit <rakesh@fedoraproject.org> 1.0.1m-1
- Initial package

View file

@ -0,0 +1 @@
0111093efcb81e455e7bbd959d4cff54 php-markdown-1.0.1m.zip