Author: qboosh Date: Thu Dec 28 00:26:28 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: libsgml.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/libsgml.spec diff -u /dev/null SPECS/libsgml.spec:1.1 --- /dev/null Thu Dec 28 01:26:28 2006 +++ SPECS/libsgml.spec Thu Dec 28 01:26:22 2006 @@ -0,0 +1,98 @@ +# $Revision$, $Date$ +Summary: Small, fast, state based SGML parser +Summary(pl): Mały, szybki, oparty na stanach parser SGML-a +Name: libsgml +Version: 1.1.4 +Release: 1 +License: free (see License) +Group: Libraries +Source0: http://www.hick.org/code/skape/libsgml/%{name}-%{version}.tar.gz +# Source0-md5: a3ba2f8c19faf1a53182d9c6fab22e58 +Patch0: %{name}-opt.patch +URL: http://www.hick.org/code/skape/libsgml/docs/ +BuildRequires: autoconf +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +libsgml is a small, fast, state based SGML parser. It supports: + - HTML DOM parsing with tag escaping and text, comment, and element + stripping, + - XML DOM parsing, + - Custom SGML parsing. + +%description -l pl +libsgml to mały, szybki, oparty na stanach parser SGML-a. Obsługuje: + - analizę HTML DOM z cytowaniem znaczników i usuwaniem tekstu, + komentarzy i elementów, + - analizę XML DOM, + - analizę własnego SGML-a. + +%package devel +Summary: Header files for libsgml library +Summary(pl): Pliki nagłówkowe biblioteki libsgml +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for libsgml library. + +%description devel -l pl +Pliki nagłówkowe biblioteki libsgml. + +%package static +Summary: Static libsgml library +Summary(pl): Statyczna biblioteka libsgml +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static libsgml library. + +%description static -l pl +Statyczna biblioteka libsgml. + +%prep +%setup -q +%patch0 -p1 + +%build +%{__autoconf} +%configure +%{__make} \ + DEBUG="%{rpmcflags} -fPIC" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/sgml} + +install libsgml.so libsgml.a $RPM_BUILD_ROOT%{_libdir} +install include/*.h $RPM_BUILD_ROOT%{_includedir}/sgml + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc Bugs ChangeLog License README TODO +%attr(755,root,root) %{_libdir}/libsgml.so + +%files devel +%defattr(644,root,root,755) +%doc docs/html/* +%{_includedir}/sgml + +%files static +%defattr(644,root,root,755) +%{_libdir}/libsgml.a + +%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/12/28 00:26:22 qboosh +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
