]> git.pld-linux.org Git - packages/Zope-ZAAPlugins.git/blob - Zope-ZAAPlugins.spec
- removed empty build
[packages/Zope-ZAAPlugins.git] / Zope-ZAAPlugins.spec
1 %define         zope_subname    ZAAPlugins
2 Summary:        A set of plugins for use with ZAttachmentAttribute
3 Summary(pl):    Zestaw wtyczek do wykorzystania z ZAttachmentAttribute
4 Name:           Zope-%{zope_subname}
5 Version:        2.3
6 Release:        1
7 License:        GPL
8 Group:          Development/Tools
9 Source0:        http://dl.sourceforge.net/ingeniweb/%{zope_subname}-%{version}.tar.gz
10 # Source0-md5:  64f6476d8ae6f2a572a8a2662fa5ec7c
11 URL:            http://sourceforge.net/projects/ingeniweb/
12 %pyrequires_eq  python-modules
13 Requires:       Zope
14 Requires(post,postun):  /usr/sbin/installzopeproduct
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 A set of plugins for use with ZAttachmentAttribute.
20
21 %description -l pl
22 Zestaw wtyczek do wykorzystania z ZAttachmentAttribute.
23
24 %prep
25 %setup -q -n %{zope_subname}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
30
31 cp -af Audio Autocad Extensions HTML Image \
32         MS{Access,Excel,PowerPoint,Project,Word} PDF Zip skins text visio *.py *.txt \
33         $RPM_BUILD_ROOT%{_datadir}/%{name}
34
35 %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
36 %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %post
42 /usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
43 if [ -f /var/lock/subsys/zope ]; then
44         /etc/rc.d/init.d/zope restart >&2
45 fi
46
47 %postun
48 if [ "$1" = "0" ]; then
49         /usr/sbin/installzopeproduct -d %{zope_subname}
50         if [ -f /var/lock/subsys/zope ]; then
51                 /etc/rc.d/init.d/zope restart >&2
52         fi
53 fi
54
55 %files
56 %defattr(644,root,root,755)
57 %doc doc/* CHANGES ChangeLog README
58 %{_datadir}/%{name}
This page took 0.090606 seconds and 4 git commands to generate.