]>
Commit | Line | Data |
---|---|---|
574db537 | 1 | %define fversion %(echo %{version} | tr r - ) |
77963b3d | 2 | Summary: Cross-platform library for OpenGL rendering |
3 | Summary(pl): Wieloplatformowa biblioteka do renderingu OpenGL | |
c3d2a9ff | 4 | Name: Producer |
5 | Version: 0.8.4r2 | |
6 | Release: 1 | |
c3d2a9ff | 7 | License: LGPL |
8 | Group: Libraries | |
9 | Source0: http://www.andesengineering.com/Producer/Download/%{name}-%{fversion}.tar.gz | |
74096703 | 10 | # Source0-md5: 9e14c27a0e927a19bb3666fa73755652 |
11 | Patch0: %{name}-soname.patch | |
c3d2a9ff | 12 | URL: http://www.andesengineering.com/Producer/index.html |
13 | Provides: OpenProducer = %{version} | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | Open Producer (or simply Producer) is a cross-platform, C++ library | |
18 | for managing OpenGL rendering contexts in a windowing system | |
19 | independent manner. Producer provides a simple, yet powerfully | |
20 | scalable approach for real-time 3D applications wishing to run within | |
21 | a single window to large, multidisplay systems. Producer is highly | |
22 | portable and has been tested on Linux, Windows, Mac OSX, Solaris and | |
23 | IRIX. Producer works on all Unix based OS's (including Mac OSX) | |
24 | through the X11 Windowing system, and through the native win32 on | |
25 | Windows. Producer is written with productivity, performance and | |
26 | scalability in mind by adhering to industry standard and employing | |
27 | advanced software engineering practices. Software developers wishing | |
28 | to produce 3D rendering software that can display on a desktop, and | |
29 | move to a large system or clustered system of displays by simply | |
30 | changing a configuration file, can depend on Open Producer to handle | |
31 | all the complexity for them. | |
32 | ||
33 | %package devel | |
34 | Summary: Devel files for Producent | |
35 | Summary(pl): Pliki developerskie dla Producer | |
36 | Group: Development/Libraries | |
74096703 | 37 | Requires: %{name} = %{version}-%{release} |
c3d2a9ff | 38 | |
39 | %description devel | |
40 | Devel files for Producent. | |
41 | ||
77963b3d | 42 | %description devel -l pl |
43 | Biblioteki programistyczne dla Producent. | |
44 | ||
c3d2a9ff | 45 | %prep |
46 | %setup -q -n %{name} | |
74096703 | 47 | %patch0 -p0 |
48 | ||
c3d2a9ff | 49 | find -type d -name CVS |xargs rm -rf |
50 | ||
51 | %build | |
52 | %{__make} \ | |
53 | CXX="%{__cxx} %{rpmcflags} -fPIC -fpermissive" | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | %{__make} install \ | |
58 | INST_LOCATION=$RPM_BUILD_ROOT%{_prefix} | |
74096703 | 59 | ln -sf `basename $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so |
c3d2a9ff | 60 | |
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %attr(755,root,root) %{_libdir}/lib*.so.* | |
67 | ||
68 | %files devel | |
69 | %defattr(644,root,root,755) | |
70 | %doc README.txt doc | |
71 | %{_includedir}/%{name} | |
72 | %attr(755,root,root) %{_libdir}/lib*.so |