1 Summary: Simple and powerful template language for C++
7 Source0: http://google-ctemplate.googlecode.com/files/%{name}-%{version}.tar.gz
8 # Source0-md5: 0270ab187e32f31cd759736049d4d1bb
9 URL: http://code.google.com/p/google-ctemplate/
10 BuildRequires: libstdc++-devel
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 CTemplate is a simple and powerful template language for C++. It
15 emphasizes separating logic from presentation: it is impossible to
16 embed application logic in this template language.
19 Summary: CTemplate library
20 Summary(pl.UTF-8): Biblioteka CTemplate
24 This package contains CTemplate library.
26 %description libs -l pl.UTF-8
27 Ten pakiet zawiera bibliotekę CTemplate.
30 Summary: CTemplate documentation
31 Summary(pl.UTF-8): Dokumentacja CTemplate
32 Group: Development/Libraries
35 CTemplate documentation.
37 %description doc -l pl.UTF-8
38 Dokumentacja CTemplate.
41 Summary: Header files for CTemplate
42 Summary(pl.UTF-8): Pliki nagłówkowe CTemplate
43 Group: Development/Libraries
44 Requires: %{name}-libs = %{version}-%{release}
47 Header files for CTemplate.
49 %description devel -l pl.UTF-8
50 Pliki nagłówkowe CTemplate.
53 Summary: Static CTemplate library
54 Summary(pl.UTF-8): Statyczna biblioteka CTemplate
55 Group: Development/Libraries
56 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
59 Static CTemplate library.
61 %description static -l pl.UTF-8
62 Statyczna biblioteka CTemplate.
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
81 %post libs -p /sbin/ldconfig
82 %postun libs -p /sbin/ldconfig
85 %defattr(644,root,root,755)
86 %attr(755,root,root) %{_bindir}/diff_tpl_auto_escape
87 %attr(755,root,root) %{_bindir}/make_tpl_varnames_h
88 %attr(755,root,root) %{_bindir}/template-converter
91 %defattr(644,root,root,755)
95 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libctemplate*.so
97 %attr(755,root,root) %{_libdir}/libctemplate*.la
98 %dir %{_includedir}/google
99 %{_includedir}/google/*.h
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_libdir}/libctemplate*.so.*.*.*
104 %ghost %attr(755,root,root) %{_libdir}/libctemplate*.so.?
107 %defattr(644,root,root,755)
108 %{_libdir}/libctemplate*.a