101 lines
2.9 KiB
RPMSpec
101 lines
2.9 KiB
RPMSpec
Name: libqwt
|
|
Version: 6.1.4
|
|
Release: 1mamba
|
|
Summary: Qt Widgets for Technical Applications
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://qwt.sourceforge.net
|
|
Source: http://downloads.sourceforge.net/project/qwt/qwt/%{version}/qwt-%{version}.tar.bz2
|
|
Source1: qwtconfig-openmamba.pri
|
|
Patch1: libqwt-6.0.2-install_qt.patch
|
|
Patch2: libqwt-6.0.2-project_error.patch
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libqt4-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
The Qwt library contains GUI Components and utility classes which are primarily useful for programs with a technical background.
|
|
Beside a 2D plot widget it provides scales, sliders, dials, compasses, thermometers, wheels and knobs to control or display values, arrays, or ranges of type double.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkg-config
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: API documentation for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description apidocs
|
|
API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n qwt-%{version}
|
|
cp %{SOURCE1} qwtconfig.pri
|
|
sed -i "s|%LIB%|%{_lib}|" qwtconfig.pri
|
|
|
|
%build
|
|
%_qt4_qmake \
|
|
CONFIG+=install-qt
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall \
|
|
INSTALL_ROOT=%{buildroot}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libqwt.so.*
|
|
%doc COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/qwt
|
|
%{_includedir}/qwt/*.h
|
|
%{_libdir}/libqwt.so
|
|
#%{_mandir}/man3/*
|
|
%doc README
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_docdir}/qwt
|
|
%{_docdir}/qwt/*
|
|
|
|
%changelog
|
|
* Mon Mar 25 2019 Automatic Build System <autodist@mambasoft.it> 6.1.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Nov 07 2016 Automatic Build System <autodist@mambasoft.it> 6.1.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Dec 27 2015 Automatic Build System <autodist@mambasoft.it> 6.1.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jan 11 2013 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 6.0.2-1mamba
|
|
- update to 6.0.2
|
|
|
|
* Mon Aug 23 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-2mamba
|
|
- enable build of QwtSVGItem as required by kdebindings 4.5.0
|
|
|
|
* Sun Aug 22 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.1-1mamba
|
|
- package created by autospec |