]> git.pld-linux.org Git - packages/OpenPTC-x11.git/commitdiff
- mv OpenPTC.spec OpenPTC-x11.spec to reflect Name
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 20 Dec 2002 16:35:28 +0000 (16:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    OpenPTC-x11.spec -> 1.1

OpenPTC-x11.spec [new file with mode: 0644]

diff --git a/OpenPTC-x11.spec b/OpenPTC-x11.spec
new file mode 100644 (file)
index 0000000..86bdf75
--- /dev/null
@@ -0,0 +1,103 @@
+Summary:       OpenPTC for X11
+Summary(pl):   OpenPTC dla X11
+Name:          OpenPTC-x11
+Version:       1.0.0
+Release:       4
+License:       LGPL
+Group:         Libraries
+Source0:       http://www.cs.ucl.ac.uk/students/c.nentwich/ptc/%{name}-%{version}.tar.gz
+Patch0:                http://www.cs.ucl.ac.uk/students/c.nentwich/ptc/%{name}-1.0.0-1.0.0-2.patch
+URL:           http://www.cs.ucl.ac.uk/students/c.nentwich/ptc/
+Requires:      Hermes >= 1.2.4
+BuildRequires: Hermes-devel >= 1.2.4
+BuildRequires: XFree86-devel
+BuildRequires: libstdc++-devel >= 2.10.0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Prometheus Truecolour (OpenPTC) is a third-generation standard for
+cross platform low-level graphics access. A lot of design experience
+has gone into it to provide one of the cleanest APIs available for
+this kind of purpose.
+
+OpenPTC will provide you with a frame-buffer to draw into. You can
+choose that buffer to use a pixel format convenient for you, OpenPTC
+will convert it to the video modes on the target platform, using
+highly optimised x86 and MMX routines where available. This is
+achieved using the HERMES ((c)1998/99 Christian Nentwich et al) pixel
+conversion library.
+
+OpenPTC 1.0 is available for X11, GGI (Linux), Win32, DOS and JAVA.
+Work for other platforms is in progress. All implementations of PTC
+come with full source code and may be used free of charge even in
+commercial projects.
+
+%description -l pl
+Prometheus Truecolour (OpenPTC) jest trzeci± generacj± standardu dla
+wieloplatformowej niskopoziomowej grafiki. Umo¿liwia operacje na
+frame-bufferze oraz konwersj± (przy pomocy biblioteki Hermes) na ró¿ne
+tryby graficzne.
+
+OpenPTC jest dostêpne dla X11, GGI, Win32, DOS i JAVA.
+
+%package devel
+Summary:       OpenPTC development package
+Summary(pl):   Pakiet programistyczny dla OpenPTC
+Group:         Development/Libraries
+Requires:      %{name} = %{version}
+
+%description devel
+OpenPTC development package.
+
+%description -l pl devel
+Pakiet programistyczny dla OpenPTC.
+
+%package static
+Summary:       OpenPTC static libraries
+Summary(pl):   Biblioteki statyczne dla OpenPTC
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}
+
+%description static
+OpenPTC static libraries.
+
+%description -l pl static
+Biblioteki statyczne dla OpenPTC.
+
+%prep
+%setup -q
+
+%build
+# Hack to avoid question in configure
+LDFLAGS="%{rpmldflags}" \
+echo y | \
+./configure %{_target_platform} \
+       --prefix=%{_prefix}
+
+%{__make} ptclib \
+       CC="c++ %{rpmcflags} -fno-rtti -fno-implicit-templates"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} prefix=$RPM_BUILD_ROOT%{_prefix} install
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%doc README BUGS CHANGES TODO docs demos examples
+%attr(755,root,root) %{_bindir}/ptc-config
+%{_libdir}/lib*.so
+%{_includedir}/ptc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.084418 seconds and 4 git commands to generate.