diff --git a/debian.changelog b/debian.changelog new file mode 100644 index 00000000..e2c2f7be --- /dev/null +++ b/debian.changelog @@ -0,0 +1,5 @@ +kddockwidgets (0.99.9) release candidate; urgency=high + + * 1.0.0 release candidate + + -- Allen Winter Thu, 6 August 2020 11:00:00 -0500 diff --git a/debian.compat b/debian.compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian.compat @@ -0,0 +1 @@ +9 diff --git a/debian.control b/debian.control new file mode 100644 index 00000000..9d45e4ef --- /dev/null +++ b/debian.control @@ -0,0 +1,12 @@ +Source: kddockwidgets +Section: Miscellaneous +Priority: optional +Maintainer: Allen Winter +Build-Depends: debhelper (>=9), cdbs, cmake +Standards-Version: 3.9.6 +Homepage: https://github.com/KDAB/KDDockWidgets + +Package: kddockwidgets +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: KDAB's Dock Widget Framework for Qt diff --git a/debian.rules b/debian.rules new file mode 100644 index 00000000..ee1a3955 --- /dev/null +++ b/debian.rules @@ -0,0 +1,3 @@ +#!/usr/bin/make -f +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk diff --git a/kddockwidgets.dsc b/kddockwidgets.dsc new file mode 100644 index 00000000..a98c6675 --- /dev/null +++ b/kddockwidgets.dsc @@ -0,0 +1,10 @@ +Format: 1.0 +Source: kddockwidgets +Version: 0.99.9 +Binary: kddockwidgets +Maintainer: Allen Winter +Architecture: any +Build-Depends: debhelper (>=9), cdbs, cmake, qt5-default, qtbase5-dev + +Files: + 00000000000000000000000000000000 00000 kddockwidgets-0.99.9.tar.gz diff --git a/kddockwidgets.spec b/kddockwidgets.spec new file mode 100644 index 00000000..571869a5 --- /dev/null +++ b/kddockwidgets.spec @@ -0,0 +1,88 @@ +Name: kddockwidgets +Version: 0.99.9 +Release: 1 +Summary: KDAB's Dock Widget Framework for Qt +Source0: %{name}-%{version}.tar.gz +Source1: %{name}-%{version}.tar.gz.asc +URL: https://github.com/KDAB/KDDockWidgets +Group: System/Libraries +License: GPL-2.0-only OR GPL-3.0-only +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Vendor: Klaralvdalens Datakonsult AB (KDAB) +Packager: Klaralvdalens Datakonsult AB (KDAB) + +BuildRequires: cmake +%if %{defined suse_version} +BuildRequires: libqt5-qtbase-devel +%endif + +%if %{defined fedora} +BuildRequires: gcc-c++ qt5-qtbase-devel desktop-file-utils +%endif + +%if %{defined rhel} +BuildRequires: gcc-c++ qt5-qtbase-devel desktop-file-utils +%endif + +%description +KDDockWidgets is an advanced docking system for Qt which provides +many features not found in QDockWidgets, including: + - Nesting dock widgets in a floating window and docking that group back to main window + - Docking to any main window, not only to the parent main window + - Docking to center of main window, or simply removing the concept of "central widget" + - Main window supporting detachable tabs in center widget + - Detaching arbitrary tabs from a tab bar into a dock area + - Exposing inner helper widgets so the user can customize them or provide his own + - Customize tab widgets + - Customize title bars + - Customize window frames + +Authors: +-------- + Klaralvdalens Datakonsult AB (KDAB) + +%define debug_package %{nil} +%global __debug_install_post %{nil} + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} + +%description devel +This package contains header files and associated tools and libraries to +develop programs using kddockwidgets. + +%prep +%autosetup + +%build +cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release +%__make %{?_smp_mflags} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%install +%make_install + +%clean +%__rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_prefix}/share/doc/KDDockWidgets +%{_libdir}/libkddockwidgets.so.* + +%files devel +%defattr(-,root,root,-) +%{_prefix}/share/mkspecs +%dir %{_includedir}/kddockwidgets +%{_includedir}/kddockwidgets/* +%dir %{_libdir}/cmake/KDDockWidgets +%{_libdir}/libkddockwidgets.so +%{_libdir}/libkddockwidgets_multisplitter.so + +%changelog +* Thu Aug 06 2020 Allen Winter 0.99.9 + 1.0.0 release candidate