update to 5.0.0 [release 5.0.0-1mamba;Fri May 20 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 03:45:25 +01:00
parent b377d44ff6
commit c5f0d52247

View File

@ -1,19 +1,19 @@
Name: libalkimia Name: libalkimia
Version: 4.3.2 Version: 5.0.0
Release: 3mamba Release: 1mamba
Summary: A library with common classes and functionality used by finance applications Summary: A library with common classes and functionality used by finance applications
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://kde-apps.org/content/show.php/libalkimia?content=137323 URL: http://kde-apps.org/content/show.php/libalkimia?content=137323
Source: http://kde-apps.org/CONTENT/content-files/137323-libalkimia-%{version}.tar.bz2 Source: https://ftp.heanet.ie/mirrors/ftp.kde.org/stable/alkimia/%{version}/src/libalkimia-%{version}.tar.xz
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc BuildRequires: libgcc
BuildRequires: libgmp-devel BuildRequires: libgmp-devel
BuildRequires: libqt4-devel BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: pkg-config BuildRequires: pkg-config
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
@ -30,8 +30,7 @@ Currently it supports a common class to represent monetary values with arbitrary
Group: Development/Libraries Group: Development/Libraries
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
## note: you can add this requirement if .pc files are provided by this package Requires: pkg-config
#Requires: pkg-config
%description devel %description devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
@ -42,15 +41,17 @@ This package contains libraries and header files for developing applications tha
%setup -q %setup -q
%build %build
%cmake -d build %cmake_kde5 -d build \
-DQT_QMAKE_EXECUTABLE=qmake-qt5
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
install -d -m0755 %{buildroot}%{_datadir}/cmake/Modules #install -d -m0755 %{buildroot}%{_datadir}/cmake/Modules
mv %{buildroot}%{_datadir}/apps/cmake/modules/FindLibAlkimia.cmake %{buildroot}%{_datadir}/cmake/Modules/FindLibAlkimia.cmake #mv %{buildroot}%{_datadir}/apps/cmake/modules/FindLibAlkimia.cmake %{buildroot}%{_datadir}/cmake/Modules/FindLibAlkimia.cmake
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -68,9 +69,12 @@ mv %{buildroot}%{_datadir}/apps/cmake/modules/FindLibAlkimia.cmake %{buildroot}%
%{_includedir}/alkimia/*.h %{_includedir}/alkimia/*.h
%{_libdir}/libalkimia.so %{_libdir}/libalkimia.so
%{_libdir}/pkgconfig/libalkimia.pc %{_libdir}/pkgconfig/libalkimia.pc
%{_datadir}/cmake/Modules/FindLibAlkimia.cmake %{_libdir}/cmake/LibAlkimia/LibAlkimia*.cmake
%changelog %changelog
* Fri May 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.0-1mamba
- update to 5.0.0
* Mon Dec 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-3mamba * Mon Dec 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.2-3mamba
- fixed installation path of cmake module - fixed installation path of cmake module