]> git.pld-linux.org Git - packages/Zope-PloneExFile.git/blame - Zope-PloneExFile.spec
- tabs in preamble
[packages/Zope-PloneExFile.git] / Zope-PloneExFile.spec
CommitLineData
2b5183f4 1%define zope_subname PloneExFile
2Summary: A Plone content type with an attachment
7acb0c3a 3Summary(pl.UTF-8): Typ Plone z załącznikami
2b5183f4 4Name: Zope-%{zope_subname}
db52ba53 5Version: 3.02
2b5183f4 6Release: 1
7License: ZPL
8Group: Development/Tools
9Source0: http://dl.sourceforge.net/ingeniweb/%{zope_subname}-%{version}.tar.gz
db52ba53 10# Source0-md5: 3e23b7fe5e365bfad5ba3dcfa753ab85
2b5183f4 11URL: http://sourceforge.net/projects/ingeniweb/
63042173 12BuildRequires: rpmbuild(macros) >= 1.268
2b5183f4 13%pyrequires_eq python-modules
63042173 14Requires(post,postun): /usr/sbin/installzopeproduct
2b5183f4 15Requires: Zope
16Requires: Zope-ZAttachmentAttribute >= 2.0
2b5183f4 17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21A Plone content type with an attachment.
22
ddaca6c7
JR
23%description -l pl.UTF-8
24Typ Plone z załącznikami.
2b5183f4 25
26%prep
27%setup -q -n %{zope_subname}
28
2b5183f4 29%install
30rm -rf $RPM_BUILD_ROOT
2b5183f4 31install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
32
33cp -af Extensions i18n skins website *.py *.txt \
34 $RPM_BUILD_ROOT%{_datadir}/%{name}
35
36%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
37%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
38
39%clean
40rm -rf $RPM_BUILD_ROOT
41
42%post
43/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
63042173 44%service -q zope restart
2b5183f4 45
46%postun
47if [ "$1" = "0" ]; then
48 /usr/sbin/installzopeproduct -d %{zope_subname}
63042173 49 %service -q zope restart
2b5183f4 50fi
51
52%files
53%defattr(644,root,root,755)
e094f980 54%doc ABOUT CHANGES CREDITS ChangeLog README.txt doc/*
2b5183f4 55%{_datadir}/%{name}
This page took 0.065399 seconds and 4 git commands to generate.