[packages/wordpress-plugin-bbpress] new, version 2.4.1
glen
glen at pld-linux.org
Fri Oct 11 13:58:57 CEST 2013
commit 6771d5737475894c1095866bfd0c4301b7f51481
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Oct 11 14:58:36 2013 +0300
new, version 2.4.1
wordpress-plugin-bbpress.spec | 57 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
---
diff --git a/wordpress-plugin-bbpress.spec b/wordpress-plugin-bbpress.spec
new file mode 100644
index 0000000..a77f0b5
--- /dev/null
+++ b/wordpress-plugin-bbpress.spec
@@ -0,0 +1,57 @@
+%define plugin bbpress
+%define php_min_version 5.2.0
+%include /usr/lib/rpm/macros.php
+Summary: bbPress is forum software, made the WordPress way
+Name: wordpress-plugin-%{plugin}
+Version: 2.4.1
+Release: 1
+License: GPL
+Group: Applications/WWW
+Source0: http://downloads.wordpress.org/plugin/bbpress.%{version}.zip
+# Source0-md5: 7b299cc13d1f1db3624b7f351083af24
+URL: http://wordpress.org/plugins/bbpress/
+BuildRequires: rpmbuild(macros) >= 1.553
+BuildRequires: unzip
+Requires: php(core) >= %{php_min_version}
+Requires: php(date)
+Requires: php(json)
+Requires: php(mbstring)
+Requires: php(pcre)
+Requires: php(xml)
+Requires: webapps
+Requires: webserver(php)
+Requires: wordpress >= 3.6
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define wp_root %{_datadir}/wordpress
+%define wp_content %{wp_root}/wp-content
+%define pluginsdir %{wp_content}/plugins
+%define plugindir %{pluginsdir}/%{plugin}
+
+%description
+bbPress is forum software, made the WordPress way.
+
+%prep
+%setup -qn %{plugin}
+
+rm languages/bbpress.pot
+find -name index.php | xargs rm
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{plugindir}
+cp -a . $RPM_BUILD_ROOT%{plugindir}
+%{__rm} $RPM_BUILD_ROOT%{plugindir}/{readme,humans,license}.txt
+rm -f $RPM_BUILD_ROOT%{plugindir}/debug*.list
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt humans.txt
+%dir %{plugindir}
+%{plugindir}/bbpress.php
+%{plugindir}/includes
+%{plugindir}/templates
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wordpress-plugin-bbpress.git/commitdiff/6771d5737475894c1095866bfd0c4301b7f51481
More information about the pld-cvs-commit
mailing list