libqwt/libqwt.spec

116 lines
3.4 KiB
RPMSpec
Raw Normal View History

Name: libqwt
Version: 6.3.0
Release: 1mamba
Summary: Qt Widgets for Technical Applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://qwt.sourceforge.io/
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: libQt5Svg-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
%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}.
#% debug_package
%prep
%setup -q -n qwt-%{version}
cp %{SOURCE1} qwtconfig.pri
sed -i "s|%LIB%|%{_lib}|" qwtconfig.pri
%build
%_qt5_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/*
%{_libdir}/libqwt.so
#%{_mandir}/man3/*
%doc README
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/qwt
%{_docdir}/qwt/*
%changelog
* Thu May 09 2024 Automatic Build System <autodist@openmamba.org> 6.3.0-1mamba
- automatic version update by autodist
* Thu Jul 29 2021 Automatic Build System <autodist@mambasoft.it> 6.2.0-1mamba
- automatic version update by autodist
* Wed Jan 06 2021 Automatic Build System <autodist@mambasoft.it> 6.1.6-1mamba
- automatic version update by autodist
* Sat Jun 06 2020 Automatic Build System <autodist@mambasoft.it> 6.1.5-1mamba
- automatic version update by autodist
* 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