1 Summary: OpenPTC for X11
2 Summary(pl): OpenPTC dla X11
8 Source0: http://www.gaffer.org/ptc/download/distributions/Unix/%{name}-%{version}.tar.gz
9 # from dead http://www.cs.ucl.ac.uk/students/c.nentwich/ptc/%{name}-1.0.0-1.0.0-2.patch
10 Patch0: %{name}-1.0.0-1.0.0-2.patch
11 URL: http://www.gaffer.org/ptc/ptc.html
12 Requires: Hermes >= 1.2.4
13 BuildRequires: Hermes-devel >= 1.2.4
14 BuildRequires: XFree86-devel
15 BuildRequires: libstdc++-devel >= 2.10.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Prometheus Truecolour (OpenPTC) is a third-generation standard for
20 cross platform low-level graphics access. A lot of design experience
21 has gone into it to provide one of the cleanest APIs available for
24 OpenPTC will provide you with a frame-buffer to draw into. You can
25 choose that buffer to use a pixel format convenient for you, OpenPTC
26 will convert it to the video modes on the target platform, using
27 highly optimised x86 and MMX routines where available. This is
28 achieved using the HERMES ((c)1998/99 Christian Nentwich et al) pixel
31 OpenPTC 1.0 is available for X11, GGI (Linux), Win32, DOS and JAVA.
32 Work for other platforms is in progress. All implementations of PTC
33 come with full source code and may be used free of charge even in
37 Prometheus Truecolour (OpenPTC) jest trzeci± generacj± standardu dla
38 wieloplatformowej niskopoziomowej grafiki. Umo¿liwia operacje na
39 frame-bufferze oraz konwersj± (przy pomocy biblioteki Hermes) na ró¿ne
42 OpenPTC jest dostêpne dla X11, GGI, Win32, DOS i JAVA.
45 Summary: OpenPTC development package
46 Summary(pl): Pakiet programistyczny dla OpenPTC
47 Group: Development/Libraries
48 Requires: %{name} = %{version}
51 OpenPTC development package.
53 %description -l pl devel
54 Pakiet programistyczny dla OpenPTC.
57 Summary: OpenPTC static libraries
58 Summary(pl): Biblioteki statyczne dla OpenPTC
59 Group: Development/Libraries
60 Requires: %{name}-devel = %{version}
63 OpenPTC static libraries.
65 %description -l pl static
66 Biblioteki statyczne dla OpenPTC.
72 # Hack to avoid question in configure
73 LDFLAGS="%{rpmldflags}" \
75 ./configure %{_target_platform} \
79 CC="c++ %{rpmcflags} -fno-rtti -fno-implicit-templates"
82 rm -rf $RPM_BUILD_ROOT
83 %{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
85 %post -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
89 rm -rf $RPM_BUILD_ROOT
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96 %defattr(644,root,root,755)
97 %doc README BUGS CHANGES TODO docs demos examples
98 %attr(755,root,root) %{_bindir}/ptc-config
103 %defattr(644,root,root,755)