2024-01-06 03:45:25 +01:00
|
|
|
Name: libalkimia
|
2024-01-06 03:45:25 +01:00
|
|
|
Version: 8.0.3
|
2024-01-06 03:45:25 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 03:45:25 +01:00
|
|
|
Summary: A library with common classes and functionality used by finance applications
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
|
|
URL: http://kde-apps.org/content/show.php/libalkimia?content=137323
|
2024-01-06 03:45:25 +01:00
|
|
|
Source: https://download.kde.org/stable/alkimia/%{version}/alkimia-%{version}.tar.xz
|
2024-01-06 03:45:25 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgmp-devel
|
2024-01-06 03:45:25 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-06 03:45:25 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libgmp-cxx-devel
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
libalkimia is a library with common classes and functionality used by finance applications for the KDE SC.
|
|
|
|
|
|
|
|
Currently it supports a common class to represent monetary values with arbitrary precision.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 03:45:25 +01:00
|
|
|
Requires: pkg-config
|
2024-01-06 03:45:25 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
%package tools
|
|
|
|
Group: Graphical Desktop/Applications/Scientific
|
|
|
|
Summary: Tools for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
2024-01-06 03:45:25 +01:00
|
|
|
%setup -q -n alkimia-%{version}
|
2024-01-06 03:45:25 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 03:45:25 +01:00
|
|
|
%cmake_kde5 -d build \
|
2024-01-06 03:45:25 +01:00
|
|
|
-DQT_QMAKE_EXECUTABLE=qmake-qt5 \
|
|
|
|
-DSHARE_INSTALL_DIR=%{_datadir}
|
2024-01-06 03:45:25 +01:00
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
#install -d -m0755 %{buildroot}%{_datadir}/cmake/Modules
|
|
|
|
#mv %{buildroot}%{_datadir}/apps/cmake/modules/FindLibAlkimia.cmake %{buildroot}%{_datadir}/cmake/Modules/FindLibAlkimia.cmake
|
2024-01-06 03:45:25 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:45:25 +01:00
|
|
|
%{_libdir}/libalkimia5.so.*
|
2024-01-06 03:45:25 +01:00
|
|
|
%dir %{_libdir}/qt5/qml/org/kde/alkimia
|
|
|
|
%{_libdir}/qt5/qml/org/kde/alkimia/*
|
2024-01-06 03:45:25 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/alkimia
|
2024-01-06 03:45:25 +01:00
|
|
|
%dir %{_includedir}/alkimia/Qt5
|
|
|
|
%dir %{_includedir}/alkimia/Qt5/alkimia
|
|
|
|
%{_includedir}/alkimia/Qt5/alkimia/*.h
|
|
|
|
%{_libdir}/libalkimia5.so
|
|
|
|
%{_libdir}/pkgconfig/libalkimia5.pc
|
|
|
|
%dir %{_libdir}/cmake/LibAlkimia5-*
|
|
|
|
%{_libdir}/cmake/LibAlkimia5-*/*.cmake
|
2024-01-06 03:45:25 +01:00
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
%files tools -f %{name}5_qt.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/xdg/alkimia-quotes.knsrc
|
|
|
|
%{_sysconfdir}/xdg/kmymoney-quotes.knsrc
|
|
|
|
%{_sysconfdir}/xdg/skrooge-quotes.knsrc
|
2024-01-06 03:45:25 +01:00
|
|
|
%{_bindir}/onlinequoteseditor5
|
|
|
|
%{_datadir}/applications/org.kde.onlinequoteseditor5.desktop
|
2024-01-06 03:45:25 +01:00
|
|
|
%{_datadir}/alkimia5/misc/financequote.pl
|
|
|
|
%{_datadir}/kservices5/plasma-applet-org.wincak.foreigncurrencies2.desktop
|
|
|
|
%{_datadir}/metainfo/org.wincak.foreigncurrencies2.appdata.xml
|
|
|
|
%dir %{_datadir}/plasma/plasmoids/org.wincak.foreigncurrencies2
|
|
|
|
%{_datadir}/plasma/plasmoids/org.wincak.foreigncurrencies2/*
|
2024-01-06 03:45:25 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/onlinequoteseditor5.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/onlinequoteseditor5.svgz
|
2024-01-06 03:45:25 +01:00
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
%changelog
|
2024-01-06 03:45:25 +01:00
|
|
|
* Fri Feb 14 2020 Automatic Build System <autodist@mambasoft.it> 8.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 8.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
* Sun May 26 2019 Automatic Build System <autodist@mambasoft.it> 8.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
* Sun Jul 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.2-1mamba
|
|
|
|
- update to 7.0.2
|
|
|
|
|
|
|
|
* Sat Mar 24 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0.1-1mamba
|
|
|
|
- update to 7.0.1
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-1mamba
|
|
|
|
- update to 5.0.0
|
|
|
|
|
2024-01-06 03:45:25 +01:00
|
|
|
* Mon Dec 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-3mamba
|
|
|
|
- fixed installation path of cmake module
|
|
|
|
|
|
|
|
* Mon Oct 15 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-2mamba
|
|
|
|
- rebuild in %{_prefix} as it doesn't depend on kde libs and should fix kmymoney build
|
|
|
|
|
|
|
|
* Sat Aug 18 2012 Automatic Build System <autodist@mambasoft.it> 4.3.2-1mamba
|
|
|
|
- package created by autospec
|