Accepting request 111859 from KDE:Distro:Factory
qwt library version 6, we already have v5. Licensing is now fixed. OBS-URL: https://build.opensuse.org/request/show/111859 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qwt6?expand=0&rev=1
This commit is contained in:
commit
5f33f22842
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
qwt-6.0.1.tar.bz2
Normal file
3
qwt-6.0.1.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3fe19dd5962d705632fc2ef616b009299de6cf1e702538296924dbfdc8003cb2
|
||||
size 2437570
|
13
qwt6.changes
Normal file
13
qwt6.changes
Normal file
@ -0,0 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 12:38:20 UTC 2012 - cfarrell@suse.com
|
||||
|
||||
- license update: SUSE-QWT-1.0
|
||||
Added to spreadsheet linked at license.opensuse.org. Package warrants its
|
||||
own license
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 28 08:57:52 UTC 2012 - idonmez@suse.com
|
||||
|
||||
- Initial release
|
||||
|
||||
|
192
qwt6.spec
Normal file
192
qwt6.spec
Normal file
@ -0,0 +1,192 @@
|
||||
#
|
||||
# spec file for package qwt6
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: qwt6
|
||||
Version: 6.0.1
|
||||
Release: 0
|
||||
Summary: Qt Widgets for Technical Applications
|
||||
License: SUSE-QWT-1.0
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://qwt.sourceforge.net/
|
||||
Source: http://switch.dl.sourceforge.net/sourceforge/qwt/qwt-%{version}.tar.bz2
|
||||
BuildRequires: freetype2-devel
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libpng-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?mandriva_version} || 0%{?mdkversion}
|
||||
BuildRequires: libqt-devel
|
||||
%else
|
||||
BuildRequires: qt-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1100
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
Requires: libqwt6 = %{version}
|
||||
|
||||
%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 -n libqwt6
|
||||
Summary: Shared library for Qt Widgets
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n libqwt6
|
||||
This package contains the shared library to run Technical Applications
|
||||
developed with/for Qwt.
|
||||
|
||||
%package devel
|
||||
Summary: Include headers and Qt Designer plugin for Qwt
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
Requires: freetype2-devel
|
||||
Requires: gcc-c++
|
||||
Requires: libpng-devel
|
||||
%if 0%{?mandriva_version} || 0%{?mdkversion}
|
||||
Requires: libqt-devel
|
||||
%else
|
||||
Requires: qt-devel
|
||||
%endif
|
||||
%if 0%{?suse_version}
|
||||
Recommends: %{name}-devel-doc
|
||||
Recommends: %{name}-examples
|
||||
%endif
|
||||
Conflicts: qwt-devel
|
||||
|
||||
%description devel
|
||||
This package contains the header files of Qwt and its Qt designer plugin
|
||||
in order to create Qt applications using the Qwt widgets.
|
||||
|
||||
%package examples
|
||||
Summary: Example programs using Qwt
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-devel = %{version}
|
||||
|
||||
%description examples
|
||||
This package contains example programs demonstrating the Qwt widgets.
|
||||
|
||||
%package designer
|
||||
Summary: Plugin for the Qt Interface designer
|
||||
Group: Development/Tools/GUI Builders
|
||||
Requires: %{name}-devel = %{version}
|
||||
%if 0%{?mandriva_version} || 0%{?mdkversion}
|
||||
Requires: libqt-devel
|
||||
%else
|
||||
Requires: qt-devel
|
||||
%endif
|
||||
|
||||
%description designer
|
||||
The %{name}-designer package contains the plugin for the Qt User Interface
|
||||
designer tool.
|
||||
|
||||
%package devel-doc
|
||||
Summary: Development documentation for Qwt
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name}-devel = %{version}
|
||||
|
||||
%description devel-doc
|
||||
This package contains the development documentation of the Qwt widgets
|
||||
as is it created by doxygen.
|
||||
|
||||
%prep
|
||||
%setup -q -n qwt-%{version}
|
||||
|
||||
%build
|
||||
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}
|
||||
export PATH=%{_libdir}/qt4/bin/:$PATH
|
||||
%endif
|
||||
%if 0%{?mandriva_version} == 2008 || 0%{?mdkversion} == 200800
|
||||
export PATH=/usr/lib/qt4/bin/:$PATH
|
||||
%endif
|
||||
|
||||
# Now build the qwt6 library
|
||||
qmake \
|
||||
QWT_INSTALL_PREFIX=%{_prefix} \
|
||||
CONFIG+=QwtDll CONFIG+=QwtDesigner CONFIG+=QwtExamples -after \
|
||||
QMAKE_CXXFLAGS="%{optflags}" \
|
||||
target.path=%{_libdir} \
|
||||
headers.path=%{_includedir}/%{name} \
|
||||
qwtspec.path=%{_datadir}/%{name}/features \
|
||||
qwtmathmlspec.path=%{_datadir}/%{name}/features \
|
||||
doc.path=%{_docdir}/%{name}-devel-doc
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%makeinstall INSTALL_ROOT=%{buildroot}
|
||||
|
||||
# Documentation
|
||||
mkdir -p %{buildroot}%{_docdir}/%{name}
|
||||
cp COPYING CHANGES README %{buildroot}%{_docdir}/%{name}
|
||||
cp -r examples %{buildroot}%{_docdir}/%{name}/examples
|
||||
|
||||
# Designer plugin
|
||||
%if 0%{?mandriva_version} == 2008 || 0%{?mdkversion} == 200800
|
||||
mkdir -p %{buildroot}/%{_prefix}/lib/qt4/plugins/designer
|
||||
mv -v %{buildroot}/%{_libdir}/libqwt_designer_plugin.so %{buildroot}/%{_prefix}/lib/qt4/plugins/designer/
|
||||
%else
|
||||
mkdir -p %{buildroot}/%{_libdir}/qt4/plugins/designer
|
||||
mv -v %{buildroot}/%{_libdir}/libqwt_designer_plugin.so %{buildroot}/%{_libdir}/qt4/plugins/designer/
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} >= 1100
|
||||
%fdupes %{buildroot}
|
||||
%endif
|
||||
|
||||
%post -n libqwt6 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libqwt6 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%exclude %{_docdir}/%{name}/examples
|
||||
%dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/*
|
||||
|
||||
%files -n libqwt6
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libqwt*
|
||||
%exclude %{_libdir}/libqwt*.so
|
||||
|
||||
%files designer
|
||||
%defattr(-,root,root)
|
||||
%if 0%{?mandriva_version} == 2008 || 0%{?mdkversion} == 200800
|
||||
%{_prefix}/lib/qt4/plugins/designer/libqwt_designer_plugin.so
|
||||
%else
|
||||
%{_libdir}/qt4/plugins/designer/libqwt_designer_plugin.so
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libqwt*.so
|
||||
%dir %{_includedir}/%{name}
|
||||
%{_includedir}/%{name}/*.h
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%files examples
|
||||
%defattr(-,root,root)
|
||||
%doc %{_docdir}/%{name}/examples
|
||||
|
||||
%files devel-doc
|
||||
%defattr(-,root,root)
|
||||
%doc %{_docdir}/%{name}-devel-doc
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user