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