From 79fcb4e0126ff45ae29492a3acce61e62e96257a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 2 Jul 2009 05:01:48 +0000 Subject: [PATCH 1/4] Initialize branch EL-5 for wordpress-mu-plugin-defaults --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..42f697a --- /dev/null +++ b/branch @@ -0,0 +1 @@ +EL-5 From 961b45def0db3a91652403d347ef7b802a870ce8 Mon Sep 17 00:00:00 2001 From: Nick Bebout Date: Thu, 2 Jul 2009 05:18:44 +0000 Subject: [PATCH 2/4] Initial Fedora package for this plugin based on 1.2.3 of upstream --- .cvsignore | 1 + import.log | 1 + sources | 1 + wordpress-mu-plugin-defaults.spec | 55 +++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 import.log create mode 100644 wordpress-mu-plugin-defaults.spec diff --git a/.cvsignore b/.cvsignore index e69de29..44d8c1d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +503434057_cets_new_blog_defaults.zip diff --git a/import.log b/import.log new file mode 100644 index 0000000..15e6f64 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +wordpress-mu-plugin-defaults-1_2_3-3_fc11:EL-5:wordpress-mu-plugin-defaults-1.2.3-3.fc11.src.rpm:1246511815 diff --git a/sources b/sources index e69de29..487d2f0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b0ecafbc0ccdf226046474aab0d7f7a7 503434057_cets_new_blog_defaults.zip diff --git a/wordpress-mu-plugin-defaults.spec b/wordpress-mu-plugin-defaults.spec new file mode 100644 index 0000000..0737f44 --- /dev/null +++ b/wordpress-mu-plugin-defaults.spec @@ -0,0 +1,55 @@ +%global plugin_name defaults +%global plugin_human_name Wordpress MU new blog defaults + +Name: wordpress-mu-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: 1.2.3 +Release: 3%{?dist} +Summary: %{plugin_human_name} plugin for WordPress MU + +Group: Applications/Publishing +License: GPLv2+ +URL: http://wpmudev.org/project/New-Blog-Defaults +Source0: http://wpmudev.org/download/503434057_cets_new_blog_defaults.zip +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +Requires: wordpress-mu +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 MU (wordpress-mu), +not regular WordPress. + +%prep +%setup -q -c + +%build + + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_datadir}/wordpress-mu/wp-content/mu-plugins/ +sed -e 's/\r//g' readme.txt > readme.txt.fixed && mv readme.txt.fixed readme.txt +cp -a cets_blog_defaults.php %{buildroot}%{_datadir}/wordpress-mu/wp-content/mu-plugins/ + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_datadir}/wordpress-mu/wp-content/mu-plugins/cets_blog_defaults.php +%doc readme.txt + +%changelog +* 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 + From 17dc1858a4144d70eb75067354463d6db5d925ac Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:18:13 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4d02e52..55bcda8 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: wordpress-mu-plugin-defaults -# $Id$ +# $Id: Makefile,v 1.1 2009/07/02 05:01:44 kevin Exp $ NAME := wordpress-mu-plugin-defaults SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 4cc44cbef210460c4b3eed39795cd1dc6dca543f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:24:03 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 55bcda8..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: wordpress-mu-plugin-defaults -# $Id: Makefile,v 1.1 2009/07/02 05:01:44 kevin Exp $ -NAME := wordpress-mu-plugin-defaults -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 42f697a..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -EL-5 diff --git a/import.log b/import.log deleted file mode 100644 index 15e6f64..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -wordpress-mu-plugin-defaults-1_2_3-3_fc11:EL-5:wordpress-mu-plugin-defaults-1.2.3-3.fc11.src.rpm:1246511815