]> git.pld-linux.org Git - packages/clearsilver.git/blame - clearsilver.spec
- almost raw
[packages/clearsilver.git] / clearsilver.spec
CommitLineData
7e1f3199
AM
1Summary: ClearSilver HTML template system
2Name: clearsilver
3Version: 0.9.13
4Release: 0.1
5License: Apache License style
6Group: Development/Libraries
7URL: http://www.clearsilver.net/
8Source0: http://www.clearsilver.net/downloads/%{name}-%{version}.tar.gz
9BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
10BuildRequires: zlib-devel
11BuildRequires: python-devel
12BuildRequires: automake
13BuildRequires: autoconf
14
15%description
16ClearSilver is a fast, powerful, and language-neutral HTML template
17system. In both static content sites and dynamic HTML applications, it
18provides a separation between presentation code and application logic
19which makes working with your project easier.
20
21%package devel
22Summary: ClearSilver development package
23Group: Development/Libraries
24
25%description devel
26This package provides needed files to develop extension to
27ClearSilver.
28
29%package -n python-clearsilver
30Summary: Neotonic ClearSilver Python Module
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33
34%description -n python-clearsilver
35This package provides a python interface to the clearsilver CGI kit
36and templating system.
37
38%package -n perl-ClearSilver
39Summary: Neotonic ClearSilver Perl Module
40Group: Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description -n perl-ClearSilver
44The clearsilver-perl package provides a perl interface to the
45clearsilver templating system.
46
47%package -n ruby-clearsilver
48Summary: Neotonic ClearSilver Ruby Module
49Group: Development/Libraries
50Requires: %{name} = %{version}-%{release}
51
52%description -n ruby-clearsilver
53The clearsilver-ruby package provides a ruby interface to the
54clearsilver templating system.
55
56%prep
57%setup -q
58
59%build
60install /usr/share/automake/config.* .
61%{__aclocal}
62%{__autoconf}
63%configure \
64 --enable-apache \
65 --enable-python=%{_bindir}/python \
66 --enable-perl \
67 --disable-csharp \
68 --disable-ruby \
69 --disable-java
70
71%{__make}
72
73%install
74rm -rf $RPM_BUILD_ROOT
75
76%{__make} install \
77 DESTDIR="$RPM_BUILD_ROOT" \
78 INSTALLDIRS="vendor"
79
80%{__make} install -C python \
81 DESTDIR="$RPM_BUILD_ROOT"
82
83%{__make} install -C perl \
84 DESTDIR="$RPM_BUILD_ROOT" \
85 INSTALLDIRS="vendor"
86
87%{__rm} -rf $RPM_BUILD_ROOT%{perl_archlib} \
88 $RPM_BUILD_ROOT%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
89
90%clean
91%{__rm} -rf $RPM_BUILD_ROOT
92
93%files
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}/*
98
99%files devel
100%defattr(644,root,root,755)
101%{_includedir}/ClearSilver/
102%{_libdir}/libneo_*.a
103
104%files -n python-clearsilver
105%defattr(644,root,root,755)
106%doc README.python
107%{_libdir}/python*/site-packages/neo_cgi.so
108
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/
114
115#%files -n ruby
116#%defattr(-, root, root, 0755)
117#{ruby_sitepath}/(ruby_version}/neo.rb
118#{ruby_sitepath}/(ruby_version}/$(ruby_arch}/hdf.so
119
120#%files -n mod_ecs
121#{apache_libexec}/mod_ecs.so
This page took 0.08501 seconds and 4 git commands to generate.