packages: dokuwiki-plugin-comment/dokuwiki-plugin-comment.spec (NEW)=?UTF-8?Q?=20?=- new

glen glen at pld-linux.org
Wed Apr 25 10:33:08 CEST 2012


Author: glen                         Date: Wed Apr 25 08:33:08 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/dokuwiki-plugin-comment:
   dokuwiki-plugin-comment.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/dokuwiki-plugin-comment/dokuwiki-plugin-comment.spec
diff -u /dev/null packages/dokuwiki-plugin-comment/dokuwiki-plugin-comment.spec:1.1
--- /dev/null	Wed Apr 25 10:33:08 2012
+++ packages/dokuwiki-plugin-comment/dokuwiki-plugin-comment.spec	Wed Apr 25 10:33:03 2012
@@ -0,0 +1,62 @@
+# $Revision$, $Date$
+%define		plugin		comment
+%define		php_min_version 5.0.0
+%include	/usr/lib/rpm/macros.php
+Summary:	DokuWiki plugin to add Add comments/notes to your wiki source
+Name:		dokuwiki-plugin-%{plugin}
+Version:	20090206
+Release:	1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	https://github.com/dokufreaks/plugin-comment/tarball/2009-02-06/%{plugin}-%{version}.tgz
+# Source0-md5:	aded94aa800d880bf48a0f135ccc34a6
+URL:		http://www.dokuwiki.org/plugin:comment
+BuildRequires:	rpm-php-pearprov >= 4.4.2-11
+BuildRequires:	rpmbuild(macros) >= 1.520
+Requires:	dokuwiki >= 20061106
+Requires:	php-common >= 4:%{php_min_version}
+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}
+
+%description
+This tiny plugin allows you to leave notes to yourself (and other
+authors of your wiki) in the wiki source code that won't be shown on
+the wiki page. The syntax is like C and PHP.
+
+%prep
+%setup -qc
+mv *-%{plugin}-*/* .
+
+version=$(cat VERSION)
+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}/{COPYING,README,VERSION}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%dir %{plugindir}
+%{plugindir}/*.php
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/04/25 08:33:03  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list