diff --git a/dtkcommon-5.5.18.orig.tar.xz b/dtkcommon-5.5.18.orig.tar.xz new file mode 100644 index 0000000..17d20fd Binary files /dev/null and b/dtkcommon-5.5.18.orig.tar.xz differ diff --git a/dtkcommon.spec b/dtkcommon.spec new file mode 100644 index 0000000..1438007 --- /dev/null +++ b/dtkcommon.spec @@ -0,0 +1,54 @@ +%global debug_package %{nil} + +Name: dtkcommon +Version: 5.5.18 +Release: 1%{?dist} +Summary: dtk common files +Source0: %{name}-%{version}.orig.tar.xz + +License: GPLv3 + +BuildRequires: qt5-qtbase-devel + +Obsoletes: dtkcore <= 5.4.10 +Obsoletes: dtkcore-devel <= 5.4.10 + + +%description +dtk common files + +%package devel +Summary: Development package for %{sname} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +dtk common files - devel + +%prep +%setup -q + +%build +export QTDIR="%{_qt5_prefix}" +export PATH="%{_qt5_bindir}:$PATH" +%qmake_qt5 +%make_build + +%install +%make_install INSTALL_ROOT=%{buildroot} + + +%files +%doc README.md +%license LICENSE +%{_datarootdir}/glib-2.0/schemas/* + +%files devel +%doc README.md +%license LICENSE +%{_prefix}/lib/cmake/Dtk/* +%{_libdir}/*/mkspecs/features/* +%{_libdir}/*/mkspecs/modules/* + +%changelog +* Mon Jun 13 2022 uoser - 5.5.18-1 +- update: update to 5.5.18-1