]> git.pld-linux.org Git - packages/drupal-mod-syndication.git/blame - drupal-mod-syndication.spec
- tabs in preamble
[packages/drupal-mod-syndication.git] / drupal-mod-syndication.spec
CommitLineData
66f79e37
ER
1%define modname syndication
2Summary: Drupal Syndication Module
ce1976e3 3Summary(pl.UTF-8): Moduł Syndication dla Drupala
66f79e37
ER
4Name: drupal-mod-%{modname}
5Version: 4.6.0
1656f24c 6Release: 0.5
66f79e37
ER
7License: GPL v2
8Group: Applications/WWW
9Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
1656f24c
ER
10# Source0-md5: 59dda5bcc7153fab5c38835b646041ff
11Patch0: http://drupal.org/files/issues/syndication.module.patch
12
66f79e37
ER
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
38ac1e99
ER
16%define _drupaldir %{_datadir}/drupal
17%define _moddir %{_drupaldir}/modules
18%define _podir %{_drupaldir}/po/%{modname}
66f79e37
ER
19
20%description
21Syndication module offers a web page which centralizes all of the RSS
22feeds generated by Drupal. This helps users find interesting feeds
23from your web site.
24
e7ee0670
JR
25%description -l pl.UTF-8
26Moduł Syndication udostępnia stronę WWW skupiającą wyszystkie źródła
27RSS generowane przez Drupala. Pomaga to użytkownikom znaleźć
28interesujące źródła na stronie WWW.
f96dab8e 29
66f79e37
ER
30%prep
31%setup -q -n %{modname}
1656f24c 32%patch0 -p0
66f79e37
ER
33rm -f LICENSE.txt # GPL v2
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT{%{_moddir},%{_podir}}
38
39install *.module $RPM_BUILD_ROOT%{_moddir}
40cp -a po/*.po $RPM_BUILD_ROOT%{_podir}
41
42%clean
43rm -rf $RPM_BUILD_ROOT
66f79e37
ER
44
45%post
46if [ "$1" = 1 ]; then
47%banner -e %{name} <<EOF
48If you want to use localization, then you need to upload .po files
49from %{_podir} via drupal locatization admin.
50
51EOF
52fi
f96dab8e
JB
53
54%files
55%defattr(644,root,root,755)
56%doc *.txt
57%{_moddir}/*.module
58%{_podir}
This page took 0.075061 seconds and 4 git commands to generate.