1 Summary: 3D Graphics extension to the Qt GUI application framework
2 Summary(pl.UTF-8): Rozszerzenie graficzne 3D do środowiska GUI Qt
8 Source0: http://dl.sourceforge.net/qwtplot3d/%{name}-%{version}.tgz
9 # Source0-md5: 2f14660152e2e26bfeaaeec479ed9f2b
10 URL: http://qwtplot3d.sourceforge.net/
11 #BuildRequires: XFree86-OpenGL-devel
13 BuildRequires: qt-devel
14 BuildRequires: zlib-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 QwtPlot3D is a feature-rich Qt/OpenGL-based C++ programming library.
19 It provides essentially a bunch of 3D-widgets for programmers.
21 %description -l pl.UTF-8
22 QwtPlot3D jest bogatą w możliwości biblioteką C++ opartą na Qt/OpenGL.
23 Udostępnia w szczególności zestaw kontrolek 3D dla programistów.
26 Summary: Header files for qwtplot3d library
27 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki qwtplot3d
28 Group: Development/Libraries
29 Requires: %{name} = %{version}-%{release}
32 Header files for qwtplot3d library.
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki qwtplot3d.
41 export QTDIR=%{_prefix}
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},%{_libdir}}
50 for n in include/*.h ; do
51 install -m 644 $n $RPM_BUILD_ROOT%{_includedir}/%{name}
54 for n in lib/libqwtplot3d.so* ; do
55 cp -d $n $RPM_BUILD_ROOT%{_libdir}
59 rm -rf $RPM_BUILD_ROOT
61 %post -p /sbin/ldconfig
62 %postun -p /sbin/ldconfig
65 %defattr(644,root,root,755)
66 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
69 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_libdir}/lib*.so
72 %{_includedir}/%{name}