]> git.pld-linux.org Git - packages/clearsilver.git/blob - clearsilver.spec
cfc6c5de4cc24cc92558ec490ffb816de384172e
[packages/clearsilver.git] / clearsilver.spec
1 Summary:        ClearSilver HTML template system
2 Summary(pl):    ClearSilver - system szablonów HTML
3 Name:           clearsilver
4 Version:        0.9.13
5 Release:        0.1
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:  python-devel
13 BuildRequires:  zlib-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 ClearSilver is a fast, powerful, and language-neutral HTML template
18 system. In both static content sites and dynamic HTML applications, it
19 provides a separation between presentation code and application logic
20 which makes working with your project easier.
21
22 %description -l pl
23 ClearSilver to szybki, potê¿ny i niezale¿ny od jêzyka system szablonów
24 HTML. Zarówno w statycznych stronach HTML jak i dynamicznych
25 aplikacjach pomaga oddzieliæ kod prezentacyjny od logiki aplikacji,
26 co u³atwia pracê nad projektem.
27
28 %package devel
29 Summary:        ClearSilver development package
30 Summary(pl):    Pakiet programistyczny ClearSilver
31 Group:          Development/Libraries
32
33 %description devel
34 This package provides needed files to develop extension to
35 ClearSilver.
36
37 %description devel -l pl
38 Ten pakiet dostarcza pliki potrzebne do tworzenia rozszerzeñ dla
39 ClearSilver.
40
41 %package -n python-clearsilver
42 Summary:        Neotonic ClearSilver Python Module
43 Summary(pl):    Modu³ Pythona Neotonic ClearSilver
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46
47 %description -n python-clearsilver
48 This package provides a Python interface to the ClearSilver CGI kit
49 and templating system.
50
51 %description -n python-clearsilver -l pl
52 Ten pakiet dostarcza interfejs Pythona do zestawu CGI i systemu
53 szablonów ClearSilver.
54
55 %package -n perl-ClearSilver
56 Summary:        Neotonic ClearSilver Perl Module
57 Summary(pl):    Modu³ Perla Neotonic ClearSilver
58 Group:          Development/Libraries
59 Requires:       %{name} = %{version}-%{release}
60
61 %description -n perl-ClearSilver
62 This package provides a Perl interface to the ClearSilver templating
63 system.
64
65 %description -n perl-ClearSilver -l pl
66 Ten pakiet dostarcza interfejs Perla do systemu szablonów ClearSilver.
67
68 %package -n ruby-clearsilver
69 Summary:        Neotonic ClearSilver Ruby Module
70 Summary(pl):    Modu³ Ruby'ego Neotonic ClearSilver
71 Group:          Development/Libraries
72 Requires:       %{name} = %{version}-%{release}
73
74 %description -n ruby-clearsilver
75 This package provides a ruby interface to the ClearSilver templating
76 system.
77
78 %description -n ruby-clearsilver -l pl
79 Ten pakiet dostarcza interfejs jêzyka Ruby do systemu szablonów
80 ClearSilver.
81
82 %prep
83 %setup -q
84
85 %build
86 install /usr/share/automake/config.* .
87 %{__aclocal}
88 %{__autoconf}
89 %configure \
90         --enable-apache \
91         --enable-python=%{_bindir}/python \
92         --enable-perl \
93         --disable-csharp \
94         --disable-ruby \
95         --disable-java
96
97 %{__make}
98
99 %install
100 rm -rf $RPM_BUILD_ROOT
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT \
104         INSTALLDIRS=vendor
105
106 %{__make} install -C python \
107         DESTDIR=$RPM_BUILD_ROOT
108
109 %{__make} install -C perl \
110         DESTDIR=$RPM_BUILD_ROOT \
111         INSTALLDIRS=vendor
112
113 rm -rf $RPM_BUILD_ROOT%{perl_archlib} \
114         $RPM_BUILD_ROOT%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
115
116 %clean
117 rm -rf $RPM_BUILD_ROOT
118
119 %files
120 %defattr(644,root,root,755)
121 %doc CS_LICENSE INSTALL LICENSE README scripts/cs_lint.py contrib/cs-mode.el
122 %attr(755,root,root) %{_bindir}/*
123 # XXX
124 %{_mandir}/man3/*.3.*
125
126 %files devel
127 %defattr(644,root,root,755)
128 %{_includedir}/ClearSilver
129 %{_libdir}/libneo_*.a
130
131 %files -n python-clearsilver
132 %defattr(644,root,root,755)
133 %doc README.python
134 %{_libdir}/python*/site-packages/neo_cgi.so
135
136 %files -n perl-ClearSilver
137 %defattr(644,root,root,755)
138 %{perl_vendorarch}/ClearSilver.pm
139 %{perl_vendorarch}/auto/ClearSilver
140 %{_mandir}/man3/*.3pm*
141
142 #%files -n ruby
143 #%defattr(644,root,root,755)
144 #{ruby_sitepath}/(ruby_version}/neo.rb
145 #%attr(755,root,root) {ruby_sitepath}/(ruby_version}/$(ruby_arch}/hdf.so
146
147 #%files -n mod_ecs
148 #%defattr(644,root,root,755)
149 #%attr(755,root,root) {apache_libexec}/mod_ecs.so
This page took 0.057109 seconds and 3 git commands to generate.