]>
Commit | Line | Data |
---|---|---|
574db537 | 1 | %define fversion %(echo %{version} | tr r - ) |
77963b3d | 2 | Summary: Cross-platform library for OpenGL rendering |
aa731f8d | 3 | Summary(pl.UTF-8): Wieloplatformowa biblioteka do renderingu OpenGL |
c3d2a9ff | 4 | Name: Producer |
98eefe27 | 5 | Version: 0.8.5r3 |
c3d2a9ff | 6 | Release: 1 |
c3d2a9ff | 7 | License: LGPL |
8 | Group: Libraries | |
9 | Source0: http://www.andesengineering.com/Producer/Download/%{name}-%{fversion}.tar.gz | |
98eefe27 | 10 | # Source0-md5: 889c99c47a3af7d8df03fb5584919cbe |
579c86ee | 11 | Source1: %{name}.pc |
74096703 | 12 | Patch0: %{name}-soname.patch |
fe0f8aae | 13 | Patch1: %{name}-notix86.patch |
c3d2a9ff | 14 | URL: http://www.andesengineering.com/Producer/index.html |
a6dd4e13 | 15 | BuildRequires: OpenGL-devel |
16 | BuildRequires: OpenThreads-devel | |
0d2b14c0 | 17 | BuildRequires: XFree86-devel |
a6dd4e13 | 18 | BuildRequires: libstdc++-devel |
2d202f8d | 19 | Provides: OpenProducer = %{version} |
c3d2a9ff | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
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. | |
38 | ||
aa731f8d JR |
39 | %description -l pl.UTF-8 |
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 | |
d7708841 | 45 | przetestowany na Linuksie, Windows, MacOS X, Solarisie i IRIXie. |
aa731f8d JR |
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 | |
d7708841 | 54 | dla nich. |
55 | ||
c3d2a9ff | 56 | %package devel |
2d202f8d | 57 | Summary: Development files for Producer |
aa731f8d | 58 | Summary(pl.UTF-8): Pliki programistyczne biblioteki Producer |
c3d2a9ff | 59 | Group: Development/Libraries |
74096703 | 60 | Requires: %{name} = %{version}-%{release} |
0d2b14c0 JB |
61 | Requires: OpenThreads-devel |
62 | Requires: XFree86-devel | |
512e9d17 | 63 | Requires: libstdc++-devel |
c3d2a9ff | 64 | |
65 | %description devel | |
2d202f8d | 66 | Development files for Producent. |
c3d2a9ff | 67 | |
aa731f8d | 68 | %description devel -l pl.UTF-8 |
2d202f8d | 69 | Biblioteki programistyczne biblioteki Producer. |
77963b3d | 70 | |
c3d2a9ff | 71 | %prep |
72 | %setup -q -n %{name} | |
98eefe27 | 73 | %patch0 -p1 |
fe0f8aae | 74 | %patch1 -p1 |
74096703 | 75 | |
c3d2a9ff | 76 | find -type d -name CVS |xargs rm -rf |
77 | ||
78 | %build | |
79 | %{__make} \ | |
80 | CXX="%{__cxx} %{rpmcflags} -fPIC -fpermissive" | |
81 | ||
82 | %install | |
83 | rm -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 | 89 | ln -sf `basename $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so |
0d2b14c0 | 90 | |
579c86ee | 91 | install -d $RPM_BUILD_ROOT%{_pkgconfigdir} |
0d2b14c0 | 92 | sed -e 's,^libdir=.*,libdir=%{_libdir},' %{SOURCE1} >$RPM_BUILD_ROOT%{_pkgconfigdir}/producer.pc |
c3d2a9ff | 93 | |
94 | %clean | |
95 | rm -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 |