]>
Commit | Line | Data |
---|---|---|
d0edaa54 | 1 | Summary: 3D Graphics extension to the Qt GUI application framework |
53772324 | 2 | Summary(pl.UTF-8): Rozszerzenie graficzne 3D do środowiska GUI Qt |
d0edaa54 | 3 | Name: qwtplot3d |
7b799fb5 | 4 | Version: 0.2.7 |
44c918b8 | 5 | Release: 2 |
d0edaa54 | 6 | License: BSD-like |
7 | Group: Libraries | |
9a470fa5 | 8 | Source0: http://dl.sourceforge.net/qwtplot3d/%{name}-%{version}.tgz |
7b799fb5 | 9 | # Source0-md5: 2f14660152e2e26bfeaaeec479ed9f2b |
481d8cce | 10 | URL: http://qwtplot3d.sourceforge.net/ |
7b799fb5 | 11 | #BuildRequires: XFree86-OpenGL-devel |
d0edaa54 | 12 | BuildRequires: qmake |
13 | BuildRequires: qt-devel | |
14 | BuildRequires: zlib-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | QwtPlot3D is a feature-rich Qt/OpenGL-based C++ programming library. | |
19 | It provides essentially a bunch of 3D-widgets for programmers. | |
20 | ||
541bd650 JR |
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. | |
d0edaa54 | 24 | |
25 | %package devel | |
26 | Summary: Header files for qwtplot3d library | |
53772324 | 27 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki qwtplot3d |
d0edaa54 | 28 | Group: Development/Libraries |
29 | Requires: %{name} = %{version}-%{release} | |
30 | ||
31 | %description devel | |
32 | Header files for qwtplot3d library. | |
33 | ||
541bd650 JR |
34 | %description devel -l pl.UTF-8 |
35 | Pliki nagłówkowe biblioteki qwtplot3d. | |
d0edaa54 | 36 | |
37 | %prep | |
38 | %setup -q -n %{name} | |
39 | ||
40 | %build | |
41 | export QTDIR=%{_prefix} | |
42 | qmake qwtplot3d.pro | |
43 | ||
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},%{_libdir}} | |
49 | ||
50 | for n in include/*.h ; do | |
51 | install -m 644 $n $RPM_BUILD_ROOT%{_includedir}/%{name} | |
52 | done | |
53 | ||
54 | for n in lib/libqwtplot3d.so* ; do | |
55 | cp -d $n $RPM_BUILD_ROOT%{_libdir} | |
56 | done | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %post -p /sbin/ldconfig | |
62 | %postun -p /sbin/ldconfig | |
63 | ||
64 | %files | |
65 | %defattr(644,root,root,755) | |
66 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
44c918b8 PG |
67 | %ghost %{_libdir}/lib*.so.0 |
68 | %ghost %{_libdir}/lib*.so.0.2 | |
d0edaa54 | 69 | |
70 | %files devel | |
71 | %defattr(644,root,root,755) | |
4d13cc59 | 72 | %doc examples |
d0edaa54 | 73 | %attr(755,root,root) %{_libdir}/lib*.so |
74 | %{_includedir}/%{name} |