commit 58910043c60d55b8bd56819aacf83327df7a2c98d52fe9ef02f8208010c48680 Author: Luca Beltrame Date: Wed Jan 31 09:13:53 2018 +0000 Accepting request 571309 from home:wolfi323:branches:KDE:Extra - Rename package to alkimia, following the upstream name - Added changes to previous changelog entry to get the submission to Factory accepted... OBS-URL: https://build.opensuse.org/request/show/571309 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/alkimia?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/alkimia-7.0.tar.xz b/alkimia-7.0.tar.xz new file mode 100644 index 0000000..413b6a5 --- /dev/null +++ b/alkimia-7.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0c70d0d3b6c020d5bcf92b6f1c395f3bad53a08d4e2b2c17e70c2079e9f43158 +size 37992 diff --git a/alkimia.changes b/alkimia.changes new file mode 100644 index 0000000..4f7f994 --- /dev/null +++ b/alkimia.changes @@ -0,0 +1,42 @@ +------------------------------------------------------------------- +Wed Jan 31 08:43:28 UTC 2018 - wbauer@tmo.at + +- Rename package to alkimia, following the upstream name + +------------------------------------------------------------------- +Mon Jan 29 09:50:22 UTC 2018 - nico.kruber@gmail.com + +- update to version 7.0: + * Fix AlkValue::operator=(QString) w/ valueRef() + * Ported to Qt5, supports both Qt4 and Qt5 now +- thanks to users 'tittiatcoke' and 'wolfi323' for creating the + initial unstable package out of the git repository +- enable package builds for both Qt4 and Qt5 +- remove Fix-AlkValue-operator-QString-w-valueRef.patch (applied + upstream) + +------------------------------------------------------------------- +Tue Jul 4 08:35:10 UTC 2017 - jengelh@inai.de + +- Fix RPM groups. + +------------------------------------------------------------------- +Sat Jul 1 13:36:08 UTC 2017 - wbauer@tmo.at + +- Update to version 5.0.0: + * add support for newer versions of cmake (>=2.8.7) + * use implicit sharing in AlkValue +- Add Fix-AlkValue-operator-QString-w-valueRef.patch to fix + AlkValue::operator=(QString) +- Adjust Urls and file lists + +------------------------------------------------------------------- +Fri Jan 20 21:38:35 UTC 2012 - asterios.dramis@gmail.com + +- Update to version 4.3.2: + * Bugfix release. + +------------------------------------------------------------------- +Tue Aug 9 17:42:54 UTC 2011 - asterios.dramis@gmail.com + +- Initial release (version 4.3.1). diff --git a/alkimia.spec b/alkimia.spec new file mode 100644 index 0000000..80498d8 --- /dev/null +++ b/alkimia.spec @@ -0,0 +1,127 @@ +# +# spec file for package alkimia +# +# Copyright (c) 2018 SUSE LINUX 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/ +# + +%define soname_qt4 libalkimia +%define soname_qt5 libalkimia5 +%define sonum 7 + +Name: alkimia +Version: 7.0 +Release: 0 +Summary: Library with common classes and functionality used by finance applications +License: LGPL-2.1+ +Group: Development/Libraries/C and C++ +Url: https://kmymoney.org/ +Source0: https://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz +BuildRequires: doxygen +BuildRequires: gmp-devel +BuildRequires: libkde4-devel +BuildRequires: extra-cmake-modules +BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 +BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0 +BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +libalkimia is a library with common classes and functionality used by finance +applications. + +%package -n %{soname_qt4}%{sonum} +Summary: Library with common classes and functionality used by finance applications +Group: System/Libraries + +%description -n %{soname_qt4}%{sonum} +%{soname_qt4} is a library for Qt4 with common classes and functionality used by finance +applications. + +%package -n %{soname_qt5}-%{sonum} +Summary: Library with common classes and functionality used by finance applications +Group: System/Libraries + +%description -n %{soname_qt5}-%{sonum} +%{soname_qt5} is a library for Qt5 with common classes and functionality used by finance +applications. + +%package -n %{soname_qt4}-devel +Summary: Development Files for %{soname_qt4} +Group: Development/Languages/C and C++ +Requires: %{soname_qt4}%{sonum} = %{version} + +%description -n %{soname_qt4}-devel +The development files for %{soname_qt4}. + +%package -n %{soname_qt5}-devel +Summary: Development Files for %{soname_qt5} +Group: Development/Languages/C and C++ +Requires: %{soname_qt5}-%{sonum} = %{version} + +%description -n %{soname_qt5}-devel +The development files for %{soname_qt5}. + +%prep +%setup -q + +%build +WORKDIR="$PWD" + +%cmake_kf5 -d build-qt5 +%make_jobs + +cd "$WORKDIR" +%cmake_kde4 -d build-qt4 -- -DBUILD_QT4=1 +%make_jobs + +%install +%kf5_makeinstall -C build-qt5 + +cd build-qt4 +%kde4_makeinstall +cd .. + +%post -n %{soname_qt4}%{sonum} -p /sbin/ldconfig + +%postun -n %{soname_qt4}%{sonum} -p /sbin/ldconfig + +%post -n %{soname_qt5}-%{sonum} -p /sbin/ldconfig + +%postun -n %{soname_qt5}-%{sonum} -p /sbin/ldconfig + +%files -n %{soname_qt4}-devel +%defattr(-,root,root,-) +%dir %{_kde4_includedir}/alkimia/ +%{_kde4_includedir}/alkimia/Qt4 +%{_kde4_libdir}/cmake/LibAlkimia-*/ +%{_kde4_libdir}/libalkimia.so +%{_libdir}/pkgconfig/libalkimia.pc + +%files -n %{soname_qt4}%{sonum} +%defattr(-,root,root,-) +%{_kde4_libdir}/libalkimia.so.%{sonum}* + +%files -n %{soname_qt5}-devel +%defattr(-,root,root,-) +%{_kf5_cmakedir}/LibAlkimia5-*/ +%dir %{_includedir}/alkimia/ +%{_includedir}/alkimia/Qt5 +%{_kf5_libdir}/libalkimia5.so +%{_libdir}/pkgconfig/libalkimia5.pc + +%files -n %{soname_qt5}-%{sonum} +%defattr(-,root,root,-) +%{_kf5_libdir}/libalkimia5.so.%{sonum}* + +%changelog