packages: wpmu-plugin-blog-topics/wpmu-plugin-blog-topics.spec (NEW) - initial

glen glen at pld-linux.org
Wed May 12 14:59:09 CEST 2010


Author: glen                         Date: Wed May 12 12:59:09 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: packages/wpmu-plugin-blog-topics/wpmu-plugin-blog-topics.spec
diff -u /dev/null packages/wpmu-plugin-blog-topics/wpmu-plugin-blog-topics.spec:1.1
--- /dev/null	Wed May 12 14:59:09 2010
+++ packages/wpmu-plugin-blog-topics/wpmu-plugin-blog-topics.spec	Wed May 12 14:59:03 2010
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+%define		plugin	blog-topics
+Summary:	WordPressMU Blog Topics Plugin
+Name:		wpmu-plugin-%{plugin}
+Version:	1.0
+Release:	0.1
+License:	GPL v2+
+Group:		Applications/Publishing
+Source0:	http://downloads.wordpress.org/plugin/blog-topics.zip
+# Source0-md5:	3bb901ee63ce4c623e33b55c9f6b504b
+URL:		http://wordpress.org/extend/plugins/blog-topics/
+BuildRequires:	rpmbuild(macros) >= 1.553
+BuildRequires:	sed >= 4.0
+Requires:	wpmu >= 2.9
+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}/mu-plugins
+%define		_sysconfdir	/etc/webapps/wpmu
+
+%description
+This plugin creates site-wide topics. Each blog can be identified as
+belonging to a single topic. Blog owners can select a topic for their
+blog at creation time, and through a menu under settings. Blog owners
+can also choose whether or not to include their content in any
+site-wide aggregated content via the Blog Topics Settings menu.
+
+%prep
+%setup -qn %{plugin}
+%undos readme.txt
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{wp_content},%{pluginsdir},%{_sysconfdir}}
+cp -a cets_blogtopics.php cets_blog_topics $RPM_BUILD_ROOT%{pluginsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%{pluginsdir}/*.php
+%{pluginsdir}/cets_blog_topics
+
+%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:59:03  glen
+- initial
================================================================


More information about the pld-cvs-commit mailing list