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