packages: wordpress/wordpress.spec - subpackage for plugins

glen glen at pld-linux.org
Wed Sep 8 17:03:21 CEST 2010


Author: glen                         Date: Wed Sep  8 15:03:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- subpackage for plugins

---- Files affected:
packages/wordpress:
   wordpress.spec (1.64 -> 1.65) 

---- Diffs:

================================================================
Index: packages/wordpress/wordpress.spec
diff -u packages/wordpress/wordpress.spec:1.64 packages/wordpress/wordpress.spec:1.65
--- packages/wordpress/wordpress.spec:1.64	Wed Sep  8 15:54:02 2010
+++ packages/wordpress/wordpress.spec	Wed Sep  8 17:03:13 2010
@@ -6,7 +6,7 @@
 Summary(pl.UTF-8):	Osobisty system publikacji
 Name:		wordpress
 Version:	3.0.1
-Release:	0.5
+Release:	0.6
 License:	GPL v2
 Group:		Applications/Publishing
 Source0:	http://wordpress.org/%{name}-%{version}.tar.gz
@@ -78,6 +78,16 @@
 po pierwszej instalacji. Potem należy go odinstalować, jako że
 pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
 
+%package plugin-akismet
+Summary:	Wordpress Akismet Plugin
+Group:		Applications/WWW
+Requires:	%{name} = %{version}-%{release}
+
+%description plugin-akismet
+Akismet checks your comments against the Akismet web service to see if
+they look like spam or not and lets you review the spam it catches
+under your blog's "Comments" admin screen.
+
 %package theme-twentyten
 Summary:	Wordpress MU default theme
 Group:		Applications/WWW
@@ -110,6 +120,9 @@
 rm wp-content/plugins/index.php
 rm wp-content/index.php
 
+# sample plugin
+rm wp-content/plugins/hello.php
+
 # Install new MagpieRSS
 # NOTE: this is deprecated, simplepie should be used instead
 cp -a %{SOURCE10} wp-includes/rss.php
@@ -201,9 +214,6 @@
 %lang(pl) %{_appdir}/wp-content/languages/pl_PL.mo
 %dir %{_appdir}/wp-content/plugins
 %dir %{_appdir}/wp-content/mu-plugins
-%{_appdir}/wp-content/plugins/*.php
-%{_appdir}/wp-content/plugins/akismet
-
 %dir %{_appdir}/wp-content/themes
 
 %files setup
@@ -214,6 +224,13 @@
 %{_appdir}/wp-setup.sh
 %{_appdir}/wp-admin
 
+%files plugin-akismet
+%defattr(644,root,root,755)
+%dir %{_appdir}/wp-content/plugins/akismet
+%doc %{_appdir}/wp-content/plugins/akismet/readme.txt
+%{_appdir}/wp-content/plugins/akismet/*.php
+%{_appdir}/wp-content/plugins/akismet/*.gif
+
 %files theme-twentyten
 %defattr(644,root,root,755)
 %{_appdir}/wp-content/themes/twentyten
@@ -224,6 +241,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.65  2010/09/08 15:03:13  glen
+- subpackage for plugins
+
 Revision 1.64  2010/09/08 13:54:02  glen
 - theme-twentyten subpackage
 - add config patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/wordpress/wordpress.spec?r1=1.64&r2=1.65&f=u



More information about the pld-cvs-commit mailing list