packages: wpmu-plugin-unfiltered/wpmu-plugin-unfiltered.spec - rename to wp...
glen
glen at pld-linux.org
Mon May 17 11:46:42 CEST 2010
Author: glen Date: Mon May 17 09:46:42 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rename to wpmu, unify with wpmu plugins
---- Files affected:
packages/wpmu-plugin-unfiltered:
wpmu-plugin-unfiltered.spec (1.3 -> 1.4)
---- Diffs:
================================================================
Index: packages/wpmu-plugin-unfiltered/wpmu-plugin-unfiltered.spec
diff -u packages/wpmu-plugin-unfiltered/wpmu-plugin-unfiltered.spec:1.3 packages/wpmu-plugin-unfiltered/wpmu-plugin-unfiltered.spec:1.4
--- packages/wpmu-plugin-unfiltered/wpmu-plugin-unfiltered.spec:1.3 Sun May 16 15:41:51 2010
+++ packages/wpmu-plugin-unfiltered/wpmu-plugin-unfiltered.spec Mon May 17 11:46:37 2010
@@ -1,6 +1,7 @@
# $Revision$, $Date$
+%define plugin unfiltered
Summary: unfiltered-html capability for WordPress
-Name: wordpress-plugin-unfiltered-mu
+Name: wpmu-plugin-%{plugin}
Version: 1.2
Release: 1
License: Unknown, but it safe to assume, it's under wordpress' license (GPL)
@@ -9,13 +10,14 @@
Source0: http://downloads.wordpress.org/plugin/unfiltered-mu.zip
# Source0-md5: 323784d2024f2d8e6e45113f3313a456
BuildRequires: unzip
-Requires: wordpress
+Requires: wpmu >= 2.8.4
+Obsoletes: wordpress-plugin-unfiltered-mu
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define wordpressdir %{_datadir}/wordpress
-%define pluginssubdir wp-content/plugins
-%define pluginsdir %{wordpressdir}/%{pluginssubdir}
+%define wp_root %{_datadir}/wpmu
+%define wp_content %{wp_root}/wp-content
+%define pluginsdir %{wp_content}/mu-plugins
%description
Unfiltered MU gives Administrators and Editors the unfiltered_html
@@ -34,16 +36,13 @@
The plugin can either be used globally for your entire MU site, or it
can be applied on a blog-by-blog basis.
-For WordPress MU only. Regular WordPress already offers this feature
-and does not need this plugin.
-
%prep
%setup -q -n unfiltered-mu
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{wordpressdir} $RPM_BUILD_ROOT%{pluginsdir}
-cp -a unfiltered-mu.php $RPM_BUILD_ROOT%{pluginsdir}/unfiltered-mu.php
+install -d $RPM_BUILD_ROOT%{pluginsdir}
+cp -a unfiltered-mu.php $RPM_BUILD_ROOT%{pluginsdir}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -59,6 +58,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.4 2010/05/17 09:46:37 glen
+- rename to wpmu, unify with wpmu plugins
+
Revision 1.3 2010/05/16 13:41:51 sparky
- BR: unzip
@@ -67,4 +69,3 @@
Revision 1.1 2010/04/27 23:52:16 pawelz
- initial
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wpmu-plugin-unfiltered/wpmu-plugin-unfiltered.spec?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list