Name: libalkimia Summary: Financial library Version: 4.3.2 Release: 1%{?_dist_release} License: LGPLv2+ URL: http://kde-apps.org/content/show.php/libalkimia?content=137323 Source0: http://kde-apps.org/CONTENT/content-files/137323-libalkimia-%{version}.tar.bz2 BuildRequires: gmp-devel BuildRequires: kdelibs4-devel %description %{summary} %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: kdelibs4-devel %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 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