]> git.pld-linux.org Git - packages/wordpress.git/blobdiff - wordpress.spec
- upgraded to 2.3.3 (sec fixes),
[packages/wordpress.git] / wordpress.spec
index 0860e9ba19c7bd2a5c23e2ccbd0f21a214a130e1..9dca13658e8430e4221286c9d8a3fded0b2c1416 100644 (file)
@@ -4,17 +4,21 @@
 Summary:       Personal publishing system
 Summary(pl.UTF-8):     Osobisty system publikacji
 Name:          wordpress
-Version:       2.3
+Version:       2.3.3
 Release:       1
 License:       GPL
 Group:         Applications/Publishing
 Source0:       http://wordpress.org/latest.tar.gz
-# Source0-md5: 36ffea2a049a071342efda985feedf31
+# Source0-md5: 19518de1117aa68f0c3de84b6858efc3
 Source1:       wp-secure.sh
 Source2:       wp-setup.sh
 Source3:       wp-setup.txt
 Source4:       %{name}.conf
-Source5:        %{name}-lighttpd.conf
+Source5:       %{name}-lighttpd.conf
+Source6:       http://wordpress-polska.org/system/files/pl_PL_0.po
+# Source6-md5: 0b1d193435065c98e12ac188232f190f
+Source7:       http://wordpress-polska.org/system/files/pl_PL_0.mo
+# Source7-md5: 4ec7fff754ce3cbdccfde7fc58d98af6
 URL:           http://wordpress.org/
 Requires:      php(gettext)
 Requires:      php(mysql)
@@ -57,7 +61,7 @@ rm -f license.txt
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir},%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_bindir},%{_sysconfdir},%{_appdir}/wp-content/languages}
 
 cp -R * $RPM_BUILD_ROOT%{_appdir}
 rm -f $RPM_BUILD_ROOT%{_appdir}/readme.html
@@ -68,13 +72,15 @@ ln -sf %{_appdir}/wp-secure.sh $RPM_BUILD_ROOT%{_bindir}/wp-secure
 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf
 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/apache.conf
 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
+install %{SOURCE6} $RPM_BUILD_ROOT%{_appdir}/wp-content/languages/pl_PL.po
+install %{SOURCE7} $RPM_BUILD_ROOT%{_appdir}/wp-content/languages/pl_PL.mo
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
 if [ ! -f %{_appdir}/wp-config.php ]; then
-       install -uroot -ghttp -m640 %{_appdir}/wp-config-sample.php > %{_appdir}/wp-config.php
+       install -oroot -ghttp -m640 %{_appdir}/wp-config-sample.php %{_appdir}/wp-config.php
 
        %banner -e %{name} <<-EOF
        To finish your configuration DO NOT FORGET to:
@@ -125,6 +131,7 @@ fi
 %attr(640,root,http) %{_appdir}/wp-content/themes/default/*.css
 %attr(640,root,http) %{_appdir}/wp-content/themes/default/images/*
 %{_appdir}/wp-content/index.php
+%{_appdir}/wp-content/languages
 %{_appdir}/wp-content/themes/default/screenshot.png
 %{_appdir}/wp-admin
 %{_appdir}/wp-includes
@@ -133,4 +140,3 @@ fi
 %{_appdir}/wp-setup.sh
 %attr(755,root,root) %{_bindir}/wp-secure
 %attr(755,root,root) %{_bindir}/wp-setup
-      
This page took 0.039074 seconds and 4 git commands to generate.