Author: blues Date: Sat Mar 11 20:39:39 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - initial release
---- Files affected: SPECS: libtemplate.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libtemplate.spec diff -u /dev/null SPECS/libtemplate.spec:1.1 --- /dev/null Sat Mar 11 21:39:39 2006 +++ SPECS/libtemplate.spec Sat Mar 11 21:39:33 2006 @@ -0,0 +1,77 @@ +# $Revision$, $Date$ +# TODO: +# - modify the library to build dynamic-one +Summary: Templates library written in C +Name: libtemplate +Version: 1.5 +Release: 1 +License: unknown +Group: Libraries +Source0: http://www.lazarusid.com/download/libs/%{name}-%{version}.tar.gz +# Source0-md5: 9b01650c4f3e51efe9cbb6a1dddcf30d +Patch0: %{name}-CC.patch +URL: http://www.lazarusid.com/libtemplate.shtml +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +If you're tired of recompiling your CGI program every time somebody wants +to change the HTML, you need to check out templates. Libtemplate is an +easy to use C interface that will let you use the same sort of templates +used in Lazarus applications. + +This software is free to use on any web site, commercial or otherwise. +A technical support contract, including installation and compiling +assistance, may be purchased. + +%package devel +Summary: Header files for libtemplate library +Summary(pl): Pliki nagłówkowe biblioteki libtemplate +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for libtemplate library. + +%description devel -l pl +Pliki nagłówkowe biblioteki libtemplate. + +%prep +%setup -q +%patch0 -p1 + +%build +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -Wall -fpic" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}} + +%{__make} install \ + INSTALL_DIR=$RPM_BUILD_ROOT%{_prefix} \ + INCLUDE_DIR=$RPM_BUILD_ROOT%{_includedir} \ + LIB_DIR=$RPM_BUILD_ROOT%{_libdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGELOG template-engine.pdf +%attr(755,root,root) %{_libdir}/lib*.a + +%files devel +%defattr(644,root,root,755) +%{_includedir}/*.h + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/03/11 20:39:33 blues +- initial release + + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
