]> git.pld-linux.org Git - packages/qwtplot3d.git/blob - qwtplot3d.spec
7978e67e649803e19103958536c849757e256a89
[packages/qwtplot3d.git] / qwtplot3d.spec
1 Summary:        3D Graphics extension to the Qt GUI application framework
2 Summary(pl):    Rozszerzenie graficzne 3D do ¶rodowiska GUI Qt
3 Name:           qwtplot3d
4 Version:        0.2.6
5 Release:        1
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/qwtplot3d/%{name}-%{version}.tgz
9 # Source0-md5:  7ef960d7874f78162d6c9d241de2843e
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
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):    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
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.044494 seconds and 2 git commands to generate.