1 %define modname mass_url
2 Summary: Drupal Mass URL Module
3 Summary(pl): Modu³ Mass URL dla Drupala
4 Name: drupal-mod-%{modname}
8 Group: Applications/WWW
9 Source0: http://drupal.org/files/projects/mass_url-cvs.tar.gz
10 # Source0-md5: 2d380282fd0765fa5fa5282c90dcc972
11 Patch0: mass_url-password.patch
12 URL: http://drupal.org/node/13215
13 Requires: drupal >= 4.6.0
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define _drupaldir %{_datadir}/drupal
18 %define _moddir %{_drupaldir}/modules
21 A module that allows for easy mass URL aliasing, not requiring the use
22 of path.module for many types of common URLs.
24 Currently this module only supports user page and user blog URLs.
26 When installed, a user's account page is accessible via
27 <http://example.com/user/username>, and a user's blog is accessible
28 via <http://example.com/blog/username>.
30 As of now, only view functions are available (no edit for account
31 pages), and user names must be entered exactly as they are formatted
32 (including spaces). I hope to implement some kind of fuzzy filtering
33 soon, but that's a big task...
36 Modu³ umo¿liwiaj±cy ³atwe masowe tworzenie aliasów dla URL-i, bez
37 potrzeby u¿ywania path.module dla wielu rodzajów popularnych URL-i.
39 Aktualnie ten modu³ obs³uguje tylko URL-e do stron i blogów
42 Po zainstalowaniu strona u¿ytkownika jest dostêpna jako
43 <http://domena.com/user/nazwa>, a blog u¿ytkownika jako
44 <http://domena.com/blog/nazwa>.
47 %setup -q -n %{modname}
49 rm -f LICENSE.txt # GPL v2
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_moddir}
55 install *.module $RPM_BUILD_ROOT%{_moddir}
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)