diff --git a/alkimia.changes b/alkimia.changes index bd120bd..6e47090 100644 --- a/alkimia.changes +++ b/alkimia.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Oct 25 09:14:40 UTC 2018 - Christophe Giboudeaux + +- Run spec-cleaner. +- Install the license file. + ------------------------------------------------------------------- Sat Apr 14 03:36:59 UTC 2018 - wbauer@tmo.at diff --git a/alkimia.spec b/alkimia.spec index 8e6a526..b064884 100644 --- a/alkimia.spec +++ b/alkimia.spec @@ -12,29 +12,29 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define soname_qt4 libalkimia %define soname_qt5 libalkimia5 %define sonum 7 - Name: alkimia Version: 7.0.2 Release: 0 Summary: Library with common classes and functionality used by finance applications -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/C and C++ -Url: https://kmymoney.org/ +URL: https://kmymoney.org/ Source0: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz BuildRequires: doxygen +BuildRequires: extra-cmake-modules BuildRequires: gmp-devel BuildRequires: libkde4-devel -BuildRequires: extra-cmake-modules +BuildRequires: pkgconfig 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 @@ -93,15 +93,12 @@ cd build-qt4 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,-) +%license COPYING.LIB %dir %{_kde4_includedir}/alkimia/ %{_kde4_includedir}/alkimia/Qt4 %{_kde4_libdir}/cmake/LibAlkimia-*/ @@ -109,19 +106,21 @@ cd .. %{_libdir}/pkgconfig/libalkimia.pc %files -n %{soname_qt4}%{sonum} -%defattr(-,root,root,-) +%license COPYING.LIB +%doc README.md %{_kde4_libdir}/libalkimia.so.%{sonum}* %files -n %{soname_qt5}-devel -%defattr(-,root,root,-) -%{_kf5_cmakedir}/LibAlkimia5-*/ +%license COPYING.LIB %dir %{_includedir}/alkimia/ %{_includedir}/alkimia/Qt5 +%{_kf5_cmakedir}/LibAlkimia5-*/ %{_kf5_libdir}/libalkimia5.so %{_libdir}/pkgconfig/libalkimia5.pc %files -n %{soname_qt5}-%{sonum} -%defattr(-,root,root,-) +%license COPYING.LIB +%doc README.md %{_kf5_libdir}/libalkimia5.so.%{sonum}* %changelog