Accepting request 674495 from KDE:Extra
- Run spec-cleaner. - Install the license file. OBS-URL: https://build.opensuse.org/request/show/674495 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/alkimia?expand=0&rev=4
This commit is contained in:
commit
f4557c07b9
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 25 09:14:40 UTC 2018 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Run spec-cleaner.
|
||||
- Install the license file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 14 03:36:59 UTC 2018 - wbauer@tmo.at
|
||||
|
||||
|
27
alkimia.spec
27
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
|
||||
|
Loading…
Reference in New Issue
Block a user