SPECS: tcl-tdom.spec - files fix (tdomConfig.sh is a script, not dir) - sep...

qboosh qboosh at pld-linux.org
Wed Jun 25 19:45:02 CEST 2008


Author: qboosh                       Date: Wed Jun 25 17:45:02 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- files fix (tdomConfig.sh is a script, not dir)
- separated -devel

---- Files affected:
SPECS:
   tcl-tdom.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/tcl-tdom.spec
diff -u SPECS/tcl-tdom.spec:1.4 SPECS/tcl-tdom.spec:1.5
--- SPECS/tcl-tdom.spec:1.4	Tue Jun 24 08:21:23 2008
+++ SPECS/tcl-tdom.spec	Wed Jun 25 19:44:56 2008
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+# TODO: system expat
 Summary:	XML parsing for Tcl
 Summary(pl.UTF-8):	Analizator XML-a dla Tcl-a
 Name:		tcl-tdom
@@ -26,6 +27,21 @@
 skryptowych; używa bardzo mało pamięci (np. drzewo DOM rekomendacji
 XML w XML-u, mające 160kB, potrzebuje tylko 450kB pamięci).
 
+%package devel
+Summary:	C development files for tDOM module
+Summary(pl.UTF-8):	Pliki programistyczne C dla modułu tDOM
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	tcl-devel >= 8.4.3
+# for header, even if system expat is not used
+Requires:	expat-devel
+
+%description devel
+C development files for tDOM module.
+
+%description devel -l pl.UTF-8
+Pliki programistyczne C dla modułu tDOM.
+
 %prep
 %setup -q -n tDOM-%{version}
 
@@ -49,13 +65,20 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog LICENSE README doc/*.html
-%dir %{_libdir}/tdom*.*
-%attr(755,root,root) %{_libdir}/tdom*.*/*.so
-%{_libdir}/tdom*.*/*.a
-%{_libdir}/tdom*.*/*.tcl
-%dir %{_libdir}/*.sh
-%{_includedir}/*.h
-%{_mandir}/mann/*
+%dir %{_libdir}/tdom%{version}
+%attr(755,root,root) %{_libdir}/tdom%{version}/libtdom%{version}.so
+%{_libdir}/tdom%{version}/tdom.tcl
+%{_libdir}/tdom%{version}/pkgIndex.tcl
+%{_mandir}/mann/dom*.n*
+%{_mandir}/mann/expat*.n*
+%{_mandir}/mann/tdomcmd.n*
+%{_mandir}/mann/tnc.n*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/tdom%{version}/libtdomstub%{version}.a
+%attr(755,root,root) %{_libdir}/tdomConfig.sh
+%{_includedir}/tdom.h
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -63,6 +86,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008/06/25 17:44:56  qboosh
+- files fix (tdomConfig.sh is a script, not dir)
+- separated -devel
+
 Revision 1.4  2008/06/24 06:21:23  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tcl-tdom.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list