This commit is contained in:
parent
446ac444fa
commit
54bae2bf23
@ -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
|
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)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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_qt4 libalkimia
|
||||||
%define soname_qt5 libalkimia5
|
%define soname_qt5 libalkimia5
|
||||||
%define sonum 7
|
%define sonum 7
|
||||||
|
|
||||||
Name: alkimia
|
Name: alkimia
|
||||||
Version: 7.0.2
|
Version: 7.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library with common classes and functionality used by finance applications
|
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++
|
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
|
Source0: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: libkde4-devel
|
BuildRequires: libkde4-devel
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
|
||||||
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
|
||||||
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libalkimia is a library with common classes and functionality used by finance
|
libalkimia is a library with common classes and functionality used by finance
|
||||||
@ -93,15 +93,12 @@ cd build-qt4
|
|||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%post -n %{soname_qt4}%{sonum} -p /sbin/ldconfig
|
%post -n %{soname_qt4}%{sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{soname_qt4}%{sonum} -p /sbin/ldconfig
|
%postun -n %{soname_qt4}%{sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n %{soname_qt5}-%{sonum} -p /sbin/ldconfig
|
%post -n %{soname_qt5}-%{sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{soname_qt5}-%{sonum} -p /sbin/ldconfig
|
%postun -n %{soname_qt5}-%{sonum} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{soname_qt4}-devel
|
%files -n %{soname_qt4}-devel
|
||||||
%defattr(-,root,root,-)
|
%license COPYING.LIB
|
||||||
%dir %{_kde4_includedir}/alkimia/
|
%dir %{_kde4_includedir}/alkimia/
|
||||||
%{_kde4_includedir}/alkimia/Qt4
|
%{_kde4_includedir}/alkimia/Qt4
|
||||||
%{_kde4_libdir}/cmake/LibAlkimia-*/
|
%{_kde4_libdir}/cmake/LibAlkimia-*/
|
||||||
@ -109,19 +106,21 @@ cd ..
|
|||||||
%{_libdir}/pkgconfig/libalkimia.pc
|
%{_libdir}/pkgconfig/libalkimia.pc
|
||||||
|
|
||||||
%files -n %{soname_qt4}%{sonum}
|
%files -n %{soname_qt4}%{sonum}
|
||||||
%defattr(-,root,root,-)
|
%license COPYING.LIB
|
||||||
|
%doc README.md
|
||||||
%{_kde4_libdir}/libalkimia.so.%{sonum}*
|
%{_kde4_libdir}/libalkimia.so.%{sonum}*
|
||||||
|
|
||||||
%files -n %{soname_qt5}-devel
|
%files -n %{soname_qt5}-devel
|
||||||
%defattr(-,root,root,-)
|
%license COPYING.LIB
|
||||||
%{_kf5_cmakedir}/LibAlkimia5-*/
|
|
||||||
%dir %{_includedir}/alkimia/
|
%dir %{_includedir}/alkimia/
|
||||||
%{_includedir}/alkimia/Qt5
|
%{_includedir}/alkimia/Qt5
|
||||||
|
%{_kf5_cmakedir}/LibAlkimia5-*/
|
||||||
%{_kf5_libdir}/libalkimia5.so
|
%{_kf5_libdir}/libalkimia5.so
|
||||||
%{_libdir}/pkgconfig/libalkimia5.pc
|
%{_libdir}/pkgconfig/libalkimia5.pc
|
||||||
|
|
||||||
%files -n %{soname_qt5}-%{sonum}
|
%files -n %{soname_qt5}-%{sonum}
|
||||||
%defattr(-,root,root,-)
|
%license COPYING.LIB
|
||||||
|
%doc README.md
|
||||||
%{_kf5_libdir}/libalkimia5.so.%{sonum}*
|
%{_kf5_libdir}/libalkimia5.so.%{sonum}*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user