[packages/dokuwiki-plugin-markdownextra] new, version 20101106

glen glen at pld-linux.org
Tue Oct 30 17:06:39 CET 2012


commit 1cac8fe5c2486cbc62413468fd1261f13b35c583
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Oct 30 18:06:03 2012 +0200

    new, version 20101106

 dokuwiki-plugin-markdownextra.spec | 57 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
---
diff --git a/dokuwiki-plugin-markdownextra.spec b/dokuwiki-plugin-markdownextra.spec
new file mode 100644
index 0000000..6687384
--- /dev/null
+++ b/dokuwiki-plugin-markdownextra.spec
@@ -0,0 +1,57 @@
+%define		plugin	markdownextra
+%define		php_min_version 5.0.0
+%include	/usr/lib/rpm/macros.php
+Summary:	DokuWiki Markdown Extra plugin
+Name:		dokuwiki-plugin-%{plugin}
+Version:	20101106
+Release:	1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://madpropellerhead.com/projects/markdownextra.tgz
+# Source0-md5:	3e703cbfe84108e252c354009a304cd2
+URL:		http://www.dokuwiki.org/plugin:markdownextra
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.553
+Requires:	dokuwiki >= 20091225
+Requires:	php-common >= 4:%{php_min_version}
+Requires:	php-pcre
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		dokuconf	/etc/webapps/dokuwiki
+%define		dokudir		/usr/share/dokuwiki
+%define		plugindir	%{dokudir}/lib/plugins/%{plugin}
+%define		find_lang 	%{_usrlibrpm}/dokuwiki-find-lang.sh %{buildroot}
+
+%define		_noautopear	pear
+%define		_noautoreq	%{?_noautophp} %{?_noautopear}
+
+%description
+Parses PHP Markdown Extra blocks.
+
+%prep
+%setup -qc
+mv %{plugin}/* .
+%undos -f txt,php
+
+version=$(awk '/^date/{print $2}' plugin.info.txt)
+if [ "$(echo "$version" | tr -d -)" != %{version} ]; then
+	: %%{version} mismatch
+	exit 1
+fi
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+%{__rm} $RPM_BUILD_ROOT%{plugindir}/License.text
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc License.text
+%dir %{plugindir}
+%{plugindir}/*.php
+%{plugindir}/*.txt
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dokuwiki-plugin-markdownextra.git/commitdiff/1cac8fe5c2486cbc62413468fd1261f13b35c583



More information about the pld-cvs-commit mailing list