]> git.pld-linux.org Git - packages/Zope-archetypes.git/commitdiff
- initial release
authorciesiel <ciesiel@pld-linux.org>
Wed, 3 Sep 2003 22:35:32 +0000 (22:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- not tested

Changed files:
    Zope-archetypes.spec -> 1.1

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

diff --git a/Zope-archetypes.spec b/Zope-archetypes.spec
new file mode 100644 (file)
index 0000000..9af870c
--- /dev/null
@@ -0,0 +1,85 @@
+%include       /usr/lib/rpm/macros.python
+
+%define                zope_subname    archetypes
+
+Summary:       CMFArchetypes is a framework for developing new content types in Plone.
+Summary(pl):   CMFArchetypes jest nowym ¶rodowiskiem pracy dla twórców serwisów Plone.
+Name:          Zope-%{zope_subname}
+Version:       1.0.1
+Release:       1
+License:       GNU
+Group:         Development/Tools
+Source0:       http://telia.dl.sourceforge.net/sourceforge/%{zope_subname}/%{zope_subname}-%{version}.tgz
+# Source0-md5: 53f3ccf5a88ce3a91b50e8a82165c2de
+URL:           http://dreamcatcher.homeunix.org/
+%pyrequires_eq python-modules
+Requires:      Zope
+Requires:      CMF
+Requires:      Plone
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        product_dir     /usr/lib/zope/Products
+
+%description
+CMFArchetypes is a framework for developing new content types in
+Plone. The power of Archetypes is, first, in automatically generating
+forms; second, in providing a library of stock field types, form
+widgets, and field validators; third, in easily integrating custom
+fields, widgets, and validators; and fourth, in automating
+transformations of rich content.
+
+%description -l pl
+CMFArchetypes jest nowym ¶rodowiskiem pracy dla twórców serwisów
+Plone. Si³± Archetypes s± automatycznie generowane formularze,
+zarz±dzalne biblioteki pól typów, kontrolek i korektorów pól, a tak¿e
+³atwa integracja zaawansowanych mo¿liwo¶ci z w/w typami. Posiada
+równie¿ bogat± automatykê.
+
+%prep
+%setup -q -c %{zope_subname}-%{version}
+
+%build
+mkdir docs docs/ArchExample docs/ArchGenXML docs/Archetypes docs/generator docs/validation
+cd %{zope_subname}-%{version}
+mv -f *.pdf ../docs/
+mv -f ArchExample/ChangeLog ../docs/ArchExample
+mv -f ArchGenXML/README ../docs/ArchGenXML
+mv -f Archetypes/{/docs/*,AUTHORS,ChangeLog,README.txt,TODO.txt} ../docs/Archetypes
+rm -rf Archetypes/docs
+mv -f generator/{ChangeLog,MANIFEST.in,README} ../docs/generator
+mv -f validation/{ChangeLog,MANIFEST.in,README} ../docs/validation
+
+%install
+rm -rf $RPM_BUILD_ROOT
+cd %{zope_subname}-%{version}
+install -d $RPM_BUILD_ROOT%{product_dir}
+cp -af * $RPM_BUILD_ROOT%{product_dir}
+
+%py_comp $RPM_BUILD_ROOT%{product_dir}
+%py_ocomp $RPM_BUILD_ROOT%{product_dir}
+
+find $RPM_BUILD_ROOT -type f -name "*.py" -exec rm -rf {} \;;
+rm -rf $RPM_BUILD_ROOT%{product_dir}/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}/ArchExample
+%{product_dir}/ArchGenXML
+%{product_dir}/Archetypes
+%{product_dir}/generator
+%{product_dir}/validation
This page took 0.086317 seconds and 4 git commands to generate.