From: Elan Ruusamäe Date: Tue, 14 Oct 2008 20:03:45 +0000 (+0000) Subject: - minoc cosmetics; rel 3 X-Git-Tag: auto/th/clearsilver-0_10_5-3 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=refs%2Ftags%2Fauto%2Fti%2Fclearsilver-0_10_5-3;hp=6e39b7f80c596a44a66376e864bf98dfb03c4b13;p=packages%2Fclearsilver.git - minoc cosmetics; rel 3 Changed files: clearsilver.spec -> 1.15 --- diff --git a/clearsilver.spec b/clearsilver.spec index a3468e2..83a811e 100644 --- a/clearsilver.spec +++ b/clearsilver.spec @@ -2,7 +2,7 @@ Summary: ClearSilver HTML template system Summary(pl.UTF-8): ClearSilver - system szablonów HTML Name: clearsilver Version: 0.10.5 -Release: 2 +Release: 3 License: Apache License style Group: Development/Libraries Source0: http://www.clearsilver.net/downloads/%{name}-%{version}.tar.gz @@ -26,8 +26,8 @@ which makes working with your project easier. %description -l pl.UTF-8 ClearSilver to szybki, potężny i niezależny od języka system szablonów HTML. Zarówno w statycznych stronach HTML jak i dynamicznych -aplikacjach pomaga oddzielić kod prezentacyjny od logiki aplikacji, -co ułatwia pracę nad projektem. +aplikacjach pomaga oddzielić kod prezentacyjny od logiki aplikacji, co +ułatwia pracę nad projektem. %package devel Summary: ClearSilver development package @@ -99,7 +99,7 @@ install /usr/share/automake/config.* . --disable-ruby \ --enable-apache \ --enable-perl \ - --with-python=%{_bindir}/python + --with-python=%{__python} %{__make} @@ -121,6 +121,11 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT%{perl_archlib} \ $RPM_BUILD_ROOT%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist +# what an ass putting it to lib32 dir +%if "%{_lib}" != "lib" +rm $RPM_BUILD_ROOT%{_prefix}/lib/python%{py_ver}/site-packages/neo_cgi.so +%endif + %clean rm -rf $RPM_BUILD_ROOT @@ -148,11 +153,13 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{perl_vendorarch}/auto/ClearSilver/ClearSilver.so %{_mandir}/man3/ClearSilver.3pm* -#%files -n ruby -#%defattr(644,root,root,755) -#{ruby_sitepath}/(ruby_version}/neo.rb -#%attr(755,root,root) {ruby_sitepath}/(ruby_version}/$(ruby_arch}/hdf.so +%if 0 +%files -n ruby +%defattr(644,root,root,755) +%{ruby_sitepath}/%{ruby_version}/neo.rb +%attr(755,root,root) %{ruby_sitepath}/%{ruby_version}/%{ruby_arch}/hdf.so -#%files -n mod_ecs -#%defattr(644,root,root,755) -#%attr(755,root,root) {apache_libexec}/mod_ecs.so +%files -n mod_ecs +%defattr(644,root,root,755) +%attr(755,root,root) %{apache_libexec}/mod_ecs.so +%endif