]>
Commit | Line | Data |
---|---|---|
412d0f01 ER |
1 | Summary: Open source content management platform |
2 | Name: drupal | |
3 | Version: 4.6.0 | |
4 | Release: 0.1 | |
5 | Epoch: 0 | |
6 | License: GPL | |
7 | Group: Applications/WWW | |
8 | Source0: http://drupal.org/files/projects/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: cba80c4f511284b09d6a0a2def5cb250 | |
10 | URL: http://drupal.org/ | |
11 | BuildArch: noarch | |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %define _appdir %{_datadir}/%{name} | |
15 | %define _sysconfdir /etc/%{name} | |
16 | ||
17 | %description | |
18 | Drupal is software that allows an individual or a community of users | |
19 | to easily publish, manage and organize a great variety of content on a | |
20 | website. Tens of thousands of people and organizations have used | |
21 | Drupal to set up scores of different kinds of web sites, including | |
22 | - community web portals and discussion sites | |
23 | - corporate web sites/intranet portals | |
24 | - personal web sites | |
25 | - afficionado sites | |
26 | - e-commerce applications | |
27 | - resource directories | |
28 | ||
29 | Drupal includes features to enable | |
30 | - content management systems | |
31 | - blogs | |
32 | - collaborative authoring environments | |
33 | - forums | |
34 | - newsletters | |
35 | - picture galleries | |
36 | - file uploads and download | |
37 | ||
38 | and much more. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | ||
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | install -d $RPM_BUILD_ROOT{%{_appdir}/htdocs,%{_sysconfdir}} | |
48 | ||
49 | cp -a *.ico index.php $RPM_BUILD_ROOT%{_appdir}/htdocs | |
50 | cp -a themes misc $RPM_BUILD_ROOT%{_appdir}/htdocs | |
51 | ||
52 | cp -a cron.php $RPM_BUILD_ROOT%{_appdir} | |
53 | cp -a includes modules scripts sites $RPM_BUILD_ROOT%{_appdir} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
60 | %doc *.txt database | |
61 | %dir %{_appdir} | |
62 | %{_appdir}/*.php | |
63 | %{_appdir}/htdocs | |
64 | %{_appdir}/includes | |
65 | %{_appdir}/modules | |
66 | %{_appdir}/scripts | |
67 | %{_appdir}/sites |