]> git.pld-linux.org Git - packages/clearsilver.git/blob - clearsilver.spec
e2a3fcc8077904d702181d8e92c9f02c9303342a
[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 find . -type f -print0 | xargs -0 perl -pi -e "s!/usr/local/bin!/usr/bin!g" 
88
89 %build
90 install /usr/share/automake/config.* .
91 %{__aclocal}
92 %{__autoconf}
93 %configure \
94         --enable-apache \
95         --with-python=%{_bindir}/python \
96         --enable-perl \
97         --disable-csharp \
98         --disable-ruby \
99         --disable-java
100
101 %{__make}
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT \
108         INSTALLDIRS=vendor
109
110 %{__make} install -C python \
111         PYTHON_SITE=%{py_sitedir} \
112         DESTDIR=$RPM_BUILD_ROOT
113
114 %{__make} install -C perl \
115         DESTDIR=$RPM_BUILD_ROOT \
116         INSTALLDIRS=vendor
117
118 rm -rf $RPM_BUILD_ROOT%{perl_archlib} \
119         $RPM_BUILD_ROOT%{perl_vendorarch}/auto/*{,/*{,/*}}/.packlist
120
121 %clean
122 rm -rf $RPM_BUILD_ROOT
123
124 %files
125 %defattr(644,root,root,755)
126 %doc CS_LICENSE INSTALL LICENSE README scripts/cs_lint.py contrib/cs-mode.el
127 %attr(755,root,root) %{_bindir}/*
128 # XXX
129 %{_mandir}/man3/*.3.*
130
131 %files devel
132 %defattr(644,root,root,755)
133 %{_includedir}/ClearSilver
134 %{_libdir}/libneo_*.a
135
136 %files -n python-clearsilver
137 %defattr(644,root,root,755)
138 %doc README.python
139 %attr(755,root,root) %{py_sitedir}/neo_cgi.so
140
141 %files -n perl-ClearSilver
142 %defattr(644,root,root,755)
143 %{perl_vendorarch}/ClearSilver.pm
144 %{perl_vendorarch}/auto/ClearSilver
145 %{_mandir}/man3/*.3pm*
146
147 #%files -n ruby
148 #%defattr(644,root,root,755)
149 #{ruby_sitepath}/(ruby_version}/neo.rb
150 #%attr(755,root,root) {ruby_sitepath}/(ruby_version}/$(ruby_arch}/hdf.so
151
152 #%files -n mod_ecs
153 #%defattr(644,root,root,755)
154 #%attr(755,root,root) {apache_libexec}/mod_ecs.so
This page took 0.063125 seconds and 2 git commands to generate.