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 # Source0-md5: 6f4946d92eca41e17c9fc0373aee096a
10 URL: http://www.clearsilver.net/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: perl-ExtUtils-MakeMaker
14 BuildRequires: perl-devel
15 BuildRequires: python-devel
16 BuildRequires: zlib-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 ClearSilver is a fast, powerful, and language-neutral HTML template
21 system. In both static content sites and dynamic HTML applications, it
22 provides a separation between presentation code and application logic
23 which makes working with your project easier.
26 ClearSilver to szybki, potê¿ny i niezale¿ny od jêzyka system szablonów
27 HTML. Zarówno w statycznych stronach HTML jak i dynamicznych
28 aplikacjach pomaga oddzieliæ kod prezentacyjny od logiki aplikacji,
29 co u³atwia pracê nad projektem.
32 Summary: ClearSilver development package
33 Summary(pl): Pakiet programistyczny ClearSilver
34 Group: Development/Libraries
37 This package provides needed files to develop extension to
40 %description devel -l pl
41 Ten pakiet dostarcza pliki potrzebne do tworzenia rozszerzeñ dla
44 %package -n python-clearsilver
45 Summary: Neotonic ClearSilver Python Module
46 Summary(pl): Modu³ Pythona Neotonic ClearSilver
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
50 %description -n python-clearsilver
51 This package provides a Python interface to the ClearSilver CGI kit
52 and templating system.
54 %description -n python-clearsilver -l pl
55 Ten pakiet dostarcza interfejs Pythona do zestawu CGI i systemu
56 szablonów ClearSilver.
58 %package -n perl-ClearSilver
59 Summary: Neotonic ClearSilver Perl Module
60 Summary(pl): Modu³ Perla Neotonic ClearSilver
61 Group: Development/Libraries
62 Requires: %{name} = %{version}-%{release}
64 %description -n perl-ClearSilver
65 This package provides a Perl interface to the ClearSilver templating
68 %description -n perl-ClearSilver -l pl
69 Ten pakiet dostarcza interfejs Perla do systemu szablonów ClearSilver.
71 %package -n ruby-clearsilver
72 Summary: Neotonic ClearSilver Ruby Module
73 Summary(pl): Modu³ Ruby'ego Neotonic ClearSilver
74 Group: Development/Libraries
75 Requires: %{name} = %{version}-%{release}
77 %description -n ruby-clearsilver
78 This package provides a ruby interface to the ClearSilver templating
81 %description -n ruby-clearsilver -l pl
82 Ten pakiet dostarcza interfejs jêzyka Ruby do systemu szablonów
88 find . -type f -print0 | xargs -0 perl -pi -e "s!/usr/local/bin!/usr/bin!g"
91 install /usr/share/automake/config.* .
96 --with-python=%{_bindir}/python \
105 rm -rf $RPM_BUILD_ROOT
108 DESTDIR=$RPM_BUILD_ROOT \
111 %{__make} install -C python \
112 PYTHON_SITE=%{py_sitedir} \
113 DESTDIR=$RPM_BUILD_ROOT
115 %{__make} install -C perl \
116 DESTDIR=$RPM_BUILD_ROOT \
119 rm -rf $RPM_BUILD_ROOT%{perl_archlib} \
120 $RPM_BUILD_ROOT%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
123 rm -rf $RPM_BUILD_ROOT
126 %defattr(644,root,root,755)
127 %doc CS_LICENSE INSTALL LICENSE README scripts/cs_lint.py contrib/cs-mode.el
128 %attr(755,root,root) %{_bindir}/*
130 %{_mandir}/man3/*.3.*
133 %defattr(644,root,root,755)
134 %{_includedir}/ClearSilver
135 %{_libdir}/libneo_*.a
137 %files -n python-clearsilver
138 %defattr(644,root,root,755)
140 %attr(755,root,root) %{py_sitedir}/neo_cgi.so
142 %files -n perl-ClearSilver
143 %defattr(644,root,root,755)
144 %{perl_vendorarch}/ClearSilver.pm
145 %{perl_vendorarch}/auto/ClearSilver
146 %{_mandir}/man3/*.3pm*
149 #%defattr(644,root,root,755)
150 #{ruby_sitepath}/(ruby_version}/neo.rb
151 #%attr(755,root,root) {ruby_sitepath}/(ruby_version}/$(ruby_arch}/hdf.so
154 #%defattr(644,root,root,755)
155 #%attr(755,root,root) {apache_libexec}/mod_ecs.so