]> git.pld-linux.org Git - packages/Zope-CMFCollector.git/blob - Zope-CMFCollector.spec
- install requirements fixed
[packages/Zope-CMFCollector.git] / Zope-CMFCollector.spec
1 %define         zope_subname    CMFCollector
2 Summary:        CMFCollector is an issue collector for Zope.
3 Summary(pl):    CMFCollector jest dodatkiem do Zope umo¿liwiaj±cy zbieranie wyników
4 Name:           Zope-%{zope_subname}
5 Version:        0.9b
6 Release:        1
7 License:        GNU
8 Group:          Development/Tools
9 Source0:        http://cvs.zope.org/CMF/%{zope_subname}/%{zope_subname}.tar.gz?tarball=1
10 # Source0-md5:  151c906d1058115f3f98155ec042f8fe
11 URL:            http://cvs.zope.org/CMF/%{zope_subname}/
12 pyrequires_eq:  python-modules
13 Requires:       Zope
14 Requires:       CMF
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         zope_lib        /usr/lib/zope/Addons
18 %define         product_dir     /usr/lib/zope/Products
19
20 %description
21 CMFCollector is an issue collector for Zope.
22
23 %description -l pl
24 CMFCollector jest dodatkiem do Zope umo¿liwiaj±cy zbieranie wyników
25
26 %prep
27 %setup -q -c %{zope_subname}.tar.gz?tarball=1
28
29 %build
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT%{zope_lib}
34 install -d $RPM_BUILD_ROOT%{product_dir}
35 cp -af * $RPM_BUILD_ROOT%{zope_lib}/%{zope_subname}
36 rm -rf $RPM_BUILD_ROOT%{zope_lib}/%{zope_subname}/*.txt
37 ln -s %{zope_lib}/%{zope_subname}/ $RPM_BUILD_ROOT%{product_dir}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %post
43 if [ -f /var/lock/subsys/zope ]; then
44         /etc/rc.d/init.d/zope restart >&2
45 fi
46
47 %preun
48
49 %postun
50 if [ -f /var/lock/subsys/zope ]; then
51         /etc/rc.d/init.d/zope restart >&2
52 fi
53
54 %files
55 %defattr(644,root,root,755)
56 %doc %{zope_subname}/*.txt
57 %{zope_lib}
58 %{product_dir}
This page took 0.0658 seconds and 3 git commands to generate.