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: 2161936b7828e8cbdc4f45812d15e3f6
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.* .
95 CFLAGS="%{rpmcflags} -fPIC" \
97 --with-python=%{_bindir}/python \
106 rm -rf $RPM_BUILD_ROOT
109 DESTDIR=$RPM_BUILD_ROOT \
112 %{__make} install -C python \
113 PYTHON_SITE=%{py_sitedir} \
114 DESTDIR=$RPM_BUILD_ROOT
116 %{__make} install -C perl \
117 DESTDIR=$RPM_BUILD_ROOT \
120 rm -rf $RPM_BUILD_ROOT%{perl_archlib} \
121 $RPM_BUILD_ROOT%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
124 rm -rf $RPM_BUILD_ROOT
127 %defattr(644,root,root,755)
128 %doc CS_LICENSE INSTALL LICENSE README scripts/cs_lint.py contrib/cs-mode.el
129 %attr(755,root,root) %{_bindir}/*
131 %{_mandir}/man3/*.3.*
134 %defattr(644,root,root,755)
135 %{_includedir}/ClearSilver
136 %{_libdir}/libneo_*.a
138 %files -n python-clearsilver
139 %defattr(644,root,root,755)
141 %attr(755,root,root) %{py_sitedir}/neo_cgi.so
143 %files -n perl-ClearSilver
144 %defattr(644,root,root,755)
145 %{perl_vendorarch}/ClearSilver.pm
146 %{perl_vendorarch}/auto/ClearSilver
147 %{_mandir}/man3/*.3pm*
150 #%defattr(644,root,root,755)
151 #{ruby_sitepath}/(ruby_version}/neo.rb
152 #%attr(755,root,root) {ruby_sitepath}/(ruby_version}/$(ruby_arch}/hdf.so
155 #%defattr(644,root,root,755)
156 #%attr(755,root,root) {apache_libexec}/mod_ecs.so