Summary(pl): Modu³ grup organicznych dla Drupala
Name: drupal-mod-%{modname}
Version: 4.6.0
-Release: 0.3
+Release: 0.5
Epoch: 0
License: GPL
Group: Applications/WWW
Source0: http://drupal.org/files/projects/%{modname}-%{version}.tar.gz
# Source0-md5: 8111c047c7a1a620e5547b1682ad80a3
+BuildRequires: rpmbuild(macros) >= 1.194
URL: http://drupal.org/project/og
Requires: drupal >= 4.6.0
BuildArch: noarch
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+if [ "$1" = 1 ]; then
+%banner -e %{name} <<EOF
+To create tables needed for Drupal Organic groups module, issue these commands:
+zcat %{_docdir}/%{name}-%{version}/og.mysql.gz | mysql drupal
+EOF
+fi
+
%files
%defattr(644,root,root,755)
%doc *.txt og.mysql