Name: libalkimia Summary: Financial library Version: 4.3.2 Release: 3%{?_dist_release} License: LGPLv2+ URL: http://kde-apps.org/content/show.php/libalkimia?content=137323 Group: System Environment/Libraries Source0: http://kde-apps.org/CONTENT/content-files/137323-libalkimia-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: cmake BuildRequires: gmp-devel BuildRequires: kdelibs4-devel BuildRequires: pkgconfig %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 Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: gmp-devel Requires: kdelibs4-devel Requires: pkgconfig %description devel %{summary}. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %cmake \ -DCMAKE_BUILD_TYPE=release \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ -DLIB_INSTALL_DIR:PATH=%{_libdir} \ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %check export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig test "$(pkg-config --modversion libalkimia)" = "%{version}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %{_libdir}/libalkimia.so.* %files devel %defattr(-,root,root,-) %{_includedir}/kde4/alkimia %{_libdir}/libalkimia.so %{_libdir}/pkgconfig/libalkimia.pc %{_datadir}/kde4/apps/cmake/modules/FindLibAlkimia.cmake %changelog * Sun Jul 10 2016 Yoji TOYODA 4.3.2-3 - rebuild with gcc-5.4.0 * Mon Oct 27 2014 Ryoichi INAGAKI 4.3.2-2 - added BR: cmake - added Group tag * Sun Sep 02 2012 Yoji TOYODA 4.3.2-1 - initial build for Vine Linux * Thu Jul 19 2012 Fedora Release Engineering - 4.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Feb 04 2012 Rex Dieter 4.3.2-1 - 4.3.2 * Fri Jan 13 2012 Fedora Release Engineering - 4.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Nov 02 2011 Rex Dieter 4.3.1-4 - rebuild (gmp) * Mon Aug 22 2011 Rex Dieter 4.3.1-3 - .spec cosmetics * Sat Aug 20 2011 Rex Dieter 4.3.1-2 - BR: gmp-devel - %%check : don't ignore errors * Sat Aug 06 2011 Rex Dieter 4.3.1-1 - 4.3.1 * Tue Jun 21 2011 Rex Dieter 4.3.0-1 - first try