Name: abakus Version: 0.92 Release: 7%{?dist} Summary: The simple KDE calculator License: GPLv2+ URL: http://purinchu.net/abakus Source0: http://purinchu.net/%{name}/%{name}-%{version}.tar.bz2 BuildRequires: bison BuildRequires: cmake BuildRequires: desktop-file-utils BuildRequires: flex BuildRequires: kdelibs4-devel BuildRequires: qt4-devel %description Abakus is a simple calculator for KDE, based on a concept of Roberto Alsina's. Think of it as bc (the command-line calculator) with a nice GUI. %prep %setup -q %build %cmake %install make install DESTDIR=%{buildroot} %check desktop-file-validate %{buildroot}%{_datadir}/applications/kde4/%{name}.desktop %post touch --no-create %{_iconsdir}/hicolor &> /dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_iconsdir}/hicolor &> /dev/null gtk-update-icon-cache %{_iconsdir}/hicolor &> /dev/null || : fi %posttrans gtk-update-icon-cache %{_iconsdir}/hicolor &> /dev/null || : %files %doc AUTHORS COPYING README %{_bindir}/%{name} %{_datadir}/icons/hicolor/*x*/apps/*.png %{_datadir}/applications/kde4/*.desktop %{_kde4_appsdir}/%{name}/ %changelog * Wed Feb 03 2016 Fedora Release Engineering - 0.92-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jun 16 2015 Fedora Release Engineering - 0.92-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.92-5 - Rebuilt for GCC 5 C++11 ABI change * Fri Aug 15 2014 Fedora Release Engineering - 0.92-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 0.92-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Jul 31 2013 Christopher Meng - 0.92-2 - Fix the license. * Sun Jan 27 2013 Christopher Meng - 0.92-1 - Initial Package.