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