]> git.pld-linux.org Git - packages/Producer.git/blob - Producer.spec
- change " to ' in tr
[packages/Producer.git] / Producer.spec
1 %define fversion        %(echo %{version} | tr 'r' '-' )
2 Summary:        Cross-platform library for OpenGL rendering
3 Summary(pl):    Wieloplatformowa biblioteka do renderingu OpenGL
4 Name:           Producer
5 Version:        0.8.4r2
6 Release:        1
7 License:        LGPL
8 Group:          Libraries
9 Source0:        http://www.andesengineering.com/Producer/Download/%{name}-%{fversion}.tar.gz
10 # Source0-md5:  9e14c27a0e927a19bb3666fa73755652
11 Patch0:         %{name}-soname.patch
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
37 Requires:       %{name} = %{version}-%{release}
38
39 %description devel
40 Devel files for Producent.
41
42 %description devel -l pl
43 Biblioteki programistyczne dla Producent.
44
45 %prep
46 %setup -q -n %{name}
47 %patch0 -p0
48
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}
59 ln -sf `basename $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
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
This page took 0.068765 seconds and 3 git commands to generate.