Author: arekm Date: Wed Sep 17 09:24:07 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - updated
---- Files affected: SPECS: tcl-z.spec (1.2 -> 1.3) ---- Diffs: ================================================================ Index: SPECS/tcl-z.spec diff -u SPECS/tcl-z.spec:1.2 SPECS/tcl-z.spec:1.3 --- SPECS/tcl-z.spec:1.2 Tue Sep 16 22:08:41 2008 +++ SPECS/tcl-z.spec Wed Sep 17 11:24:01 2008 @@ -8,7 +8,7 @@ Source0: http://sgolovan.nes.ru/jabber/ztcl/ztcl/ztcl_%{version}b4_src.tar.gz # Source0-md5: 32c2ae026ca12a370b56f7f1155ae90c BuildRequires: tcl-devel >= 8.4.3 -Requires: tcl-ztcl +BuildRequires: tcl-more-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -16,9 +16,23 @@ implements an interface to the ZLIB compression and decompression library, the one used by GZIP. +%package devel +Summary: Header files and develpment documentation for tcl-z +Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do tcl-z +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description devel +Header files and develpment documentation for tcl-z. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe i dokumetacja do tcl-z. + %prep %setup -q -n ztcl_%{version}b4 +sed -i -e 's#/home/devel/src/C/tcl/ztcl/main--1.0/##g' Makefile* + %build %configure \ --enable-threads \ @@ -31,19 +45,35 @@ 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 +%doc README %dir %{_libdir}/ztcl* -%attr(755,root,root) %{_libdir}/ztcl*/libztcl*.so +%attr(755,root,root) %{_libdir}/libztcl[0-9].[0-9].[0-9].so %{_libdir}/ztcl*/*.tcl -%{_mandir}/man*/ztcl* +%{_infodir}/ztcl.info* + +%files devel +%defattr(644,root,root,755) +%{_aclocaldir}/*.m4 +%{_includedir}/*.h +%attr(755,root,root) %{_libdir}/libztcl[0-9].[0-9].so +%attr(755,root,root) %{_libdir}/libztcl[0-9].so +%{_libdir}/libztcl*.a %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -51,6 +81,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.3 2008/09/17 09:24:01 arekm +- updated + Revision 1.2 2008/09/16 20:08:41 arekm - fix name ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/tcl-z.spec?r1=1.2&r2=1.3&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
