]> git.pld-linux.org Git - packages/drupal-mod-mass_url.git/blob - drupal-mod-mass_url.spec
- fix patch path
[packages/drupal-mod-mass_url.git] / drupal-mod-mass_url.spec
1 %define         modname mass_url
2 Summary:        Drupal Mass URL Module
3 Summary(pl):    Modu³ Mass URL dla Drupala
4 Name:           drupal-mod-%{modname}
5 Version:        0.1.cvs
6 Release:        0.3
7 License:        GPL v2
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _drupaldir      %{_datadir}/drupal
18 %define         _moddir         %{_drupaldir}/modules
19
20 %description
21 A module that allows for easy mass URL aliasing, not requiring the use
22 of path.module for many types of common URLs.
23
24 Currently this module only supports user page and user blog URLs.
25
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>.
29
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...
34
35 %description -l pl
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.
38
39 Aktualnie ten modu³ obs³uguje tylko URL-e do stron i blogów
40 u¿ytkowników.
41
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>.
45
46 %prep
47 %setup -q -n %{modname}
48 %patch0 -p1
49 rm -f LICENSE.txt # GPL v2
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT%{_moddir}
54
55 install *.module $RPM_BUILD_ROOT%{_moddir}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc *.txt
63 %{_moddir}/*.module
This page took 0.31437 seconds and 3 git commands to generate.