1 Summary: Doublecpp - double dispatch in C++
2 Summary(pl.UTF-8): Doublecpp - podwójna dyspozycja w C++
7 Group: Development/Tools
8 Source0: http://downloads.sourceforge.net/doublecpp/%{name}-%{version}.tar.gz
9 # Source0-md5: 0537ff74de82901f2e3bd92aaa677b3d
10 Patch0: %{name}-includes.patch
11 URL: http://doublecpp.sourceforge.net/
12 BuildRequires: libstdc++-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Doublecpp is a preprocessor for C++ that handles a new linguistic
17 construct for defining branches of a multi-method. The "right" branch
18 of such a method will be selected dynamically at run-time according to
19 the actual type of the object on which the method is invoked and to
20 the actual type of the first argument: double dispatch.
22 %description -l pl.UTF-8
23 Doublecpp to preprocesor dla C++ obsługujący nową konstrukcję językową
24 do definiowania odgałęzień multi-metody. Właściwa gałąź takiej metody
25 jest wybierana dynamicznie w czasie działania zgodnie z typem obiektu,
26 z jakim została wywołana metoda oraz typem pierwszego argumentu:
35 %{!?with_static_libs:--disable-static}
39 rm -rf $RPM_BUILD_ROOT
42 DESTDIR=$RPM_BUILD_ROOT
45 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/doublecpp
48 rm -rf $RPM_BUILD_ROOT
50 %post -p /sbin/ldconfig
51 %postun -p /sbin/ldconfig
54 %defattr(644,root,root,755)
55 %doc AUTHORS ChangeLog NEWS README TODO doc/doublecpp.html
56 %attr(755,root,root) %{_bindir}/doublecpp