1 %define fversion %(echo %{version} | tr r - )
2 Summary: Cross-platform library for OpenGL rendering
3 Summary(pl): Wieloplatformowa biblioteka do renderingu OpenGL
9 Source0: http://www.andesengineering.com/Producer/Download/%{name}-%{fversion}.tar.gz
10 # Source0-md5: 889c99c47a3af7d8df03fb5584919cbe
12 Patch0: %{name}-soname.patch
13 Patch1: %{name}-notix86.patch
14 URL: http://www.andesengineering.com/Producer/index.html
15 BuildRequires: OpenGL-devel
16 BuildRequires: OpenThreads-devel
17 BuildRequires: XFree86-devel
18 BuildRequires: libstdc++-devel
19 Provides: OpenProducer = %{version}
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Open Producer (or simply Producer) is a cross-platform, C++ library
24 for managing OpenGL rendering contexts in a windowing system
25 independent manner. Producer provides a simple, yet powerfully
26 scalable approach for real-time 3D applications wishing to run within
27 a single window to large, multidisplay systems. Producer is highly
28 portable and has been tested on Linux, Windows, Mac OSX, Solaris and
29 IRIX. Producer works on all Unix based OS's (including Mac OSX)
30 through the X11 Windowing system, and through the native win32 on
31 Windows. Producer is written with productivity, performance and
32 scalability in mind by adhering to industry standard and employing
33 advanced software engineering practices. Software developers wishing
34 to produce 3D rendering software that can display on a desktop, and
35 move to a large system or clustered system of displays by simply
36 changing a configuration file, can depend on Open Producer to handle
37 all the complexity for them.
40 Open Producer (lub po prostu Producer) jest wieloplatformow±
41 bibliotek± C++ do zarz±dzania renderingiem OpenGL. Producer udostêpnia
42 prost±, ale skalowaln± mo¿liwo¶æ dla aplikacji czasu rzeczywistego 3D
43 od chc±cych uruchamiaæ siê w pojedynczym oknie a¿ do wielkich,
44 wieloekranowych systemów. Producer jest bardzo przeno¶ny i
45 przetestowany na Linuksie, Windows, MacOS X, Solarisie i IRIXie.
46 Producer dzia³a na wszystkich bazuj±cych na Uniksie systemach
47 (w³±czaj±c w to MacOS X) poprzez system okien X11 lub przez natywne
48 wywo³ania win32 na Windows. Producer by³ pisany z my¶l± o wydajno¶ci i
49 skalowalno¶ci uwzglêdniaj±c systemy produkcyjne. Autorzy
50 oprogramowania chc±cy tworzyæ aplikacje renderuj±ce 3D, które mog± siê
51 wy¶wietlaæ na ekranie lub przenie¶æ na wielki system lub klaster
52 systemów wy¶wietlaczy poprzez prost± zmianê plików konfiguracyjnych,
53 mog± polegaæ na Open Producer, ¿e obs³u¿y wszystko co jest potrzebne
57 Summary: Development files for Producer
58 Summary(pl): Pliki programistyczne biblioteki Producer
59 Group: Development/Libraries
60 Requires: %{name} = %{version}-%{release}
61 Requires: OpenThreads-devel
62 Requires: XFree86-devel
63 Requires: libstdc++-devel
66 Development files for Producent.
68 %description devel -l pl
69 Biblioteki programistyczne biblioteki Producer.
76 find -type d -name CVS |xargs rm -rf
80 CXX="%{__cxx} %{rpmcflags} -fPIC -fpermissive"
83 rm -rf $RPM_BUILD_ROOT
86 INST_LOCATION=$RPM_BUILD_ROOT%{_prefix} \
87 INST_LIBS=$RPM_BUILD_ROOT%{_libdir}
89 ln -sf `basename $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
91 install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
92 sed -e 's,^libdir=.*,libdir=%{_libdir},' %{SOURCE1} >$RPM_BUILD_ROOT%{_pkgconfigdir}/producer.pc
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
101 %defattr(644,root,root,755)
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*
105 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_includedir}/%{name}
109 %{_pkgconfigdir}/*.pc