http://wordpress.org/extend/plugins/[WordPress plugins] are packaged for Fedora so that the plugin can be used for both and without requiring both.
Requirements for packaging
Use the link:#Specfile_template[specfile template]
Set `+plugin_name+` and `+plugin_human_name+` by appending the first two lines appropriately
`+plugin_name+` is the short name used in the URL for the plugin's page on wordpress.org
`+plugin_human_name+` is the full name of the plugin as displayed on the plugin's page on wordpress.org
Fill in the version of the package as it is displayed in the .zip filename
Fill in a package description in both places where it says "Your plugin's description goes here."
%global plugin_name stats
%global plugin_human_name WordPress.com Stats
The spec must be named `+wordpress-plugin-%{plugin_name}.spec+` as per the Packaging:NamingGuidelines[naming guidelines]
Remember to enter a changelog entry
Specfile template
%global plugin_name
%global plugin_human_name
Name: wordpress-plugin-%{plugin_name}
Release: 1%{?dist}
Summary: %{plugin_human_name} plugin for WordPress
Group: Applications/Publishing
# According to http://plugins.trac.wordpress.org/ all plugins are licensed
# under the GPL unless otherwise stated in the plugin source.
License: GPLv3+
URL: http://wordpress.org/extend/plugins/%{plugin_name}/
Source0: http://downloads.wordpress.org/plugin/%{plugin_name}.%{version}.zip
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: wordpress
BuildArch: noarch
Your plugin's description goes here.
This package is built for use with WordPress (wordpress), not WordPress MU. Use
wordpress-mu-plugin-%{plugin_name} for WordPress MU.