]> git.pld-linux.org Git - packages/Producer.git/blame - Producer.spec
- converted to UTF-8
[packages/Producer.git] / Producer.spec
CommitLineData
574db537 1%define fversion %(echo %{version} | tr r - )
77963b3d 2Summary: Cross-platform library for OpenGL rendering
aa731f8d 3Summary(pl.UTF-8): Wieloplatformowa biblioteka do renderingu OpenGL
c3d2a9ff 4Name: Producer
98eefe27 5Version: 0.8.5r3
c3d2a9ff 6Release: 1
c3d2a9ff 7License: LGPL
8Group: Libraries
9Source0: http://www.andesengineering.com/Producer/Download/%{name}-%{fversion}.tar.gz
98eefe27 10# Source0-md5: 889c99c47a3af7d8df03fb5584919cbe
579c86ee 11Source1: %{name}.pc
74096703 12Patch0: %{name}-soname.patch
fe0f8aae 13Patch1: %{name}-notix86.patch
c3d2a9ff 14URL: http://www.andesengineering.com/Producer/index.html
a6dd4e13 15BuildRequires: OpenGL-devel
16BuildRequires: OpenThreads-devel
0d2b14c0 17BuildRequires: XFree86-devel
a6dd4e13 18BuildRequires: libstdc++-devel
2d202f8d 19Provides: OpenProducer = %{version}
c3d2a9ff 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Open Producer (or simply Producer) is a cross-platform, C++ library
24for managing OpenGL rendering contexts in a windowing system
25independent manner. Producer provides a simple, yet powerfully
26scalable approach for real-time 3D applications wishing to run within
27a single window to large, multidisplay systems. Producer is highly
28portable and has been tested on Linux, Windows, Mac OSX, Solaris and
29IRIX. Producer works on all Unix based OS's (including Mac OSX)
30through the X11 Windowing system, and through the native win32 on
31Windows. Producer is written with productivity, performance and
32scalability in mind by adhering to industry standard and employing
33advanced software engineering practices. Software developers wishing
34to produce 3D rendering software that can display on a desktop, and
35move to a large system or clustered system of displays by simply
36changing a configuration file, can depend on Open Producer to handle
37all the complexity for them.
38
aa731f8d
JR
39%description -l pl.UTF-8
40Open Producer (lub po prostu Producer) jest wieloplatformową
41biblioteką C++ do zarządzania renderingiem OpenGL. Producer udostępnia
42prostą, ale skalowalną możliwość dla aplikacji czasu rzeczywistego 3D
43od chcących uruchamiać się w pojedynczym oknie aż do wielkich,
44wieloekranowych systemów. Producer jest bardzo przenośny i
d7708841 45przetestowany na Linuksie, Windows, MacOS X, Solarisie i IRIXie.
aa731f8d
JR
46Producer działa na wszystkich bazujących na Uniksie systemach
47(włączając w to MacOS X) poprzez system okien X11 lub przez natywne
48wywołania win32 na Windows. Producer był pisany z myślą o wydajności i
49skalowalności uwzględniając systemy produkcyjne. Autorzy
50oprogramowania chcący tworzyć aplikacje renderujące 3D, które mogą się
51wyświetlać na ekranie lub przenieść na wielki system lub klaster
52systemów wyświetlaczy poprzez prostą zmianę plików konfiguracyjnych,
53mogą polegać na Open Producer, że obsłuży wszystko co jest potrzebne
d7708841 54dla nich.
55
c3d2a9ff 56%package devel
2d202f8d 57Summary: Development files for Producer
aa731f8d 58Summary(pl.UTF-8): Pliki programistyczne biblioteki Producer
c3d2a9ff 59Group: Development/Libraries
74096703 60Requires: %{name} = %{version}-%{release}
0d2b14c0
JB
61Requires: OpenThreads-devel
62Requires: XFree86-devel
512e9d17 63Requires: libstdc++-devel
c3d2a9ff 64
65%description devel
2d202f8d 66Development files for Producent.
c3d2a9ff 67
aa731f8d 68%description devel -l pl.UTF-8
2d202f8d 69Biblioteki programistyczne biblioteki Producer.
77963b3d 70
c3d2a9ff 71%prep
72%setup -q -n %{name}
98eefe27 73%patch0 -p1
fe0f8aae 74%patch1 -p1
74096703 75
c3d2a9ff 76find -type d -name CVS |xargs rm -rf
77
78%build
79%{__make} \
80 CXX="%{__cxx} %{rpmcflags} -fPIC -fpermissive"
81
82%install
83rm -rf $RPM_BUILD_ROOT
2d202f8d 84
c3d2a9ff 85%{__make} install \
0d2b14c0
JB
86 INST_LOCATION=$RPM_BUILD_ROOT%{_prefix} \
87 INST_LIBS=$RPM_BUILD_ROOT%{_libdir}
88
74096703 89ln -sf `basename $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
0d2b14c0 90
579c86ee 91install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
0d2b14c0 92sed -e 's,^libdir=.*,libdir=%{_libdir},' %{SOURCE1} >$RPM_BUILD_ROOT%{_pkgconfigdir}/producer.pc
c3d2a9ff 93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
579c86ee 97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
c3d2a9ff 100%files
101%defattr(644,root,root,755)
0d2b14c0 102%attr(755,root,root) %{_libdir}/lib*.so.*.*
c3d2a9ff 103
104%files devel
105%defattr(644,root,root,755)
106%doc README.txt doc
c3d2a9ff 107%attr(755,root,root) %{_libdir}/lib*.so
2d202f8d 108%{_includedir}/%{name}
579c86ee 109%{_pkgconfigdir}/*.pc
This page took 0.140685 seconds and 4 git commands to generate.