Author: undefine Date: Sat Jul 2 22:57:50 2005 GMT Module: SPECS Tag: HEAD ---- Log message: - initial
---- Files affected: SPECS: qwt.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/qwt.spec diff -u /dev/null SPECS/qwt.spec:1.1 --- /dev/null Sun Jul 3 00:57:50 2005 +++ SPECS/qwt.spec Sun Jul 3 00:57:45 2005 @@ -0,0 +1,108 @@ +# $Revision$, $Date$ +Summary: 2D plotting widget extension to the Qt GUI +Summary(pl): Rozszerzenie rysunków 2D do Qt +Name: qwt +Version: 4.2.0 +Release: 1 +License: LGPL +Group: Libraries +Source0: http://dl.sourceforge.net/qwt/%{name}-%{version}.tar.bz2 +# Source0-md5: 9c828c9a39a83df5d7fa9630ddf812a4 +URL: http://qwt.sourceforge.net/ +BuildRequires: qmake +BuildRequires: qt-devel +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Qwt is an extension to the Qt GUI library from Troll Tech AS. The Qwt +library contains widgets and components which are primarily useful for +technical and scientifical purposes. It includes a 2-D plotting +widget, different kinds of sliders, and much more. + +%description -l pl +Qwt jest rozszerzeniem do biblioteki Qt z Troll Tech AS. Biblioteka +Qwt zawiera komponenty użyteczne dla celów technicznych i naukowych. + +%package devel +Summary: Header files for qwt library +Summary(pl): Pliki nagłówkowe biblioteki qwt +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for qwt library. + +%description devel -l pl +Pliki nagłówkowe biblioteki qwt. + +%prep +%setup -q + +%build +export QTDIR=%{_prefix} +qmake qwt.pro + +%{__make} + +cd examples + qmake examples.pro + %{__make} + %{__make} distclean + rm -fr .*.cache */.*.cache */*/.*.cache Makefile */moc */obj */*/moc */*/obj +cd .. + +cd designer + qmake qwtplugin.pro + %{__make} +cd .. + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_includedir}/%{name},%{_libdir},%{_mandir}/man3} + +for n in include/*.h ; do + install -m 644 $n $RPM_BUILD_ROOT%{_includedir}/%{name} +done + +for n in lib/libqwt.so* ; do + cp -d $n $RPM_BUILD_ROOT%{_libdir} +done + +# cd designer +# %{__make} install \ +# INSTALL_ROOT=$RPM_BUILD_ROOT%{_libdir}/qt/plugins-mt/designe +# cd .. +# echo "%{_libdir}/qt/plugins-mt/designer/libqwtplugin.so" > plugin.list + +for n in doc/man/man3/*.3 ; do + install -m 644 $n $RPM_BUILD_ROOT%{_mandir}/man3 +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc CHANGES COPYING README +%attr(755,root,root) %{_libdir}/lib*.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%doc COPYING doc/html/*.css doc/html/*.html doc/html/*.gif doc/html/*.png +%doc examples +%attr(755,root,root) %{_libdir}/lib*.so +%{_includedir}/%{name} +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2005/07/02 22:57:45 undefine +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
