]> git.pld-linux.org Git - packages/Producer.git/blame_incremental - Producer.spec
- converted to UTF-8
[packages/Producer.git] / Producer.spec
... / ...
CommitLineData
1%define fversion %(echo %{version} | tr r - )
2Summary: Cross-platform library for OpenGL rendering
3Summary(pl.UTF-8): Wieloplatformowa biblioteka do renderingu OpenGL
4Name: Producer
5Version: 0.8.5r3
6Release: 1
7License: LGPL
8Group: Libraries
9Source0: http://www.andesengineering.com/Producer/Download/%{name}-%{fversion}.tar.gz
10# Source0-md5: 889c99c47a3af7d8df03fb5584919cbe
11Source1: %{name}.pc
12Patch0: %{name}-soname.patch
13Patch1: %{name}-notix86.patch
14URL: http://www.andesengineering.com/Producer/index.html
15BuildRequires: OpenGL-devel
16BuildRequires: OpenThreads-devel
17BuildRequires: XFree86-devel
18BuildRequires: libstdc++-devel
19Provides: OpenProducer = %{version}
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Open Producer (or simply Producer) is a cross-platform, C++ library
24for managing OpenGL rendering contexts in a windowing system
25independent manner. Producer provides a simple, yet powerfully
26scalable approach for real-time 3D applications wishing to run within
27a single window to large, multidisplay systems. Producer is highly
28portable and has been tested on Linux, Windows, Mac OSX, Solaris and
29IRIX. Producer works on all Unix based OS's (including Mac OSX)
30through the X11 Windowing system, and through the native win32 on
31Windows. Producer is written with productivity, performance and
32scalability in mind by adhering to industry standard and employing
33advanced software engineering practices. Software developers wishing
34to produce 3D rendering software that can display on a desktop, and
35move to a large system or clustered system of displays by simply
36changing a configuration file, can depend on Open Producer to handle
37all the complexity for them.
38
39%description -l pl.UTF-8
40Open Producer (lub po prostu Producer) jest wieloplatformową
41biblioteką C++ do zarządzania renderingiem OpenGL. Producer udostępnia
42prostą, ale skalowalną możliwość dla aplikacji czasu rzeczywistego 3D
43od chcących uruchamiać się w pojedynczym oknie aż do wielkich,
44wieloekranowych systemów. Producer jest bardzo przenośny i
45przetestowany na Linuksie, Windows, MacOS X, Solarisie i IRIXie.
46Producer działa na wszystkich bazujących na Uniksie systemach
47(włączając w to MacOS X) poprzez system okien X11 lub przez natywne
48wywołania win32 na Windows. Producer był pisany z myślą o wydajności i
49skalowalności uwzględniając systemy produkcyjne. Autorzy
50oprogramowania chcący tworzyć aplikacje renderujące 3D, które mogą się
51wyświetlać na ekranie lub przenieść na wielki system lub klaster
52systemów wyświetlaczy poprzez prostą zmianę plików konfiguracyjnych,
53mogą polegać na Open Producer, że obsłuży wszystko co jest potrzebne
54dla nich.
55
56%package devel
57Summary: Development files for Producer
58Summary(pl.UTF-8): Pliki programistyczne biblioteki Producer
59Group: Development/Libraries
60Requires: %{name} = %{version}-%{release}
61Requires: OpenThreads-devel
62Requires: XFree86-devel
63Requires: libstdc++-devel
64
65%description devel
66Development files for Producent.
67
68%description devel -l pl.UTF-8
69Biblioteki programistyczne biblioteki Producer.
70
71%prep
72%setup -q -n %{name}
73%patch0 -p1
74%patch1 -p1
75
76find -type d -name CVS |xargs rm -rf
77
78%build
79%{__make} \
80 CXX="%{__cxx} %{rpmcflags} -fPIC -fpermissive"
81
82%install
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 INST_LOCATION=$RPM_BUILD_ROOT%{_prefix} \
87 INST_LIBS=$RPM_BUILD_ROOT%{_libdir}
88
89ln -sf `basename $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so.*` $RPM_BUILD_ROOT%{_libdir}/lib%{name}.so
90
91install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
92sed -e 's,^libdir=.*,libdir=%{_libdir},' %{SOURCE1} >$RPM_BUILD_ROOT%{_pkgconfigdir}/producer.pc
93
94%clean
95rm -rf $RPM_BUILD_ROOT
96
97%post -p /sbin/ldconfig
98%postun -p /sbin/ldconfig
99
100%files
101%defattr(644,root,root,755)
102%attr(755,root,root) %{_libdir}/lib*.so.*.*
103
104%files devel
105%defattr(644,root,root,755)
106%doc README.txt doc
107%attr(755,root,root) %{_libdir}/lib*.so
108%{_includedir}/%{name}
109%{_pkgconfigdir}/*.pc
This page took 0.125439 seconds and 4 git commands to generate.