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