Author: duddits Date: Thu Mar 19 21:14:22 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - up to 1.2.7 - quick fix for CLK_TCK (CLOCKS_PER_SEC is the right one now) - acam.patch obsoleted - some missing %dirs added - examples - %files
---- Files affected: SPECS: cdl3.spec (1.13 -> 1.14) ---- Diffs: ================================================================ Index: SPECS/cdl3.spec diff -u SPECS/cdl3.spec:1.13 SPECS/cdl3.spec:1.14 --- SPECS/cdl3.spec:1.13 Thu Jan 24 02:22:59 2008 +++ SPECS/cdl3.spec Thu Mar 19 22:14:16 2009 @@ -2,13 +2,12 @@ Summary: CDL3 System - compiler Summary(pl.UTF-8): Kompilator systemu CDL3 Name: cdl3 -Version: 1.2.3 +Version: 1.2.7 Release: 1 License: GPL Group: Development/Languages Source0: ftp://ftp.cs.kun.nl/pub/cdl3/%{name}-%{version}.tar.gz -# Source0-md5: 60b7a5fed2ac27f4dfe90ff9ae292bce -Patch0: %{name}-acam.patch +# Source0-md5: d028bf290af22ec8c90ea11ca9a88fda BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool @@ -43,9 +42,21 @@ protokołami lub systemy w stylu interpreterów, interaktywnie reagujące na zestaw poleceń. +%package examples +Summary: CDL3 - example of use +Summary(pl.UTF-8): CDL3 - przykłady wykorzystania +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description examples +CDL3 - example of use. + +%description examples -l pl.UTF-8 +CDL3 - przykłady wykorzystania. + %prep %setup -q -%patch0 -p1 +%{__sed} -i -e 's,CLK_TCK,CLOCKS_PER_SEC,g' rts/cdl3rts.c %build cp -f /usr/share/automake/config.sub . @@ -59,10 +70,14 @@ %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_includedir},%{_examplesdir}/%{name}-%{version}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +mv -f $RPM_BUILD_ROOT%{_datadir}/cdl3/include/*.h $RPM_BUILD_ROOT%{_includedir} +mv -f $RPM_BUILD_ROOT%{_datadir}/cdl3/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + %clean rm -rf $RPM_BUILD_ROOT @@ -75,11 +90,15 @@ %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README TODO docs/*.ps docs/*.k3 -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/cdlc %{_includedir}/* %{_libdir}/lib*.a %{_libdir}/lib*.la -%{_mandir}/man[13n]/* +%{_mandir}/man[137n]/* + +%files examples +%defattr(644,root,root,755) +%{_examplesdir}/%{name}-%{version} %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -87,6 +106,14 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.14 2009/03/19 21:14:16 duddits +- up to 1.2.7 +- quick fix for CLK_TCK (CLOCKS_PER_SEC is the right one now) +- acam.patch obsoleted +- some missing %dirs added +- examples +- %files + Revision 1.13 2008/01/24 01:22:59 glen - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/cdl3.spec?r1=1.13&r2=1.14&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
