Package kanatest: 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 | Group: Games/Other # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %{_var} %global git_snapshot 1 %if 0%{?git_snapshot} %global git_rev 19dd1a7df9e1cd1c72a47b091ffeac5c0eabb354 %global git_date 20170810 %global git_short %(echo %{git_rev} | cut -c-8) %global git_version D%{git_date}git%{git_short} %endif %global mainver 0.4.10 %global mainrel 0.1 Name: kanatest Version: %{mainver} Release: alt1_%{mainrel}%{?git_version:.%{?git_version}}.6 Summary: Hiragana and Katakana drill tool License: GPLv2+ URL: http://clayo.org/kanatest/ %if 0%{?git_snapshot} Source0: %{name}-%{version}-%{?git_version}.tar.bz2 %else Source0: http://clayo.org/kanatest/%{name}-%{version}.tar.gz %endif # Shell script to create tarball from git scm Source100: create-tarball-from-git.sh BuildRequires: desktop-file-utils >= 0.9 BuildRequires: libgtk+2-devel >= 2.0 BuildRequires: libxml2-devel BuildRequires: gettext gettext-tools %if 0%{?git_snapshot} BuildRequires: automake BuildRequires: libtool %endif Requires: fontlang(ja) Requires: icon-theme-hicolor Source44: import.info %description Kanatest is a simple, GTK 2-based kana drill tool. It offers three drill modes: hiragana, katakana, and mixed mode. The tester shows random kana characters and waits until you enter the romaji equivalent in an entry field. At the end, statistics are provided %prep %setup -q %{?git_version:-n %{name}-%{version}-%{?git_version}} sed -i \ src/Makefile.in \ %if 0%{?git_snapshot} src/Makefile.am \ %endif -e 's|DISABLE_DEPRECATED|ENABLE_DEPRECATED|g' %build %if 0%{?git_snapshot} bash autogen.sh %endif export PLATFORM_CFLAGS="$RPM_OPT_FLAGS -Werror-implicit-function-declaration" %configure %make_build %install make install DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %files -f %{name}.lang %doc README COPYING ChangeLog %{_bindir}/kanatest %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/kanatest.png %{_datadir}/icons/hicolor/16x16/apps/* %{_datadir}/icons/hicolor/22x22/apps/* %{_datadir}/icons/hicolor/24x24/apps/* %{_datadir}/icons/hicolor/32x32/apps/* %{_datadir}/icons/hicolor/48x48/apps/* %{_datadir}/icons/hicolor/scalable/apps/* %changelog * Tue Nov 24 2020 Igor Vlasenko <viy@altlinux.ru> 0.4.10-alt1_0.1.D20170810git19dd1a7d.6 - updated buildrequires * Sat Nov 18 2017 Igor Vlasenko <viy@altlinux.ru> 0.4.10-alt1_0.1.D20170810git19dd1a7d - new version * Wed Sep 27 2017 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_21 - update to new release by fcimport * Thu Mar 16 2017 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_19 - update to new release by fcimport * Tue Mar 29 2016 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_18 - update to new release by fcimport * Tue Feb 16 2016 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_17 - update to new release by fcimport * Sun Sep 20 2015 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_15 - update to new release by fcimport * Mon Aug 12 2013 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_11 - update to new release by fcimport * Fri Feb 22 2013 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_10 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_9 - update to new release by fcimport * Fri Mar 02 2012 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt2_8 - rebuild with fixed sourcedep analyser (#27020) * Wed Feb 01 2012 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt1_8 - update to new release by fcimport * Sat Dec 10 2011 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt1_7 - update to new release by fcimport * Tue Aug 23 2011 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt1_6 - update to new release by fcimport * Fri Jul 01 2011 Igor Vlasenko <viy@altlinux.ru> 0.4.8-alt1_5 - initial release by fcimport |