1 %define plugin blog-topics
2 Summary: WordPressMU Blog Topics Plugin
3 Name: wpmu-plugin-%{plugin}
7 Group: Applications/Publishing
8 Source0: http://downloads.wordpress.org/plugin/blog-topics.zip
9 # Source0-md5: 3bb901ee63ce4c623e33b55c9f6b504b
10 URL: http://wordpress.org/extend/plugins/blog-topics/
11 Patch0: current_topic.patch
12 Patch1: localization.patch
14 BuildRequires: rpmbuild(macros) >= 1.566
15 BuildRequires: sed >= 4.0
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define wp_root %{_datadir}/wpmu
22 %define wp_content %{wp_root}/wp-content
23 %define pluginsdir %{wp_content}/mu-plugins
26 This plugin creates site-wide topics. Each blog can be identified as
27 belonging to a single topic. Blog owners can select a topic for their
28 blog at creation time, and through a menu under settings. Blog owners
29 can also choose whether or not to include their content in any
30 site-wide aggregated content via the Blog Topics Settings menu.
34 %undos readme.txt *.php
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{%{wp_content},%{pluginsdir}}
42 cp -a cets_blogtopics.php cets_blog_topics $RPM_BUILD_ROOT%{pluginsdir}
45 rm -rf $RPM_BUILD_ROOT
48 %defattr(644,root,root,755)
51 %{pluginsdir}/cets_blog_topics