packages: wpmu-plugin-listem/wpmu-plugin-listem.spec (NEW) - new

glen glen at pld-linux.org
Wed May 12 15:25:24 CEST 2010


Author: glen                         Date: Wed May 12 13:25:24 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/wpmu-plugin-listem:
   wpmu-plugin-listem.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/wpmu-plugin-listem/wpmu-plugin-listem.spec
diff -u /dev/null packages/wpmu-plugin-listem/wpmu-plugin-listem.spec:1.1
--- /dev/null	Wed May 12 15:25:24 2010
+++ packages/wpmu-plugin-listem/wpmu-plugin-listem.spec	Wed May 12 15:25:19 2010
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define		plugin	listem
+Summary:	WordPressMU plugin to list alphabetically all public blogs in one page
+Name:		wpmu-plugin-%{plugin}
+Version:	0.1
+Release:	0.1
+License:	GPL v2+
+Group:		Applications/Publishing
+Source0:	http://wpmudev.org/download/738066546_Listem-%{version}.zip
+# Source0-md5:	2cd9d80d118c60111a8359aa37e1cfc4
+URL:		http://wpmudev.org/project/Listem
+BuildRequires:	rpmbuild(macros) >= 1.553
+BuildRequires:	sed >= 4.0
+BuildRequires:	unzip
+Requires:	wpmu >= 2.6
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		wp_root		%{_datadir}/wpmu
+%define		wp_content	%{wp_root}/wp-content
+%define		pluginsdir	%{wp_content}/mu-plugins
+%define		_sysconfdir	/etc/webapps/wpmu
+
+%description
+Listem is a WordPress MU plugin developed off of List-All plug-in for
+WordPress MU created by Andrew Billits
+
+This is an updated version that allows ordering alphabetically as
+well.
+
+%prep
+%setup -qc
+install -d wpmudev
+mv *.txt *.php wpmudev
+%{__unzip} -qq Listem-NA.zip
+# GPL v2
+rm -f license.txt
+mv {read-me,readme}.txt
+%undos readme.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{pluginsdir},%{_sysconfdir}}
+cp -a listem.php $RPM_BUILD_ROOT%{pluginsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%{pluginsdir}/*.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/05/12 13:25:19  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list