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