Package speedcrunch: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | Name: speedcrunch Version: 0.12 Release: alt2 Summary: A fast power user calculator Group: Office License: GPLv2 Url: http://www.speedcrunch.org/ Source0: %name-%version.tar.gz Source1: %name.desktop BuildRequires: /usr/bin/convert cmake doxygen qt5-tools-devel %description SpeedCrunch is a fast, high precision and powerful desktop calculator. Among its distinctive features are a scrollable display, up to 50 decimal precisions, unlimited variable storage, intelligent automatic completion full keyboard-friendly and more than 15 built-in math function. %prep %setup -q %build cd src && \ cmake \ -DCMAKE_INSTALL_PREFIX=%_prefix \ -DCMAKE_SKIP_RPATH=YES \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \ -DCMAKE_C_FLAGS:STRING="%optflags" %make_build %install cd src %make DESTDIR=%buildroot install %__install -Dp -m 0644 %SOURCE1 %buildroot%_desktopdir/%name.desktop # icons %__mkdir -p %buildroot/{%_miconsdir,%_niconsdir,%_liconsdir} convert -resize 48x48 resources/%name.png %buildroot%_liconsdir/%name.png convert -resize 32x32 resources/%name.png %buildroot%_niconsdir/%name.png convert -resize 16x16 resources/%name.png %buildroot%_miconsdir/%name.png # docs cd ../doc/legacy && doxygen Doxyfile %files %doc doc/legacy/*.pdf doc/legacy/*.odt doc/legacy/*.docbook doc/legacy/html %_bindir/%name %_desktopdir/%name.desktop %_miconsdir/%name.png %_niconsdir/%name.png %_liconsdir/%name.png %changelog * Fri Sep 11 2020 Motsyo Gennadi <drool@altlinux.ru> 0.12-alt2 - bugfixes from upstream * Sun Sep 24 2017 Motsyo Gennadi <drool@altlinux.ru> 0.12-alt1 - 0.12 * Wed Jun 15 2016 Motsyo Gennadi <drool@altlinux.ru> 0.11.1-alt1 - 0.11.1 * Fri Aug 07 2015 Motsyo Gennadi <drool@altlinux.ru> 0.11-alt1.1 - fix BuildRequires * Fri Aug 07 2015 Motsyo Gennadi <drool@altlinux.ru> 0.11-alt1 - new version 0.11 (#31189) * Tue Jul 26 2011 Motsyo Gennadi <drool@altlinux.ru> 0.10.1-alt3 - build without ugly script (#25953) * Thu Nov 20 2008 Motsyo Gennadi <drool@altlinux.ru> 0.10.1-alt2 - delete post/postun scripts (new rpm) * Thu Jun 05 2008 Motsyo Gennadi <drool@altlinux.ru> 0.10.1-alt1 - new version * Wed Apr 02 2008 Motsyo Gennadi <drool@altlinux.ru> 0.10-alt1 - new version - add CMAKE_C_FLAGS * Tue Nov 27 2007 Motsyo Gennadi <drool@altlinux.ru> 0.9-alt1 - new version - build with cmake * Thu Aug 30 2007 Motsyo Gennadi <drool@altlinux.ru> 0.8-alt1 - new versuin - add desktop file * Sat Apr 14 2007 Denis Smirnov <mithraen@altlinux.ru> 0.7-alt1.beta2 - first build for Sisyphus * Mon Mar 19 2007 Motsyo Gennadi <drool@altlinux.ru> 0.7-alt0.beta2.M24.2 - fix URL of a home site * Tue Mar 13 2007 Motsyo Gennadi <drool@altlinux.ru> 0.7-alt0.beta2.M24.1 - initial build for ALT Linux (2.4 Master) * Thu Feb 22 2007 Roland Wolters <wolters.liste@gmx.net> 0.7-0.9.beta2 - bumped version due to cvs problems * Thu Feb 22 2007 Roland Wolters <wolters.liste@gmx.net> 0.7-0.4.beta2 - changed the version numbering * Thu Feb 22 2007 Roland Wolters <wolters.liste@gmx.net> 0.7-beta2.3 - Added main category to desktop file * Thu Feb 15 2007 Roland Wolters <wolters.liste@gmx.net> 0.7-beta2.2 - corrected spaces/tabs mixing in spec file - corrected end-line-encoding * Tue Feb 13 2007 Roland Wolters <wolters.liste@gmx.net> 0.7-beta2.1 - initial build |