1 Summary: ClearSilver HTML template system
5 License: Apache License style
6 Group: Development/Libraries
7 URL: http://www.clearsilver.net/
8 Source0: http://www.clearsilver.net/downloads/%{name}-%{version}.tar.gz
9 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10 BuildRequires: zlib-devel
11 BuildRequires: python-devel
12 BuildRequires: automake
13 BuildRequires: autoconf
16 ClearSilver is a fast, powerful, and language-neutral HTML template
17 system. In both static content sites and dynamic HTML applications, it
18 provides a separation between presentation code and application logic
19 which makes working with your project easier.
22 Summary: ClearSilver development package
23 Group: Development/Libraries
26 This package provides needed files to develop extension to
29 %package -n python-clearsilver
30 Summary: Neotonic ClearSilver Python Module
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
34 %description -n python-clearsilver
35 This package provides a python interface to the clearsilver CGI kit
36 and templating system.
38 %package -n perl-ClearSilver
39 Summary: Neotonic ClearSilver Perl Module
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
43 %description -n perl-ClearSilver
44 The clearsilver-perl package provides a perl interface to the
45 clearsilver templating system.
47 %package -n ruby-clearsilver
48 Summary: Neotonic ClearSilver Ruby Module
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
52 %description -n ruby-clearsilver
53 The clearsilver-ruby package provides a ruby interface to the
54 clearsilver templating system.
60 install /usr/share/automake/config.* .
65 --enable-python=%{_bindir}/python \
74 rm -rf $RPM_BUILD_ROOT
77 DESTDIR="$RPM_BUILD_ROOT" \
80 %{__make} install -C python \
81 DESTDIR="$RPM_BUILD_ROOT"
83 %{__make} install -C perl \
84 DESTDIR="$RPM_BUILD_ROOT" \
87 %{__rm} -rf $RPM_BUILD_ROOT%{perl_archlib} \
88 $RPM_BUILD_ROOT%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
91 %{__rm} -rf $RPM_BUILD_ROOT
94 %defattr(644,root,root,755)
95 %doc CS_LICENSE INSTALL LICENSE README scripts/cs_lint.py contrib/cs-mode.el
96 %doc %{_mandir}/man3/*.3.*
97 %attr(755,root,root) %{_bindir}/*
100 %defattr(644,root,root,755)
101 %{_includedir}/ClearSilver/
102 %{_libdir}/libneo_*.a
104 %files -n python-clearsilver
105 %defattr(644,root,root,755)
107 %{_libdir}/python*/site-packages/neo_cgi.so
109 %files -n perl-ClearSilver
110 %defattr(644,root,root,755)
111 %doc %{_mandir}/man3/*.3pm*
112 %{perl_vendorarch}/ClearSilver.pm
113 %{perl_vendorarch}/auto/ClearSilver/
116 #%defattr(-, root, root, 0755)
117 #{ruby_sitepath}/(ruby_version}/neo.rb
118 #{ruby_sitepath}/(ruby_version}/$(ruby_arch}/hdf.so
121 #{apache_libexec}/mod_ecs.so