]> git.pld-linux.org Git - packages/Zope-FileSystemSite.git/blame - Zope-FileSystemSite.spec
- updated 2.1
[packages/Zope-FileSystemSite.git] / Zope-FileSystemSite.spec
CommitLineData
8ad22b7a 1%define zope_subname FileSystemSite
2Summary: Repackaging of the CMF's FileSystem Directory Views
1c1bcddb 3Summary(pl.UTF-8): Produkt zmieniający organizacje wyświetlania katalogów w CMF
8ad22b7a 4Name: Zope-%{zope_subname}
35506ae6 5Version: 2.1
4b00fa56 6Release: 1
8ad22b7a 7License: ZPL 2.0
8Group: Development/Tools
95aed1e2 9Source0: http://www.infrae.com/download/%{zope_subname}/%{version}/%{zope_subname}-%{version}.tgz
35506ae6 10# Source0-md5: 8c3069af49168023ea8e56c54f2bf4c8
8ad22b7a 11URL: http://zope.org/Members/philikon/FileSystemSite/
095fc1ac 12BuildRequires: python
54b31e04 13BuildRequires: rpmbuild(macros) >= 1.268
8ad22b7a 14%pyrequires_eq python-modules
15Requires: Zope >= 2.7
4237d614 16Requires: Zope-CMF >= 1:1.4.1
8ad22b7a 17
18Requires(post,postun): /usr/sbin/installzopeproduct
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23FileSystemSite repackaging of the CMF's FileSystem Directory Views
24
da1873d7
JR
25%description -l pl.UTF-8
26FileSystemSite jest produktem Zope zmieniającym sposób wyświetlania
27katalogów w CMF
8ad22b7a 28
29%prep
30%setup -q -n %{zope_subname}
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
35
36cp -af {EditorUtils,ExampleSite,Extensions,dtml,images,templates,tests,*.py,version.txt,refresh.txt} \
37 $RPM_BUILD_ROOT%{_datadir}/%{name}
38
39%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
40%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
41
42# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%post
48/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
54b31e04 49%service -q zope restart
8ad22b7a 50
51%postun
52if [ "$1" = "0" ]; then
53 /usr/sbin/installzopeproduct -d %{zope_subname}
54b31e04 54 %service -q zope restart
8ad22b7a 55fi
56
57%files
58%defattr(644,root,root,755)
95aed1e2 59%doc README.txt HISTORY.txt
8ad22b7a 60%{_datadir}/%{name}
This page took 0.11197 seconds and 4 git commands to generate.