SPECS: tcl-more.spec - updated
arekm
arekm at pld-linux.org
Wed Sep 17 11:19:00 CEST 2008
Author: arekm Date: Wed Sep 17 09:19:00 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated
---- Files affected:
SPECS:
tcl-more.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/tcl-more.spec
diff -u SPECS/tcl-more.spec:1.1 SPECS/tcl-more.spec:1.2
--- SPECS/tcl-more.spec:1.1 Wed Jun 4 19:11:11 2008
+++ SPECS/tcl-more.spec Wed Sep 17 11:18:55 2008
@@ -1,4 +1,5 @@
# $Revision$, $Date$
+%bcond_without test
Summary: A C language extension library for TCL
Name: tcl-more
Version: 0.7
@@ -16,9 +17,23 @@
commands to a TCL interpreter and a set of C API functions accessible
through the stub mechanism.
+%package devel
+Summary: Header files and develpment documentation for tcl-more
+Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do tcl-more
+Group: Development/Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files and develpment documentation for tcl-more.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i dokumetacja do tcl-more.
+
%prep
%setup -q -n tclmore_%{version}b1
+sed -i -e 's#/home/devel/src/C/tcl/tclmore/main--0.7/##g' Makefile*
+
%build
%configure \
--enable-threads \
@@ -26,24 +41,44 @@
--enable-64bit
%{__make}
+%{?with_tests:%{__make} test}
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR="$RPM_BUILD_ROOT"
+ INSTALL_ROOT="$RPM_BUILD_ROOT"
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%post devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
+%postun devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
+
%files
%defattr(644,root,root,755)
-%doc ChangeLog README
-%dir %{_libdir}/more*
-%attr(755,root,root) %{_libdir}/more*/libmore*.so
-%{_libdir}/more*/*.tcl
-%{_mandir}/man*/more*
+%doc BUGS README TODO
+%dir %{_libdir}/tclmore*
+%attr(755,root,root) %{_libdir}/libtclmore[0-9].[0-9].[0-9].so
+%{_libdir}/tclmore*/*.tcl
+%attr(755,root,root) %{_libdir}/tclmore*/tclcommand.*
+%{_infodir}/tclmore.info*
+
+%files devel
+%defattr(644,root,root,755)
+%{_aclocaldir}/*.m4
+%{_includedir}/*.h
+%attr(755,root,root) %{_libdir}/libtclmore[0-9].[0-9].so
+%attr(755,root,root) %{_libdir}/libtclmore[0-9].so
+%{_libdir}/libtclmore*.a
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -51,6 +86,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
-Revision 1.1 2008/06/04 17:11:11 arekm
+Revision 1.2 2008/09/17 09:18:55 arekm
+- updated
+
+Revision 1.1 2008-06-04 17:11:11 arekm
- raw/unfinished
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tcl-more.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list