X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Zope-Formulator.spec;h=e7b83d9ddfa707dcaefe72c1fb2440c63800d55f;hb=f89de59d447d0ccf02da8d6f00234bf80d4d04cc;hp=6f1bc0cb351e6ed5013b4c9fd486f9b76dd427a6;hpb=c44d294de9ad8911e595c453ce270dff4b5d6214;p=packages%2FZope-Formulator.git diff --git a/Zope-Formulator.spec b/Zope-Formulator.spec index 6f1bc0c..e7b83d9 100644 --- a/Zope-Formulator.spec +++ b/Zope-Formulator.spec @@ -1,18 +1,19 @@ -%include /usr/lib/rpm/macros.python + %define zope_subname Formulator Summary: Zope framework that eases the creation and validation of web forms Summary(pl): Dodatek do Zope u³atwiaj±cy tworzenie i sprawdzanie poprawno¶ci formularzy WWW Name: Zope-%{zope_subname} -Version: 1.6.0 +Version: 1.10 Release: 1 License: BSD-like Group: Development/Tools -Source0: http://www.zope.org/Members/infrae/Formulator/Formulator-%{version}/%{zope_subname}-%{version}.tgz -# Source0-md5: 6938676c62df184a6770bae90be25ce5 -URL: http://www.zope.org/Members/infrae/Formulator/ -%pyrequires_eq python-modules +Source0: http://www.infrae.com/download/%{zope_subname}/%{version}/%{zope_subname}-%{version}.tgz +# Source0-md5: 58507bc294dc7329016eaabb650869aa +URL: http://www.infrae.com/products/formulator/ +BuildRequires: python +%pyrequires_eq python-modules Requires: Zope -Requires(post,postun): /usr/sbin/installzopeproduct +Requires(post,postun): /usr/sbin/installzopeproduct BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -35,7 +36,7 @@ mv -f {CREDITS.txt,HISTORY.txt,INSTALL.txt,README.txt,TODO.txt} docs %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_datadir}/%{name} -cp -af * $RPM_BUILD_ROOT%{_datadir}/%{name} +cp -af {dtml,help,i18n,tests,www,*.py,*.html,refresh.txt,version.txt} $RPM_BUILD_ROOT%{_datadir}/%{name} %py_comp $RPM_BUILD_ROOT%{_datadir}/%{name} %py_ocomp $RPM_BUILD_ROOT%{_datadir}/%{name}