X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=Zope-Localizer.spec;h=214e170e449f0c318748cd14082b12665366e880;hb=3978173d02b5ac7cf7d489d4acbbb9e66afb0bc0;hp=a47f2b299b95c9595797d058f496454ef27bf571;hpb=bc331c689e1851f7511727aab308b59f447276b7;p=packages%2FZope-Localizer.git diff --git a/Zope-Localizer.spec b/Zope-Localizer.spec index a47f2b2..214e170 100644 --- a/Zope-Localizer.spec +++ b/Zope-Localizer.spec @@ -2,20 +2,21 @@ Summary: A Zope product to develop multilingual web application Summary(pl): Dodatek do Zope umo¿liwiaj±cy tworzenie wielojêzycznych aplikacji WWW Name: Zope-%{zope_subname} -%define sub_ver b2 -Version: 1.1.0 -Release: 4.%{sub_ver}.1 +#%%define sub_ver b5 +Version: 1.1.1 +Release: 1 License: GPL v2+ Group: Development/Tools -Source0: http://dl.sourceforge.net/lleu/%{zope_subname}-%{version}%{sub_ver}.tar.gz -# Source0-md5: d59bc976d6be8d227dc6e2a4ad16148d +Source0: http://www.ikaaro.org/download/localizer/%{zope_subname}-%{version}.tar.gz +# Source0-md5: ab6f95886f3475387078966780438083 URL: http://www.localizer.org/ -BuildRequires: python >= 2.2 +BuildRequires: python +BuildRequires: rpmbuild(macros) >= 1.268 %pyrequires_eq python-modules -Requires: Zope >= 2.6 -Requires: python-itools >= 0.5 -Requires: Zope-iHotfix >= 0.5 Requires(post,postun): /usr/sbin/installzopeproduct +Requires: Zope >= 2.7 +Requires: Zope-iHotfix >= 0.5.2 +Requires: python-itools >= 0.9.2 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -27,7 +28,7 @@ Localizer jest dodatkiem do Zope umo wielojêzycznych aplikacji WWW. %prep -%setup -q -n %{zope_subname}-%{version}%{sub_ver} +%setup -q -n %{zope_subname}-%{version} %install rm -rf $RPM_BUILD_ROOT @@ -46,21 +47,17 @@ 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 + %service -q zope restart fi %files %defattr(644,root,root,755) -%doc Changelog README.txt RELEASE*.txt RELEASE*.txt.en TODO.txt old/*.txt +%doc CHANGES.txt Changelog README.txt RELEASE*.txt.en TODO.txt %lang(es) %doc RELEASE*.txt.es %lang(fr) %doc RELEASE*.txt.fr %{_datadir}/%{name}