]> git.pld-linux.org Git - packages/wordpress.git/blob - wordpress.spec
- prepared for per-user instances
[packages/wordpress.git] / wordpress.spec
1 Summary:        Personal publishing system
2 Summary(pl):    Osobisty system publikacji
3 Name:           wordpress
4 Version:        1.5
5 Release:        1
6 License:        GPL
7 Group:          Applications/Publishing
8 Source0:        http://wordpress.org/latest.tar.gz
9 # Source0-md5:  df6dc18a7a0d93fa6bb187eb48b41612
10 URL:            http://wordpress.org/
11 Requires:       php >= 4.1
12 Requires:       php-gettext >= 5.0
13 Requires:       php-mysql >= 5.0
14 Requires:       php-pcre >= 5.0
15 Requires:       php-xml >= 5.0
16 Requires:       php-xmlrpc >= 5.0
17 Requires:       webserver
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define wordpressdir    /home/services/httpd/html/wordpress
22
23 %description
24 WordPress is a state-of-the-art semantic personal publishing platform
25 with a focus on aesthetics, web standards, and usability. WordPress
26 was born out of a desire for an elegant, well-architectured personal
27 publishing system (also called blog or weblog) built on PHP and MySQL
28 and licensed under the GPL. It is the official successor of
29 b2/cafelog. WordPress is fresh software, but its roots and development
30 go back to 2001.
31
32 %description -l pl
33 WordPress jest technologicznie dopracowan±, semantyczn±, osobist±
34 platform± do publikacji k³ad±c± nacisk na standardy WWW oraz
35 u¿yteczno¶æ. WordPress zosta³ stworzony w wyniku potrzeby
36 eleganckiego, dobrze zaprojektowanego, osobistego systemu publikacji
37 (nazywanego równie¿ blogiem czy weblogiem). Jest to system oparty
38 o PHP i MySQL oraz na licencji GPL. Jest oficjalnym nastêpc± b2/cafelog.
39 WordPress jest nowym oprogramowaniem, ale jego korzenie i rozwój
40 siêgaj± 2001 roku.
41
42 %prep
43 %setup -q -n %{name}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{wordpressdir}
48
49 rm -f license.txt
50 cp -R * $RPM_BUILD_ROOT%{wordpressdir}
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post
56 if [ ! -f %{wordpressdir}/wp-config.php ]; then
57         cp -pf %{wordpressdir}/wp-config-sample.php %{wordpressdir}/wp-config.php
58         echo "To finish your configuration DO NOT FORGET to:"
59         echo
60         echo "1.) Edit the file: %{wordpressdir}/wp-config.php"
61         echo "2.) Run a browser and visit: http://`hostname`/wordpress/wp-admin/install.php"
62 fi
63
64 %files
65 %defattr(640,root,http,750)
66 %doc %attr(755,root,root) readme.html
67 %dir %{wordpressdir}
68 %{wordpressdir}/wp-admin
69 %{wordpressdir}/wp-content
70 %{wordpressdir}/wp-images
71 %{wordpressdir}/wp-includes
72 %{wordpressdir}/*.php
This page took 0.10252 seconds and 4 git commands to generate.