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