Package tuxmath: 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 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | Name: tuxmath Group: Games/Other Version: 2.0.3 Release: alt5 Summary: Educational math tutor for children License: GPLv3 AND CC-BY-SA-3.0 AND OFL-1.1 Url: https://github.com/tux4kids/tuxmath Source0: %{name}-%version.tar Source1: %name.appdata.xml Patch0: tuxmath-update-russian-po.patch BuildRequires: gcc-c++ libxml2-devel pkgconfig(cairo) BuildRequires: desktop-file-utils libappstream-glib BuildRequires: libSDL-devel BuildRequires: libSDL_image-devel BuildRequires: libSDL_mixer-devel BuildRequires: libSDL_pango-devel BuildRequires: libSDL_net-devel BuildRequires: librsvg-devel librsvg-gir-devel BuildRequires: t4k_common-devel Requires: icon-theme-hicolor %description TuxMath is an educational math tutor for children. It features several different types of gameplay, at a variety of difficulty levels. %prep %setup %patch0 -p1 %build %autoreconf %configure %make_build %install %makeinstall_std %find_lang %name desktop-file-install --vendor="" \ --dir $RPM_BUILD_ROOT%_datadir/applications %name.desktop mkdir -p $RPM_BUILD_ROOT%_datadir/icons/hicolor/48x48/apps install -p -m 644 data/images/icons/icon.png \ $RPM_BUILD_ROOT%_datadir/icons/hicolor/48x48/apps/%name.png mkdir -p $RPM_BUILD_ROOT%_datadir/icons/hicolor/scalable/apps install -p -m 644 data/images/icons/tuxmath.svg \ $RPM_BUILD_ROOT%_datadir/icons/hicolor/scalable/apps mkdir -p $RPM_BUILD_ROOT%_datadir/appdata install -p -m 644 %SOURCE1 $RPM_BUILD_ROOT%_datadir/appdata appstream-util validate-relax --nonet \ $RPM_BUILD_ROOT%_datadir/appdata/%name.appdata.xml %files -f %name.lang %_docdir/%name %_bindir/%{name}* %_bindir/generate_lesson %dir %_datadir/%name %_datadir/%name/* %_datadir/appdata/%name.appdata.xml %_datadir/applications/%name.desktop %_datadir/icons/hicolor/48x48/apps/%name.png %_datadir/icons/hicolor/scalable/apps/%name.svg %changelog * Fri Dec 20 2019 Anton Farygin <rider@altlinux.ru> 2.0.3-alt5 - applied another russian translation update * Tue Dec 17 2019 Anton Farygin <rider@altlinux.ru> 2.0.3-alt4 - updated russian translation (closes: #26117) * Tue Dec 10 2019 Anton Farygin <rider@altlinux.ru> 2.0.3-alt3 - built from upstream git * Tue Dec 10 2019 Ivan A. Melnikov <iv@altlinux.org> 2.0.3-alt2_5 - fix segfault in factoroids (closes: #34297) * Sun Feb 17 2019 Igor Vlasenko <viy@altlinux.ru> 2.0.3-alt1_5 - fixed build (closes: #221688) * Sat Feb 03 2018 Igor Vlasenko <viy@altlinux.ru> 2.0.3-alt1_2 - update to new release by fcimport * Sat Nov 18 2017 Igor Vlasenko <viy@altlinux.ru> 2.0.3-alt1_1 - new version * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_14 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_12 - update to new release by fcimport * Wed Feb 17 2016 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_11 - update to new release by fcimport * Mon Oct 19 2015 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_9 - update to new release by fcimport * Wed Aug 27 2014 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_7 - update to new release by fcimport * Tue Jul 01 2014 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_6 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_5 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_4 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_3 - update to new release by fcimport * Fri Mar 02 2012 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt2_2 - rebuild with fixed sourcedep analyser (#27020) * Sat Jan 21 2012 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt1_2 - update to new release by fcimport * Fri Oct 28 2011 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt1_1 - use fedora versions * Tue Aug 16 2011 Igor Vlasenko <viy@altlinux.ru> 2.0.1-alt1_0 - new version; manual update (#26080); note the patch * Mon Apr 11 2011 Igor Vlasenko <viy@altlinux.ru> 1.8.0-alt2_2 - rebuild with new librsvg * Wed Feb 16 2011 Igor Vlasenko <viy@altlinux.ru> 1.8.0-alt1_2 - converted from Fedora by srpmconvert script |