]> git.pld-linux.org Git - packages/Zope-LocalFS.git/blame - Zope-LocalFS.spec
- tabs in preamble
[packages/Zope-LocalFS.git] / Zope-LocalFS.spec
CommitLineData
77f57d2a 1
c330a766 2%define zope_subname LocalFS
3Summary: This product allows you to store Zope objects as human-readable files
eeeba94e 4Summary(pl.UTF-8): Dodatek umożliwiający praktyczniejsze przetrzymywanie obiektów Zope
c330a766 5Name: Zope-%{zope_subname}
a8df4ada 6Version: 1.6
7Release: 1
c330a766 8License: Distributable
9Group: Development/Tools
1684496a 10Source0: http://www.easyleading.org/Downloads/%{zope_subname}-%{version}-andreas.tar.gz
a8df4ada 11# Source0-md5: 0196bdc5df0797cd33f5297b5a52c2f8
12URL: http://www.easyleading.org/Members/Eddy/LocalFS-1.6-andreas/
46766d3a 13BuildRequires: python
23e2552e 14BuildRequires: rpmbuild(macros) >= 1.268
c330a766 15%pyrequires_eq python-modules
c330a766 16Requires(post,postun): /usr/sbin/installzopeproduct
23e2552e 17Requires: Zope
c330a766 18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This product allows you to store Zope objects as human-readable files
23in the local file system.
24
a8dfb8c0
JR
25%description -l pl.UTF-8
26Dodatek dla Zope umożliwiający przetrzymywanie obiektów Zope w
27lokalnym systemie plików.
c330a766 28
29%prep
1684496a 30%setup -q -n %{zope_subname}
c330a766 31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
35
1684496a 36cp -af {Extensions,dtml,help,www,*.py,version.txt,refresh.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
c330a766 37
38%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
39%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
40
41# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%post
47/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
23e2552e 48%service -q zope restart
c330a766 49
50%postun
51if [ "$1" = "0" ]; then
4116da71 52 /usr/sbin/installzopeproduct -d %{zope_subname}
23e2552e 53 %service -q zope restart
c330a766 54fi
55
56%files
57%defattr(644,root,root,755)
1684496a 58%doc CHANGES LICENSE README TODO
c330a766 59%{_datadir}/%{name}
This page took 0.080371 seconds and 4 git commands to generate.