]> git.pld-linux.org Git - packages/drupal-mod-mass_url.git/blame - drupal-mod-mass_url.spec
- tabs in preamble
[packages/drupal-mod-mass_url.git] / drupal-mod-mass_url.spec
CommitLineData
52d26d90
ER
1%define modname mass_url
2Summary: Drupal Mass URL Module
6854042b 3Summary(pl.UTF-8): Moduł Mass URL dla Drupala
52d26d90
ER
4Name: drupal-mod-%{modname}
5Version: 0.1.cvs
43acafe6 6Release: 0.4
52d26d90
ER
7License: GPL v2
8Group: Applications/WWW
9Source0: http://drupal.org/files/projects/mass_url-cvs.tar.gz
449f3543 10# Source0-md5: 2d380282fd0765fa5fa5282c90dcc972
658639df 11Patch0: mass_url-password.patch
52d26d90
ER
12URL: http://drupal.org/node/13215
13Requires: drupal >= 4.6.0
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _drupaldir %{_datadir}/drupal
18%define _moddir %{_drupaldir}/modules
19
20%description
27fb7826 21A module that allows for easy mass URL aliasing, not requiring the use
52d26d90
ER
22of path.module for many types of common URLs.
23
24Currently this module only supports user page and user blog URLs.
25
26When installed, a user's account page is accessible via
27<http://example.com/user/username>, and a user's blog is accessible
0eb54977 28via <http://example.com/blog/username>.
52d26d90
ER
29
30As of now, only view functions are available (no edit for account
31pages), and user names must be entered exactly as they are formatted
32(including spaces). I hope to implement some kind of fuzzy filtering
33soon, but that's a big task...
34
a237f0b3
JR
35%description -l pl.UTF-8
36Moduł umożliwiający łatwe masowe tworzenie aliasów dla URL-i, bez
37potrzeby używania path.module dla wielu rodzajów popularnych URL-i.
27fb7826 38
a237f0b3
JR
39Aktualnie ten moduł obsługuje tylko URL-e do stron i blogów
40użytkowników.
27fb7826 41
a237f0b3
JR
42Po zainstalowaniu strona użytkownika jest dostępna jako
43<http://domena.com/user/nazwa>, a blog użytkownika jako
0eb54977 44<http://domena.com/blog/nazwa>.
27fb7826 45
52d26d90
ER
46%prep
47%setup -q -n %{modname}
658639df 48%patch0 -p1
52d26d90
ER
49rm -f LICENSE.txt # GPL v2
50
51%install
52rm -rf $RPM_BUILD_ROOT
53install -d $RPM_BUILD_ROOT%{_moddir}
54
55install *.module $RPM_BUILD_ROOT%{_moddir}
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
52d26d90
ER
60%files
61%defattr(644,root,root,755)
62%doc *.txt
63%{_moddir}/*.module
This page took 0.071209 seconds and 4 git commands to generate.