%global plugin_name defaults %global plugin_human_name Wordpress blog defaults Name: wordpress-plugin-%{plugin_name} # This does not come from wordpress.org, so I made my own plugin_name and plugin_human_name # I spoke to ianweller about this and he said just to comment the spec file Version: 2.1 Release: 1%{?dist} Summary: %{plugin_human_name} plugin for WordPress Group: Applications/Publishing License: GPLv2+ URL: http://wordpress.org/extend/plugins/wpmu-new-blog-defaults/ Source0: http://downloads.wordpress.org/plugin/wpmu-new-blog-defaults.zip BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Requires: wordpress Obsoletes: wordpress-mu-plugin-defaults < 1.2.3-5 BuildArch: noarch %description This package allows you to set various defaults to automatically apply to new blogs, such as the default theme, etc. This package is built for use with WordPress %prep %setup -q -c %build %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/wordpress/wp-content/plugins/ cp -a wpmu-new-blog-defaults/cets_blog_defaults.php %{buildroot}%{_datadir}/wordpress/wp-content/plugins/ %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{_datadir}/wordpress/wp-content/plugins/cets_blog_defaults.php %doc wpmu-new-blog-defaults/readme.txt %changelog * Sat Dec 25 2010 Clint Savage - 2.1-1 - Changing from wordpress-mu to wordpress per all-in-one wordpress after wp3.0 * Mon Jul 27 2009 Fedora Release Engineering - 1.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Jul 1 2009 Nick Bebout - 1.2.3-3 - Adding changelog entry because 1.2.3-2 was missing one * Wed Jul 1 2009 Nick Bebout - 1.2.3-2 - Fixing description * Sun Jun 21 2009 Nick Bebout - 1.2.3-1 - Initial Fedora package for this plugin based on 1.2.3 of upstream