]> git.pld-linux.org Git - packages/qwtplot3d.git/blob - qwtplot3d.spec
- up to 0.2.7
[packages/qwtplot3d.git] / qwtplot3d.spec
1 Summary:        3D Graphics extension to the Qt GUI application framework
2 Summary(pl.UTF-8):      Rozszerzenie graficzne 3D do środowiska GUI Qt
3 Name:           qwtplot3d
4 Version:        0.2.7
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
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
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
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.
24
25 %package devel
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}
30
31 %description devel
32 Header files for qwtplot3d library.
33
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki qwtplot3d.
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.*.*.*
67
68 %files devel
69 %defattr(644,root,root,755)
70 %doc examples
71 %attr(755,root,root) %{_libdir}/lib*.so
72 %{_includedir}/%{name}
This page took 0.057926 seconds and 3 git commands to generate.