]>
Commit | Line | Data |
---|---|---|
c1d63b91 ER |
1 | %define modname profile_pages |
2 | Summary: Drupal Site Profile Directory Module | |
9675c625 | 3 | Summary(pl.UTF-8): Moduł katalogu profili dla Drupala |
c1d63b91 ER |
4 | Name: drupal-mod-%{modname} |
5 | Version: 4.6.0 | |
6 | Release: 0.1 | |
7 | License: GPL v2 | |
8 | Group: Applications/WWW | |
9 | Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz | |
10 | # Source0-md5: c47bcd90ead10832acc90771922016f6 | |
11 | URL: http://drupal.org/node/24879 | |
12 | Requires: drupal >= 4.6.0 | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _drupaldir %{_datadir}/drupal | |
17 | %define _moddir %{_drupaldir}/modules | |
18 | ||
19 | %description | |
20 | A module that lists every user on the site with a certain | |
21 | profile_field filled in, similar to a site directory of users with | |
22 | that information listed (i.e., users with an AOL Instant Messenger or | |
23 | XFire account). | |
24 | ||
9675c625 JR |
25 | %description -l pl.UTF-8 |
26 | Moduł wyświetlający każdego użytkownika na stronie z wypełnionym | |
27 | pewnym polem profile_field, podobnie do katalogu strony użytkowników z | |
28 | podaną tą informacją (np. użytkowników z kontami komunikatora AOL | |
1b8ed2fd JB |
29 | Instant Messenger czy XFire). |
30 | ||
c1d63b91 ER |
31 | %prep |
32 | %setup -q -n %{modname} | |
33 | rm -f LICENSE.txt # GPL v2 | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{_moddir} | |
38 | ||
39 | install *.module $RPM_BUILD_ROOT%{_moddir} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %files | |
45 | %defattr(644,root,root,755) | |
46 | %doc *.txt | |
47 | %{_moddir}/*.module |