]> git.pld-linux.org Git - SPECS.git/blob - wpmu-plugin-unfiltered.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / wpmu-plugin-unfiltered.spec
1 %define         plugin  unfiltered
2 Summary:        unfiltered-html capability for WordPress
3 Name:           wpmu-plugin-%{plugin}
4 Version:        1.2
5 Release:        1
6 License:        Unknown, but it safe to assume, it's under wordpress' license (GPL)
7 Group:          Applications/Publishing
8 URL:            http://wordpress.org/extend/plugins/unfiltered-mu/
9 Source0:        http://downloads.wordpress.org/plugin/unfiltered-mu.zip
10 # Source0-md5:  323784d2024f2d8e6e45113f3313a456
11 BuildRequires:  unzip
12 Requires:       wpmu >= 2.8.4
13 Obsoletes:      wordpress-plugin-unfiltered-mu
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         wp_root         %{_datadir}/wpmu
18 %define         wp_content      %{wp_root}/wp-content
19 %define         pluginsdir      %{wp_content}/mu-plugins
20
21 %description
22 Unfiltered MU gives Administrators and Editors the unfiltered_html
23 capability. This prevents WordPress MU from stripping <iframe>,
24 <embed>, etc. from these users' posts. Authors and Contributors do not
25 get this capability for security reasons.
26
27 Warning! This is a very dangerous plugin to activate if you have
28 untrusted users on your site. Any user could add Javascript code to
29 steal the login cookies of any visitor who runs a blog on the same
30 site. The rogue user can then inpersonate any of those users and wreak
31 havoc. If all you want is to display videos on your WordPress MU
32 blogs, use Viper's Video Quicktags or any of the other video plugins
33 on WordPress.org.
34
35 The plugin can either be used globally for your entire MU site, or it
36 can be applied on a blog-by-blog basis.
37
38 %prep
39 %setup -q -n unfiltered-mu
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{pluginsdir}
44 cp -a unfiltered-mu.php $RPM_BUILD_ROOT%{pluginsdir}
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc readme.txt
52 %{pluginsdir}/unfiltered-mu.php
This page took 0.365175 seconds and 3 git commands to generate.