X-Git-Url: http://git.pld-linux.org/?p=packages%2FZope-Formulator.git;a=blobdiff_plain;f=Zope-Formulator.spec;h=1ed08a915ba3ee2d1bc0ba2724d422e47ea85d4a;hp=067fcb8d5eed2f737d69c7eb76ebd315b8d7046d;hb=HEAD;hpb=42d08004746211f62fc7b072039e710c327e57c8 diff --git a/Zope-Formulator.spec b/Zope-Formulator.spec index 067fcb8..1ed08a9 100644 --- a/Zope-Formulator.spec +++ b/Zope-Formulator.spec @@ -1,35 +1,35 @@ %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 +Summary(pl.UTF-8): Dodatek do Zope ułatwiający tworzenie i sprawdzanie poprawności formularzy WWW Name: Zope-%{zope_subname} -Version: 1.9.0 +Version: 1.11.3 Release: 1 License: BSD-like Group: Development/Tools Source0: http://www.infrae.com/download/%{zope_subname}/%{version}/%{zope_subname}-%{version}.tgz -# Source0-md5: e40c03ba16c90f4803abb0fefd795e3f +# Source0-md5: 59206403a29953fa33d5dce829101ab5 URL: http://www.infrae.com/products/formulator/ BuildRequires: python +BuildRequires: rpmbuild(macros) >= 1.268 %pyrequires_eq python-modules -Requires: Zope Requires(post,postun): /usr/sbin/installzopeproduct +Requires: Zope BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -%{zope_subname} is a tool to help with the creation and validation of web -forms. Form fields are stored as objects in Zope, in a special Form folder. +%{zope_subname} is a tool to help with the creation and validation of +web forms. Form fields are stored as objects in Zope, in a special +Form folder. -%description -l pl -%{zope_subname} jest narzêdziem pomagaj±cym przy tworzeniu i sprawdzaniu -poprawno¶ci formularzy WWW. Pola formularza s± zapisywane jako obiekty -w Zope, w specjalnym folderze Form. +%description -l pl.UTF-8 +%{zope_subname} jest narzędziem pomagającym przy tworzeniu i +sprawdzaniu poprawności formularzy WWW. Pola formularza są zapisywane +jako obiekty w Zope, w specjalnym folderze Form. %prep %setup -q -n %{zope_subname} - -%build mkdir docs mv -f {CREDITS.txt,HISTORY.txt,INSTALL.txt,README.txt,TODO.txt} docs @@ -49,16 +49,12 @@ rm -rf $RPM_BUILD_ROOT %post /usr/sbin/installzopeproduct %{_datadir}/%{name} %{zope_subname} -if [ -f /var/lock/subsys/zope ]; then - /etc/rc.d/init.d/zope restart >&2 -fi +%service -q zope restart %postun if [ "$1" = "0" ]; then - /usr/sbin/installzopeproduct -d %{zope_subname} - if [ -f /var/lock/subsys/zope ]; then - /etc/rc.d/init.d/zope restart >&2 - fi + /usr/sbin/installzopeproduct -d %{zope_subname} + %service -q zope restart fi %files