packages: dokuwiki-plugin-orphanswanted/dokuwiki-plugin-orphanswanted.spec ...

glen glen at pld-linux.org
Fri Sep 10 13:34:43 CEST 2010


Author: glen                         Date: Fri Sep 10 11:34:43 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/dokuwiki-plugin-orphanswanted/dokuwiki-plugin-orphanswanted.spec
diff -u /dev/null packages/dokuwiki-plugin-orphanswanted/dokuwiki-plugin-orphanswanted.spec:1.1
--- /dev/null	Fri Sep 10 13:34:43 2010
+++ packages/dokuwiki-plugin-orphanswanted/dokuwiki-plugin-orphanswanted.spec	Fri Sep 10 13:34:38 2010
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+%define		plugin		orphanswanted
+Summary:	DokuWiki plugin to find orphan pages, Wanted pages with reference counts
+Name:		dokuwiki-plugin-%{plugin}
+Version:	20100411
+Release:	0.1
+License:	GPL v2
+Group:		Applications/WWW
+Source0:	http://github.com/downloads/andywebber/dokuwiki-plugin-orphanswanted/orphanswanted.zip
+# Source0-md5:	50e45168d9ac8d3bf7e663f4f274f57a
+URL:		http://www.dokuwiki.org/plugin:orphanswanted
+BuildRequires:	rpmbuild(macros) >= 1.520
+Requires:	dokuwiki >= 20091225
+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}
+
+%description
+Use this plugin to find orphan pages and wanted pages.
+
+OrphansWanted show which pages are:
+- Orphans (the page exists, but it has no links to it)
+- Wanted (the page does not exist, but there are link(s) to it
+  elsewhere on the site)
+- Valid (the page exists, and it can be reached through a link)
+
+Each table shows the reference count and a link to backlinks.
+
+%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  2010/09/10 11:34:38  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list