1 %define fversion %(echo %{version} | tr r -)
2 Summary: Cross-platform libray for Opengl rendering
9 Source0: http://www.andesengineering.com/Producer/Download/%{name}-%{fversion}.tar.gz
10 URL: http://www.andesengineering.com/Producer/index.html
11 Provides: OpenProducer = %{version}
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Open Producer (or simply Producer) is a cross-platform, C++ library
16 for managing OpenGL rendering contexts in a windowing system
17 independent manner. Producer provides a simple, yet powerfully
18 scalable approach for real-time 3D applications wishing to run within
19 a single window to large, multidisplay systems. Producer is highly
20 portable and has been tested on Linux, Windows, Mac OSX, Solaris and
21 IRIX. Producer works on all Unix based OS's (including Mac OSX)
22 through the X11 Windowing system, and through the native win32 on
23 Windows. Producer is written with productivity, performance and
24 scalability in mind by adhering to industry standard and employing
25 advanced software engineering practices. Software developers wishing
26 to produce 3D rendering software that can display on a desktop, and
27 move to a large system or clustered system of displays by simply
28 changing a configuration file, can depend on Open Producer to handle
29 all the complexity for them.
32 Summary: Devel files for Producent
33 Summary(pl): Pliki developerskie dla Producer
34 Group: Development/Libraries
37 Devel files for Producent.
41 find -type d -name CVS |xargs rm -rf
45 CXX="%{__cxx} %{rpmcflags} -fPIC -fpermissive"
48 rm -rf $RPM_BUILD_ROOT
50 INST_LOCATION=$RPM_BUILD_ROOT%{_prefix}
52 mv $RPM_BUILD_ROOT%{_prefix}/lib/libProducer.so $RPM_BUILD_ROOT%{_libdir}/libProducer.so.0
53 ln -s libProducer.so.0 $RPM_BUILD_ROOT%{_libdir}/libProducer.so
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_libdir}/lib*.so.*
63 %defattr(644,root,root,755)
65 %{_includedir}/%{name}
66 %attr(755,root,root) %{_libdir}/lib*.so