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