packages: wpmu-plugin-spamfree/wpmu-plugin-spamfree.spec (NEW) - new

glen glen at pld-linux.org
Wed May 12 14:45:48 CEST 2010


Author: glen                         Date: Wed May 12 12:45:48 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/wpmu-plugin-spamfree:
   wpmu-plugin-spamfree.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/wpmu-plugin-spamfree/wpmu-plugin-spamfree.spec
diff -u /dev/null packages/wpmu-plugin-spamfree/wpmu-plugin-spamfree.spec:1.1
--- /dev/null	Wed May 12 14:45:48 2010
+++ packages/wpmu-plugin-spamfree/wpmu-plugin-spamfree.spec	Wed May 12 14:45:43 2010
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%define		package	wpmu
+%define		plugin	spamfree
+Summary:	WordPressMU SpamFree Anti-Spam
+Name:		wpmu-plugin-%{plugin}
+Version:	2.1.1.2
+Release:	0.1
+License:	GPL v2+
+Group:		Applications/Publishing
+Source0:	http://downloads.wordpress.org/plugin/wp-spamfree.zip
+# Source0-md5:	6bcd8e13affa6f9530758707e673fd2e
+URL:		http://wordpress.org/extend/plugins/wp-spamfree/
+BuildRequires:	rpmbuild(macros) >= 1.553
+BuildRequires:	sed >= 4.0
+Requires:	wpmu >= 2.1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		wp_root		%{_datadir}/wpmu
+%define		wp_content	%{wp_root}/wp-content
+%define		pluginsdir	%{wp_content}/plugins
+%define		plugindir	%{pluginsdir}/%{plugin}
+%define		_sysconfdir	/etc/webapps/wpmu
+
+%description
+An extremely powerful WordPress anti-spam plugin that eliminates blog
+comment spam, including trackback and pingback spam. Finally, you can
+enjoy a spam-free WordPress blog! Includes spam-free contact form
+feature as well.
+
+%prep
+%setup -qn wp-%{plugin}
+%undos readme.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{wp_content},%{pluginsdir},%{_sysconfdir}}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+rm $RPM_BUILD_ROOT%{plugindir}/readme.txt
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%{plugindir}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/05/12 12:45:43  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list