]> git.pld-linux.org Git - packages/Zope-CMFForum.git/blame - Zope-CMFForum.spec
- converted to UTF-8
[packages/Zope-CMFForum.git] / Zope-CMFForum.spec
CommitLineData
7d52f555 1%define zope_subname CMFForum
2ecda9db 2Summary: A Zope product that Anonymous can post by default
3dcd8afe 3Summary(pl.UTF-8): Dodatek do Zope dający możliwość wysłania e-maila
7d52f555 4Name: Zope-%{zope_subname}
5Version: 1.0
07ff19e5 6Release: 10
cac18dd4 7License: ZPL 2.0
7d52f555 8Group: Development/Tools
95da26c2 9Source0: http://dl.sourceforge.net/collective/%{zope_subname}-%{version}.tgz
7d52f555 10# Source0-md5: dc9ee26b8c78a32238afd2540dcf258c
95da26c2 11URL: http://sourceforge.net/projects/collective/
670e9a02 12BuildRequires: python
bb44793c 13BuildRequires: rpmbuild(macros) >= 1.268
323c927e 14%pyrequires_eq python-modules
bb44793c 15Requires(post,postun): /usr/sbin/installzopeproduct
cac18dd4 16Requires: Zope >= 2.5.1
07ff19e5 17Requires: Zope-CMF >= 1:1.4
bb44793c 18Conflicts: CMF
323c927e 19BuildArch: noarch
7d52f555 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
7d52f555 22%description
95da26c2
JB
23CMMForum is a Zope product - Anonymous can post by default but can't
24add Attachments - Anonymous can set Author and e-mail fields. Logged
7d52f555 25in user gets 'username' as Author and email from preferences. Security
26cleanup.
27
3dcd8afe
JR
28%description -l pl.UTF-8
29CMMForum jest dodatkiem do Zope umożliwiającym dodanie formy wysyłania
30e-mailem bez możliwości wysyłania załączników. Anonymous może ustawić
31adres e-mail, a jeżeli zaloguje się jako konkretny użytkownik, wtedy
32pobierane są odpowiednie pola z preferencji. Dodatek sprawdzony pod
33względem bezpieczeństwa.
7d52f555 34
35%prep
cac18dd4 36%setup -q -n %{zope_subname}
7d52f555 37
7d52f555 38%install
39rm -rf $RPM_BUILD_ROOT
2ecda9db 40install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
95da26c2 41
27a798fc 42cp -af {Extensions,interfaces,skins,*.py,*.gif,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
323c927e 43
2ecda9db 44%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
45%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
323c927e 46
3c7d73da 47# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
7d52f555 48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%post
2ecda9db 53/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
bb44793c 54%service -q zope restart
7d52f555 55
7d52f555 56%postun
2ecda9db 57if [ "$1" = "0" ]; then
3823c81e 58 /usr/sbin/installzopeproduct -d %{zope_subname}
bb44793c 59 %service -q zope restart
7d52f555 60fi
61
62%files
63%defattr(644,root,root,755)
2f421061 64%doc CHANGES.txt CREDITS.txt HISTORY.txt INSTALL.txt README.txt TODO.txt
2ecda9db 65%{_datadir}/%{name}
This page took 0.1885 seconds and 4 git commands to generate.