- new auto/ti/dokuwiki-plugin-pagelist-20080808-1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 27 Aug 2008 10:32:55 +0000 (10:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dokuwiki-plugin-pagelist.spec -> 1.1

dokuwiki-plugin-pagelist.spec [new file with mode: 0644]

diff --git a/dokuwiki-plugin-pagelist.spec b/dokuwiki-plugin-pagelist.spec
new file mode 100644 (file)
index 0000000..55fd175
--- /dev/null
@@ -0,0 +1,50 @@
+%define                plugin          pagelist
+Summary:       DokuWiki Pagelist Plugin
+Name:          dokuwiki-plugin-%{plugin}
+Version:       20080808
+Release:       1
+License:       GPL v2
+Group:         Applications/WWW
+Source0:       http://www.chimeric.de/_src/plugin-pagelist.tgz
+# Source0-md5: fd632aca9688a48c682a1ebdfe1e2aba
+Source1:       dokuwiki-find-lang.sh
+URL:           http://www.dokuwiki.org/plugin:pagelist
+Requires:      dokuwiki >= 20061106
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                dokudir         /usr/share/dokuwiki
+%define                plugindir       %{dokudir}/lib/plugins/%{plugin}
+
+%description
+The Pagelist Plugin does – as its name says – list wiki pages in a
+nice way. Besides its function as a stand-alone syntax plugin, it
+serves as helper plugin for the Blog, Discussion, Editor, Tag, Task
+and Dir plugins.
+
+%prep
+%setup -q -n %{plugin}
+if [ $(cat VERSION | tr -d -) != %{version} ]; then
+       : %%{version} mismatch, should be: $(cat VERSION | tr -d -)
+       exit 1
+fi
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+rm -f $RPM_BUILD_ROOT%{plugindir}/{COPYING,README,VERSION}
+
+# find locales
+sh %{SOURCE1} %{name}.lang
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc README
+%dir %{plugindir}
+%{plugindir}/*.php
+%{plugindir}/*.css
+%{plugindir}/conf
This page took 0.126196 seconds and 4 git commands to generate.