]> git.pld-linux.org Git - packages/Zope-CookieCrumbler.git/blame - Zope-CookieCrumbler.spec
- tabs in preamble
[packages/Zope-CookieCrumbler.git] / Zope-CookieCrumbler.spec
CommitLineData
63978a77 1%define zope_subname CookieCrumbler
729f8a58 2Summary: Zope product that enables cookie-based authentication
773498ae 3Summary(pl.UTF-8): Dodatek do Zope umożliwiający uwierzytelnianie przez cookies
63978a77 4Name: Zope-%{zope_subname}
edddeb1e 5Version: 1.2
2d659029 6Release: 2
63978a77 7License: ZPL 2.0
8Group: Development/Tools
edddeb1e 9Source0: http://hathawaymix.org/Software/%{zope_subname}/%{zope_subname}-%{version}.tar.gz
10# Source0-md5: 7dbb67adaa6ce552456d8817da4b15d8
11URL: http://hathawaymix.org/Software/CookieCrumbler/
04b45718 12BuildRequires: python
0b0e2ad4 13BuildRequires: rpmbuild(macros) >= 1.268
04b45718 14%pyrequires_eq python-modules
04b45718 15Requires(post,postun): /usr/sbin/installzopeproduct
0b0e2ad4 16Requires: Zope
63978a77 17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
63978a77 20%description
21CookieCrumbler is Zope product that enables cookie-based
7fc55e19 22authentication.
63978a77 23
46a2ff0a
JR
24%description -l pl.UTF-8
25CookieCrumbler jest dodatkiem do Zope umożliwiającym uwierzytelnianie
7fc55e19 26przez cookies.
63978a77 27
28%prep
29%setup -q -n %{zope_subname}
30
31%build
63978a77 32
33%install
34rm -rf $RPM_BUILD_ROOT
39260f08 35install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
edddeb1e 36cp -af {dtml,tests,*.py,*.gif,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name}
63978a77 37
39260f08
JK
38%py_comp $RPM_BUILD_ROOT%{_datadir}/%{name}
39%py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}
63978a77 40
41# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
39260f08 42rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
63978a77 43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%post
39260f08 48/usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname}
0b0e2ad4 49%service -q zope restart
63978a77 50
51%postun
39260f08 52if [ "$1" = "0" ]; then
0b0e2ad4
ER
53 /usr/sbin/installzopeproduct -d %{zope_subname}
54 %service -q zope restart
63978a77 55fi
56
57%files
58%defattr(644,root,root,755)
edddeb1e 59%doc CHANGES.txt README.txt
39260f08 60%{_datadir}/%{name}
This page took 0.12246 seconds and 4 git commands to generate.