]> git.pld-linux.org Git - SPECS.git/blob - wpmu-plugin-blog-topics.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / wpmu-plugin-blog-topics.spec
1 %define         plugin  blog-topics
2 Summary:        WordPressMU Blog Topics Plugin
3 Name:           wpmu-plugin-%{plugin}
4 Version:        1.0
5 Release:        0.8
6 License:        GPL v2+
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
13 Patch2:         utf8.patch
14 BuildRequires:  rpmbuild(macros) >= 1.566
15 BuildRequires:  sed >= 4.0
16 BuildRequires:  unzip
17 Requires:       wpmu >= 2.9
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         wp_root         %{_datadir}/wpmu
22 %define         wp_content      %{wp_root}/wp-content
23 %define         pluginsdir      %{wp_content}/mu-plugins
24
25 %description
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.
31
32 %prep
33 %setup -qn %{plugin}
34 %undos readme.txt *.php
35 %patch0 -p1
36 %patch1 -p1
37 %patch2 -p1
38
39 %install
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}
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc readme.txt
50 %{pluginsdir}/*.php
51 %{pluginsdir}/cets_blog_topics
This page took 0.310141 seconds and 3 git commands to generate.