]> git.pld-linux.org Git - packages/Producer.git/blob - Producer.spec
45418f74491bd9f6f372e5b516fd0f8e36ad7e8f
[packages/Producer.git] / Producer.spec
1 %define fversion        %(echo %{version} | tr r -)
2 Summary:        Cross-platform libray for Opengl rendering
3 Name:           Producer
4 Version:        0.8.4r2
5 Release:        1
6 Epoch:          1
7 License:        LGPL
8 Group:          Libraries
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)
13
14 %description
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.
30
31 %package devel
32 Summary:        Devel files for Producent
33 Summary(pl):    Pliki developerskie dla Producer
34 Group:          Development/Libraries
35
36 %description devel
37 Devel files for Producent.
38
39 %prep
40 %setup -q -n %{name}
41 find -type d -name CVS |xargs rm -rf
42
43 %build
44 %{__make} \
45         CXX="%{__cxx} %{rpmcflags} -fPIC -fpermissive"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 %{__make} install \
50          INST_LOCATION=$RPM_BUILD_ROOT%{_prefix}
51
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
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %attr(755,root,root) %{_libdir}/lib*.so.*
61
62 %files devel
63 %defattr(644,root,root,755)
64 %doc README.txt doc
65 %{_includedir}/%{name}
66 %attr(755,root,root) %{_libdir}/lib*.so
This page took 0.048868 seconds and 2 git commands to generate.