1 Summary: ClearSilver HTML template system
2 Summary(pl): ClearSilver - system szablonów HTML
6 License: Apache License style
7 Group: Development/Libraries
8 Source0: http://www.clearsilver.net/downloads/%{name}-%{version}.tar.gz
9 URL: http://www.clearsilver.net/
10 BuildRequires: autoconf
11 BuildRequires: automake
12 BuildRequires: perl-ExtUtils-MakeMaker
13 BuildRequires: perl-devel
14 BuildRequires: python-devel
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 ClearSilver is a fast, powerful, and language-neutral HTML template
20 system. In both static content sites and dynamic HTML applications, it
21 provides a separation between presentation code and application logic
22 which makes working with your project easier.
25 ClearSilver to szybki, potê¿ny i niezale¿ny od jêzyka system szablonów
26 HTML. Zarówno w statycznych stronach HTML jak i dynamicznych
27 aplikacjach pomaga oddzieliæ kod prezentacyjny od logiki aplikacji,
28 co u³atwia pracê nad projektem.
31 Summary: ClearSilver development package
32 Summary(pl): Pakiet programistyczny ClearSilver
33 Group: Development/Libraries
36 This package provides needed files to develop extension to
39 %description devel -l pl
40 Ten pakiet dostarcza pliki potrzebne do tworzenia rozszerzeñ dla
43 %package -n python-clearsilver
44 Summary: Neotonic ClearSilver Python Module
45 Summary(pl): Modu³ Pythona Neotonic ClearSilver
46 Group: Development/Libraries
47 Requires: %{name} = %{version}-%{release}
49 %description -n python-clearsilver
50 This package provides a Python interface to the ClearSilver CGI kit
51 and templating system.
53 %description -n python-clearsilver -l pl
54 Ten pakiet dostarcza interfejs Pythona do zestawu CGI i systemu
55 szablonów ClearSilver.
57 %package -n perl-ClearSilver
58 Summary: Neotonic ClearSilver Perl Module
59 Summary(pl): Modu³ Perla Neotonic ClearSilver
60 Group: Development/Libraries
61 Requires: %{name} = %{version}-%{release}
63 %description -n perl-ClearSilver
64 This package provides a Perl interface to the ClearSilver templating
67 %description -n perl-ClearSilver -l pl
68 Ten pakiet dostarcza interfejs Perla do systemu szablonów ClearSilver.
70 %package -n ruby-clearsilver
71 Summary: Neotonic ClearSilver Ruby Module
72 Summary(pl): Modu³ Ruby'ego Neotonic ClearSilver
73 Group: Development/Libraries
74 Requires: %{name} = %{version}-%{release}
76 %description -n ruby-clearsilver
77 This package provides a ruby interface to the ClearSilver templating
80 %description -n ruby-clearsilver -l pl
81 Ten pakiet dostarcza interfejs jêzyka Ruby do systemu szablonów
87 find . -type f -print0 | xargs -0 perl -pi -e "s!/usr/local/bin!/usr/bin!g"
90 install /usr/share/automake/config.* .
95 --with-python=%{_bindir}/python \
104 rm -rf $RPM_BUILD_ROOT
107 DESTDIR=$RPM_BUILD_ROOT \
110 %{__make} install -C python \
111 PYTHON_SITE=%{py_sitedir} \
112 DESTDIR=$RPM_BUILD_ROOT
114 %{__make} install -C perl \
115 DESTDIR=$RPM_BUILD_ROOT \
118 rm -rf $RPM_BUILD_ROOT%{perl_archlib} \
119 $RPM_BUILD_ROOT%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
122 rm -rf $RPM_BUILD_ROOT
125 %defattr(644,root,root,755)
126 %doc CS_LICENSE INSTALL LICENSE README scripts/cs_lint.py contrib/cs-mode.el
127 %attr(755,root,root) %{_bindir}/*
129 %{_mandir}/man3/*.3.*
132 %defattr(644,root,root,755)
133 %{_includedir}/ClearSilver
134 %{_libdir}/libneo_*.a
136 %files -n python-clearsilver
137 %defattr(644,root,root,755)
139 %attr(755,root,root) %{py_sitedir}/neo_cgi.so
141 %files -n perl-ClearSilver
142 %defattr(644,root,root,755)
143 %{perl_vendorarch}/ClearSilver.pm
144 %{perl_vendorarch}/auto/ClearSilver
145 %{_mandir}/man3/*.3pm*
148 #%defattr(644,root,root,755)
149 #{ruby_sitepath}/(ruby_version}/neo.rb
150 #%attr(755,root,root) {ruby_sitepath}/(ruby_version}/$(ruby_arch}/hdf.so
153 #%defattr(644,root,root,755)
154 #%attr(755,root,root) {apache_libexec}/mod_ecs.so