2 # - modify the library to build dynamic-one
3 Summary: Templates library written in C
4 Summary(pl.UTF-8): Biblioteka szablonów napisana w C
10 Source0: http://www.lazarusid.com/download/libs/%{name}-%{version}.tar.gz
11 # Source0-md5: 9b01650c4f3e51efe9cbb6a1dddcf30d
12 Patch0: %{name}-CC.patch
13 URL: http://www.lazarusid.com/libtemplate.shtml
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 If you're tired of recompiling your CGI program every time somebody
18 wants to change the HTML, you need to check out templates. Libtemplate
19 is an easy to use C interface that will let you use the same sort of
20 templates used in Lazarus applications.
22 This software is free to use on any web site, commercial or otherwise.
23 A technical support contract, including installation and compiling
24 assistance, may be purchased.
26 %description -l pl.UTF-8
27 Jeżeli rekompilowanie programu CGI za każdym razem kiedy ktoś chce
28 zmienić kod HTML staje się męczące, pora wybróbować szablony.
29 Libtemplate to łatwy w użyciu interfejs C pozwalający używać tego
30 samego rodzaju szablonów, co w aplikacjach Lazarusa.
32 Ten kod jest darmowy do używania na dowolnych stronach WWW, także
33 komercyjnych. Można natomiast opłacić wsparcie techniczne, wraz z
34 pomocą przy instalacji i kompilacji.
37 Summary: Header files for libtemplate library
38 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libtemplate
39 Group: Development/Libraries
40 Requires: %{name} = %{version}-%{release}
43 Header files for libtemplate library.
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe biblioteki libtemplate.
55 CFLAGS="%{rpmcflags} -Wall -fpic"
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
62 INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix} \
63 INCLUDE_DIR=$RPM_BUILD_ROOT%{_includedir} \
64 LIB_DIR=$RPM_BUILD_ROOT%{_libdir}
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
71 %doc CHANGELOG template-engine.pdf
72 #%attr(755,root,root) %{_libdir}/lib*.so.*.*
75 %defattr(644,root,root,755)
76 # XXX: move to -static after creating shared lib