]>
Commit | Line | Data |
---|---|---|
c1d63b91 ER |
1 | %define modname profile_pages |
2 | Summary: Drupal Site Profile Directory Module | |
3 | Name: drupal-mod-%{modname} | |
4 | Version: 4.6.0 | |
5 | Release: 0.1 | |
6 | License: GPL v2 | |
7 | Group: Applications/WWW | |
8 | Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz | |
9 | # Source0-md5: c47bcd90ead10832acc90771922016f6 | |
10 | URL: http://drupal.org/node/24879 | |
11 | Requires: drupal >= 4.6.0 | |
12 | BuildArch: noarch | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %define _drupaldir %{_datadir}/drupal | |
16 | %define _moddir %{_drupaldir}/modules | |
17 | ||
18 | %description | |
19 | A module that lists every user on the site with a certain | |
20 | profile_field filled in, similar to a site directory of users with | |
21 | that information listed (i.e., users with an AOL Instant Messenger or | |
22 | XFire account). | |
23 | ||
24 | %prep | |
25 | %setup -q -n %{modname} | |
26 | rm -f LICENSE.txt # GPL v2 | |
27 | ||
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
30 | install -d $RPM_BUILD_ROOT%{_moddir} | |
31 | ||
32 | install *.module $RPM_BUILD_ROOT%{_moddir} | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc *.txt | |
40 | %{_moddir}/*.module |