- initial release
authorciesiel <ciesiel@pld-linux.org>
Sun, 5 Oct 2003 19:57:58 +0000 (19:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-CookieCrumbler.spec -> 1.1

Zope-CookieCrumbler.spec [new file with mode: 0644]

diff --git a/Zope-CookieCrumbler.spec b/Zope-CookieCrumbler.spec
new file mode 100644 (file)
index 0000000..670fcc8
--- /dev/null
@@ -0,0 +1,62 @@
+%include        /usr/lib/rpm/macros.python
+%define        zope_subname    CookieCrumbler
+Summary:       CookieCrumbler is Zope product that enables cookie-based authentication
+Summary(pl):   CookieCrumbler jest dodatkiem do Zope umo¿liwiaj±cym autentykacje przez cookies
+Name:          Zope-%{zope_subname}
+Version:       1.1
+Release:       1
+License:       ZPL 2.0
+Group:         Development/Tools
+Source0:       http://hathaway.freezope.org/Software/%{zope_subname}/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: 427421815e94601c04c87326fc6819c1
+URL:           http://hathaway.freezope.org/Software/%{zope_subname}
+%pyrequires_eq  python-modules
+Requires:      Zope
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define         product_dir     /usr/lib/zope/Products
+
+%description
+CookieCrumbler is Zope product that enables cookie-based
+authentication
+
+%description -l pl
+CookieCrumbler jest dodatkiem do Zope umo¿liwiaj±cym autentykacje
+przez cookies
+
+%prep
+%setup -q -n %{zope_subname}
+
+%build
+mkdir docs
+mv -f {CHANGES.txt,README.txt} docs
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+cp -af * $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+
+%py_comp $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+%py_ocomp $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}
+
+# find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+rm -rf $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}/docs
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f /var/lock/subsys/zope ]; then
+        /etc/rc.d/init.d/zope restart >&2
+fi
+
+%postun
+if [ -f /var/lock/subsys/zope ]; then
+        /etc/rc.d/init.d/zope restart >&2
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc docs/*
+%{product_dir}/%{zope_subname}
This page took 0.06198 seconds and 4 git commands to generate.