1 Summary: 2D plotting widget extension to the Qt GUI
2 Summary(pl.UTF-8): Rozszerzenie wykresów 2D dla GUI Qt
8 Source0: http://dl.sourceforge.net/qwt/%{name}-%{version}.tar.bz2
9 # Source0-md5: c585dc3b1ea5ad00747721f68687d868
10 URL: http://qwt.sourceforge.net/
11 BuildRequires: QtCore-devel
12 BuildRequires: QtDesigner-devel
13 BuildRequires: QtGui-devel
14 BuildRequires: QtScript-devel
15 BuildRequires: QtSvg-devel
16 BuildRequires: qt4-qmake >= 4.3.3-3
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Qwt is an extension to the Qt GUI library from Troll Tech AS. The Qwt
21 library contains widgets and components which are primarily useful for
22 technical and scientifical purposes. It includes a 2-D plotting
23 widget, different kinds of sliders, and much more.
25 %description -l pl.UTF-8
26 Qwt jest rozszerzeniem do biblioteki Qt z Troll Tech AS. Biblioteka
27 Qwt zawiera widgety i komponenty użyteczne głównie do celów
28 technicznych i naukowych. Zawiera widget do rysowania wykresów 2D,
29 różne rodzaje suwaków i wiele więcej.
32 Summary: Header files for qwt library
33 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki qwt
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
39 Header files for qwt library.
41 %description devel -l pl.UTF-8
42 Pliki nagłówkowe biblioteki qwt.
44 %package -n qt4-plugin-qwt
45 Summary: qwt plugin for Qt Designer
46 Summary(pl.UTF-8): Wtyczka qwt dla Qt Designera
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
51 %description -n qt4-plugin-qwt
52 qwt plugin for Qt Designer.
54 %description -n qt4-plugin-qwt -l pl.UTF-8
55 Wtyczka qwt dla Qt Designera.
65 ### can't build without qwt-devel ver 5.1.0 installed
67 #qmake-qt4 examples.pro
70 #rm -fr .*.cache */.*.cache */*/.*.cache Makefile */moc */obj */*/moc */*/obj
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},%{_libdir}/qt4/plugins-mt/designer,%{_mandir}/man3}
78 install $n $RPM_BUILD_ROOT%{_includedir}/%{name}
81 for n in lib/libqwt.so*; do
82 cp -d $n $RPM_BUILD_ROOT%{_libdir}
85 %{__make} -C designer install \
86 INSTALL_ROOT=$RPM_BUILD_ROOT
89 echo "%{_libdir}/qt4/plugins/designer/libqwtplugin.so" > plugin.list
91 for n in doc/man/man3/*.3; do
92 install $n $RPM_BUILD_ROOT%{_mandir}/man3
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %doc CHANGES COPYING README
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
105 %attr(755,root,root) %{_libdir}/libqwt.so.*.*
106 %attr(755,root,root) %{_libdir}/libqwt.so.?
109 %defattr(644,root,root,755)
110 %doc doc/html/*.css doc/html/*.html doc/html/*.gif doc/html/*.png
112 %attr(755,root,root) %{_libdir}/lib*.so
113 %{_includedir}/%{name}
116 %files -n qt4-plugin-qwt
117 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_libdir}/qt4/plugins/designer/libqwt_designer_plugin.so