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