]> git.pld-linux.org Git - packages/Zope-CMFPhotoAlbum.git/commitdiff
- initial release
authorciesiel <ciesiel@pld-linux.org>
Thu, 31 Jul 2003 19:29:15 +0000 (19:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-CMFPhotoAlbum.spec -> 1.1

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

diff --git a/Zope-CMFPhotoAlbum.spec b/Zope-CMFPhotoAlbum.spec
new file mode 100644 (file)
index 0000000..b6444a2
--- /dev/null
@@ -0,0 +1,68 @@
+%include       /usr/lib/rpm/macros.python
+
+%define                zope_subname    CMFPhotoAlbum
+
+Summary:       CMFPhotoAlbum is a Zope product - Provides Photo Album in your CMF.
+Summary(pl):   CMFPhotoAlbum jest dodatkiem dla Zope umo¿liwiaj±cym operacje na zdjêciach w CMF.
+Name:          Zope-%{zope_subname}
+Version:       0.2
+Release:       1
+License:       GNU
+Group:         Development/Tools
+Source0:       http://switch.dl.sourceforge.net/sourceforge/collective/%{zope_subname}-%{version}.tar.gz
+# Source0-md5: 2951e810674200854db370d9f3197bcb
+URL:           http://sourceforge.net/projects/collective
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires:      CMF
+Requires:      Plone
+Requires:      Zope-BTreeFolder2
+Requires:      Zope-CMFPhoto
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        product_dir     /usr/lib/zope/Products
+
+%description
+CMFPhotoAlbum is a Zope product - Provides Photo Album in your CMF.
+
+%description -l pl
+CMFPhotoAlbum jest dodatkiem dla Zope umo¿liwiaj±cym operacje na
+zdjêciach w CMF.
+
+%prep
+%setup -q -c %{zope_subname}-%{version}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{product_dir}
+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}
+
+rm -rf $RPM_BUILD_ROOT%{product_dir}/%{zope_subname}/*.txt
+find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%preun
+
+%postun
+if [ -f /var/lock/subsys/zope ]; then
+       /etc/rc.d/init.d/zope restart >&2
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{zope_subname}/*.txt
+%{product_dir}/%{zope_subname}
This page took 0.092541 seconds and 4 git commands to generate.